URI
<geometryInterpolationDensity_uri>/{geometryInterpolationDensityResultID}[.<format>]
Supported methods
Parent resource
Introduction
The geometryInterpolationDensityResult resource used to get density interpolation result.
Supported Methods:
- GET: Gets density interpolation result.
- HEAD: Checks if the geometryInterpolationDensityResult resource exists, or if there is permission to access the geometryInterpolationDensityResult resource.
Supported output formats: rjson, json, html, xml.
Resource hierarchy
HTTP request methods
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/interpolation/density/fvmhhtsg_1a6cc036e1244c339cc8a93aced4235e.rjson
GET request
Gets density interpolation result.
Response structure
The response code would be 200 in a normal situation.
Field | Type | Description |
succeed | boolean | Whether the interpolation analysis is successful. |
message |
String | The message returned while the interpolation analysis failed. |
dataset | String | The identifier of the result dataset. |
recordset | Recordset | The result recordset used to store spatial object information. |
Response example
Suppose we implement the GET request on the result resource for implementing the POST request on the geometryInterpolationDensity resource, http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry/interpolation/density/fvmhhtsg_1a6cc036e1244c339cc8a93aced4235e.rjson, the rjson format result representation would be as follows:
{
"dataset": "density2@Interpolation",
"message": null,
"recordset": null,
"succeed": true
}
HEAD request
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.
HEAD request can be used to check if the geometryInterpolationDensityResult resource exists, or if the geometryInterpolationDensityResult resource can be accessed by clients. It can also determine if the geometryInterpolationDensityResult resource supports an output format <format> if performed on a URI with .<format> included.