iServer 7C Interface Changes

Feedback


Java API Changes

Package Class/Interface Field/Method/Property/Event Note
com.supermap.services.components Map String getUTFGrid(int, String, MapParameter) throws MapException New interfaces
JSONObject getUTFGrid(UTFGridParameter) throws MapException Parameter changes, and returns the result changes
VectorTile getVectorTile(VectorTileParameter) throws MapException New interfaces
com.supermap.services.providers UGCMapProvider public QueryResult findNearest(String, Geometry, double, QueryParameterSet) Returns the result changes
public QueryResult queryByDistance(String, Geometry, double, QueryParameterSet) Returns the result changes
public QueryResult queryByBounds(String, Rectangle2D, QueryParameterSet) Returns the result changes
public QueryResult queryByGeometry(String, Geometry, SpatialQueryMode, QueryParameterSet) Returns the result changes
com.supermap.services.components.commontypes PixelFormat   Enumeration changes
GenerateSpatialDataParameter retainedFields New fields
TransportationAnalystResultSetting Modifies the default value of the field. By default only returns the travel guide, no other fields Modifies the default value of the field

REST API Changes

Module Resource Name Resources / parameters / request / presentation Note
map module utfGrid   New resources
encode the interactive geodata into the space-saving data slices.
map module queryResults

 

Changing resources

1. Units of maxDistance of findNearest and distance of queryByDistance are same with that of map coordinates;

2. If the map is set up with the dynamic projection, the projection coordinate system of Bounds returned from QueryResult is identical to that of map; If the map is not set up with the dynamic projection, the projection coordinate system of Bounds returned from QueryResult is identical to that of dataset where the query results exist.

map module tileFeature   New resources
get the vector slices of the map.
spatialAnalyst module generateSpatialData   Request body parameter changes
request body parameter GenerateSpatialDataPostParameter adding field retainedFields.
Administration module fileList   New resources
get the list of the specified-type files under the specified path and the folder list of the current directory.
Administration module fileMD5   New resources
get the MD5 checksum of the specified file in the file list.
Administration module uploadTasks   New resources
get the list of all the uploading files, as well as create a file upload task resource uploadTask.
Administration module uploadTask   New resources
file upload task resource.