<spatialAnalyst_uri>/geometry[.<format>]
geometryBufferResults, geometryOverlayResults, geometryIsolineResults, geometryIsoregionResults, geometryThiessenPolygonResults, routeCalculateMeasureResults, routeLocatorResults, geometryInterpolation, relativePosition3D, geometryMinDistanceResults
The root resources for the spatial analysis on geometry.
Supported methods:
Supported output formats: rjson, json, html, xml.
Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry.rjson
Returns child resources, that is, the list for the spatial analysis methods supported.
Normal response code(s): 201. The response parameters are as follows:
Field | Type | Description |
name | string | The name of the spatial analysis function. |
path | string | The access path for the spatial analysis function. |
Implement the GET request on http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry.rjson and you will get the respons in rjson format, as shown below:
{
[{
"name": "buffer",
"path": "http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry/buffer",
"supportedMediaTypes": null,
"resourceType": null
},
{
"name": "overlay",
"path": "http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry/overlay",
"supportedMediaTypes": null,
"resourceType": null
}]
}
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
The HEAD request helps check the existence of the geometry resource and whether it can be accessed by the client. By implementing the HEAD request on the URI, with .<format> appended to the end, we can quickly get to know whether the geometry resource supports the representation in <format> or not.