<geometryThiessennResults_uri>/thiessenpolygon/{geometryThiessenPolygonResultID}[.<format>]
geometryThiessenPolygonResults
Create the result resource of Thiessen polygon.
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/thiessenpolygon/n8zmmavh_36ccd0a04b3b40399a0627ee0fb6ff0f.rjson
Return the description information of the Thiessen polygon created.
Field | Type | Description |
datasetName | String | The Thiessen polygon dataset name created. |
datasourceName | String | The datasource name. |
regions | Point2D[] | The polygon region array get by analysis. |
Implement the GET request on http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/geometry/thiessenpolygon/n8zmmavh_36ccd0a04b3b40399a0627ee0fb6ff0f.rjson and you will get the representation in rjson format, as shown below:
{
"datasetName": null,
"datasourceName": null,
"regions": [
{
"center": {
"x": 13.009288861053733,
"y": 75.06070342814624
},
"id": 1,
"parts": [5],
"points": [
{
"x": 14.503183555956955,
"y": 50.121406856292495
},
{
"x": 0,
"y": 51.26497232273451
},
{
"x": 0,
"y": 100
},
{
"x": 37.533971888257994,
"y": 100
},
{
"x": 14.503183555956955,
"y": 50.121406856292495
}
],
"style": null,
"type": "REGION"
},
{
"center": {
"x": 8.828889753975085,
"y": 43.00578581747521
},
"id": 2,
"parts": [5],
"points": [
{
"x": 14.503183555956955,
"y": 50.121406856292495
},
{
"x": 17.855382285737367,
"y": 42.560065825327555
},
{
"x": 0,
"y": 34.746599312215906
},
{
"x": 0,
"y": 51.26497232273451
},
{
"x": 14.503183555956955,
"y": 50.121406856292495
}
],
"style": null,
"type": "REGION"
},
{
"center": {
"x": 36.867585791868564,
"y": 64.73065755693459
},
"id": 3,
"parts": [7],
"points": [
{
"x": 57.67926506572063,
"y": 34.76058721324454
},
{
"x": 56.49452340771155,
"y": 29.461315113869173
},
{
"x": 17.855382285737367,
"y": 42.560065825327555
},
{
"x": 14.503183555956955,
"y": 50.121406856292495
},
{
"x": 37.533971888257994,
"y": 100
},
{
"x": 46.37524621152552,
"y": 100
},
{
"x": 57.67926506572063,
"y": 34.76058721324454
}
],
"style": null,
"type": "REGION"
},
{
"center": {
"x": 28.174712218881393,
"y": 21.280032912663778
},
"id": 4,
"parts": [6],
"points": [
{
"x": 56.49452340771155,
"y": 29.461315113869173
},
{
"x": 55.97201283159079,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 34.746599312215906
},
{
"x": 17.855382285737367,
"y": 42.560065825327555
},
{
"x": 56.49452340771155,
"y": 29.461315113869173
}
],
"style": null,
"type": "REGION"
},
{
"center": {
"x": 78.20909182508353,
"y": 25.156962713135517
},
"id": 5,
"parts": [6],
"points": [
{
"x": 100,
"y": 0
},
{
"x": 55.97201283159079,
"y": 0
},
{
"x": 56.49452340771155,
"y": 29.461315113869173
},
{
"x": 57.67926506572063,
"y": 34.76058721324454
},
{
"x": 100,
"y": 50.313925426271034
},
{
"x": 100,
"y": 0
}
],
"style": null,
"type": "REGION"
},
{
"center": {
"x": 76.01362781931154,
"y": 67.38029360662227
},
"id": 6,
"parts": [5],
"points": [
{
"x": 100,
"y": 50.313925426271034
},
{
"x": 57.67926506572063,
"y": 34.76058721324454
},
{
"x": 46.37524621152552,
"y": 100
},
{
"x": 100,
"y": 100
},
{
"x": 100,
"y": 50.313925426271034
}
],
"style": null,
"type": "REGION"
}
]
}
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 geometryThiessenPolygonResult resource exists, or if the resource can be accessed by clients. It can also determine if the geometryThiessenPolygonResult resource supports an output format <format> if performed on a URI with .<format> included.