URI
<geometryInterpolationIDW_uri>/{geometryInterpolationIDWResultID}[.<format>]
Supported methods
Parent resource
Introduction
The interpolationIDWResult resource used to get an IDW interpolation result.
Supported Methods:
- GET: Gets an IDW interpolation result.
- HEAD: Checks if the geometryInterpolationIDWResult resource exists, or if there is permission to access the geometryInterpolationIDWResult 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/idw/fvmhhtsg_2280a5bea4d243a18bdea1dc350be611.rjson
GET request
Gets an IDW 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 of implementing the POST request on the geometryInterpolationIDW resource: http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry/interpolation/idw/fvmhhtsg_2280a5bea4d243a18bdea1dc350be611.rjson, the returned rjosn format representation would be as follows:
{
"dataset": "idw@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 geometryInterpolationIDWResult resource exists, or if the geometryInterpolationIDWResult resource can be accessed by clients. It can also determine if the geometryInterpolationIDWResult resource supports an output format <format> if performed on a URI with .<format> included.