URL:
https://<root>/<serviceName>/VectorTileServer/tilemap
Methods:
GET
Version Introduced:
10.4

Description

The tilemap resource describes a quadtree of tiles and can be used to avoid requesting tiles that don't exist in the server. Each node of the tree has an associated tile. The root node (lod 0) covers the entire extent of the data. Children are identified by their position with NW, NE, SW, and SE. Tiles are identified by lod/h/v, where h and v are indexes on a 2^lod by 2^lod grid. These values are derived from the position in the tree. The tree has a variable depth. A node doesn’t have children if the complexity of the data in the associated tile is below a threshold. This threshold is based on a combination of number of features, attributes, and vertices.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Note: This is an example URL only and is not an active link to an existing attachment.

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/rest/services/Hosted/World/VectorTileServer/tilemap?f=pjson

JSON Response syntax

In the syntax, each <node> value represents NW, NE, SW, SE, in order:

Use dark colors for code blocksCopy
1
{"index":[<node>,<node>,<node>,<node>]}

Each entry has a possible value:

  • 1: tile with no children (referred to as a leaf tile)
  • 0: no tile (because there's no data here, so the tile file does not exist)
  • 2: subtree defined in a different index file (to mitigate the index being too large)

The <node> values may be represented as a single value from the list above, or an array of values from the list above.

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "index": [
    [1,0,1,1],
    0,
    0,
    0
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.