ArcGIS REST 服务资源支持表 |
SuperMap iServer 高级版、SuperMap iEdge 均提供 ArcGIS REST 服务接口,支持将多种服务来源发布为 ArcGIS REST Map,ArcGIS REST Feature ,ArcGIS REST Geometry 和 ArcGIS REST Network 服务。 您可以参考服务接口层的配置,了解如何配置使用 ArcGIS REST 服务接口。
iServer、iEdge 对 ArcGIS REST 服务的资源、参数支持情况,以及发布的服务示例 URL如下表所示。
资源名称 | 资源描述 | 示例URL | 支持参数 |
mapService | 地图资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer | f(json,pjson) |
exportMap | 动态出图 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/export | f(json,pjson),bbox,bboxSR,size,imageSR,transparent,format(png,bmp,jpg,gif) |
identify | 识别地图中与传入几何要素相交的要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/identify | f(json,pjson),geometry,geometryType,sr,layers,tolerance,mapExtent,imageDisplay,returnGeometry |
find | 针对地图或地图中一个或多个图层进行属性查询 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/find | f(json,pjson),searchText,contains,searchFields,sr,layers,returnGeometry |
mapTile | 瓦片出图 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/tile/{level}/{row}/{column} | f(json,pjson) |
layer | 图层资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/{layerID} | f(json,pjson) |
legend | 图例资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/legend | f(json,pjson),size |
query |
指定图层的空间和属性查询 |
http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{mapName}/MapServer/{layerID}/query | f(json,pjson), geometry,geometryType,inSR,inSR, spatialRel,where,objectIds, outFields,outSR,returnGeometry,returnIdsOnly,orderByFields |
注:工作空间发布为 ArcGIS REST 地图服务后支持以上所有的接口。而 ArcGIS REST 地图服务通过 iServer 再次发布为 ArcGIS REST 地图服务后,仅支持 exportMap、legend 接口。
资源名称 | 资源描述 | 示例URL | 支持参数 |
featureService | 要素资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer | f(json,pjson) |
applyEdits(feature Service) | 要素编辑。同时编辑不同图层中的要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/applyedits | f(json,pjson),edits |
query(feature Service) | 要素查询。查询结果返回所有图层及其包含的要素信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/query | f(json,pjson),layerDefs,geometry,geometryType,inSR,spatialRel,outSR,returnGeometry,returnIdsOnly, returnCountOnly, |
layer | 指定ID的图层信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID} | f(json,pjson) |
query(feature Service/layer) | 查询指定图层中包含的要素信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/query | f(json,pjson),where,objectIds,geometry,geometryType,inSR,spatialRel,outSR,outFields,returnGeometry ,returnIdsOnly, returnCountOnly,returnExtentOnly,orderByFields,groupByFieldsForStatistics, outStatistics |
applyEdits(feature Service/layer) | 编辑指定图层中的要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/applyedits | f(json,pjson), adds, updates, deletes |
addFeatures | 在指定图层中添加要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/addFeatures | f(json,pjson), features |
updateFeatures | 在指定图层中更新要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/updateFeatures | f(json,pjson), features |
deleteFeatures | 在指定图层中删除要素 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/deleteFeatures | f(json,pjson),where,objectIds,geometry,geometryType,inSR,spatialRel |
feature | 指定的要素信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{datasourceName}/FeatureServer/{layerID}/{featureID} | f(json,pjson) |
资源名称 | 资源描述 | 示例URL | 支持参数 |
networkService | 网络分析服务基本信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{networkdataName}/NAServer | f(json,pjson) |
networkLayer | 网络分析图层信息 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{networkdataName}/NAServer/{layerName} | |
solveRoute | 最佳路径分析 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{networkdataName}/NAServer/{routeLayerName}/solve | f(json,pjson),stops |
solveClosestFacility | 最近设施分析 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{networkdataName}/NAServer/{closestFacilityLayerName}/solveClosestFacility | incidents,facilities,defaultTargetFacilityCount,Travel Direction,defaultCutOff |
solveServiceArea | 服务区分析 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/{networkdataName}/NAServer/{serviceAreaLayerName}/solveServiceArea | facilities,defaultBreaks,travelDirection,mergeSimlarPolygonRanges |
资源名称 | 资源描述 | 示例URL | 支持参数 |
geometryService | 几何运算资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer | f(json,pjson) |
areasAndLengths | 面积和长度资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/areasAndLengths | f(json,pjson),polygons,sr,lengthUnit,areaUnit,calculationType |
buffer | 缓冲资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/buffer | f(json,pjson),geometries,inSR,outSR,bufferSR,distances,unionResults,unit |
difference | 差运算资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/difference | f(json,pjson),geometries,geometry |
intersect | 相交资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/intersect | f(json,pjson),geometries,geometry |
labelPoints | 标记点资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/labelPoints | f(json,pjson),polygons |
project | 投影资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/project | f(json,pjson),geometries,inSR,outSR |
union | 并集资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/union | f(json,pjson),geometries,geometry |
lengths | 长度量算 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/lengths | f(json,pjson),polylines,sr,lengthUnit,calculationType |
densify | 致密化 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/densify | f(json,pjson),geometries,sr,maxSegmentLength,lengthUnit |
distance | 距离量算 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/distance | f(json,pjson),geometry1,geometry2,sr,distanceUnit |
convexHull | 计算凸包 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/convexHull | f(json,pjson),geometries |
generalize | 概括资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/generalize | f(json,pjson),geometries,sr,maxDeviation,deviationUnit |
simplify | 简化资源 | http://supermapiserver:8090/iserver/services/{component}/arcgisrest/Geometry/GeometryServer/simplify | f(json,pjson),geometries |