URI
<blankRegions uri>/marked[.<format>]
Supported methods
Parent resource
Introduction
Lists all marked blank region information list of the specified tile task.
Supported Methods:
- GET: Gets all marked blank region information list of the specified tile task.
- HEAD: Checks whether the markedBlankRegions resource exists, or whether it can be accessed.
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/manager/tileservice/jobs/7d59376f-f47a-405b-9862-41ac160b8f23/blankregions/marked.rjson
GET request
Gets all marked blank region information list of the specified tile task. The request parameters must be placed in URI.
Request parameter
| Name | Type | Description |
| scale | double | [Required] The display scale of the map. |
| fromIndex | int | [Optional] Returned starting index of the query result. |
| toIndex | int | 【Optional】 Returned ending index of the query result. |
Response structure
The returned result for implementing the GET request on the markedBlankRegions resource is as follows:
| Field | Type | Description |
| blankRegionId | String | The ID of the marked blank region. |
| center | Point2D | The center point for map display. |
| id | int | The ID of the geometric object. |
| markType | MarkType | The type of the marked blank region. INVALID indicates blank regions. |
| parts | int[] | The numbers of vertices contained by child objects of the geometric object. |
| points | Point2D[] | The array of 2D coordinates of vertices composing the geometric object. |
| style | Style | The style of the geometry object. |
| type | GeometryType | The type of the geometry object. |
Response example
The returned rjson format representation after implementing the GET request on the markedBlankRegions resource http://localhost:8090/iserver/manager/tileservice/jobs/7d59376f-f47a-405b-9862-41ac160b8f23/blankregions/marked.rjson?scale=8.333333333333333e-7&fromIndex=0&toIndex=5 is as follows:
[
{
"blankRegionId": "cc2cc41a-4b0d-438d-8772-9197f7d8b739",
"center": {
"x": 64.60047208233620,
"y": -77.93465247443980
},
"id": 0,
"markType": "INVALID",
"parts": [
372,
5
],
"points": [
{
"x": 52.187910812486300,
"y": -66.25224186752230
},
{
"x": 55.83866412714810,
"y": -66.25224186752230
},
{
"x": 55.83866412714810,
"y": -66.9823925304546
},
{
"x": 114.25071716173600,
"y": -66.9823925304546
},
{
"x": 127.39342909451800,
"y": -66.9823925304546
},
{
"x": 127.39342909451800,
"y": -67.71254319338690
},
{
"x": 0.347213744289709,
"y": -71.36329650804870
},
{
"x": 35.39444556504240,
"y": -69.902995182184
},
{
"x": 37.584897553839400,
"y": -69.902995182184
},
],
"style": null,
"type": "REGION"
},
{
"blankRegionId": "e6f86b92-7718-4bb7-b4f3-ae85a22f51be",
"center": {
"x": 124.83790177425500,
"y": 58.238446162442900
},
"id": 0,
"markType": "INVALID",
"parts": [5],
"points": [
{
"x": 124.4728264427890,
"y": 57.87337083097670
},
{
"x": 124.4728264427890,
"y": 58.60352149390910
},
{
"x": 125.20297710572100,
"y": 58.60352149390910
},
{
"x": 125.20297710572100,
"y": 57.87337083097670
},
{
"x": 124.4728264427890,
"y": 57.87337083097670
}
],
"style": null,
"type": "REGION"
}
]
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 markedBlankRegions resource exists, or if the markedBlankRegions resource can be accessed by clients. It can also determine if the markedBlankRegions resource supports an output format <format> if performed on a URI with .<format> included.