GetCapabilities request HTTP KVP encoding GetCapabilities request HTTP KVP encoding example

Copyright © 2010 Open Geospatial Consortium Inc. 51 ows:Operation ...

8.2 GetTile

WMTS servers may support KVP requests for representations of image Tiles by declaring support for and correctly handling GetTile requests.

8.2.1 GetTile request HTTP KVP encoding

Servers may implement HTTP GET transfer of the GetTile operation request, using KVP encoding. The KVP encoding of the GetTile operation request SHALL use the parameters specified in Table 29 which follows the abstract description specified in Table 22 above. Table 29 — GetTile operation request URL parameters Name and example a Optionality and use Definition and format Service=WMTS Mandatory Service type identifier Request=GetTile Mandatory Operation name Version=1.0.0 Mandatory Standard and schema version for this operation Layer Mandatory Layer identifier Style Mandatory Style identifier Format Mandatory Output format of tile Sample dimensions b Optional Value allowed for this dimension TileMatrixSet Mandatory TileMatrixSet identifier TileMatrix Mandatory TileMatrix identifier TileRow Mandatory Row index of tile matrix TileCol Mandatory Column index of tile matrix a All parameter names are here listed using mostly lower case letters. However, any parameter name capitalization SHALL be allowed in KVP encoding, see subclause 11.5.2 of OWS Common [OGC 06-121r3]. b Names for these parameters SHALL be the names indicated in the ServiceMetadata document. Typical examples are Time, Elevation and Band. Parameters in a GetTile request may be specified in any order. However, in order to facilitate the caching mechanisms already available on the web, the parameters SHOULD be specified in the exact order that appears in Table 29.

8.2.2 GetTile request HTTP KVP encoding example

An example GetTile operation request KVP encoded for HTTP GET is: http:www.maps.bobmaps.cgi?service=WMTSrequest=GetTileversion=1.0.0 layer=etopo2style=defaultformat=imagepngTileMatrixSet= WholeWorld_CRS_84 TileMatrix=10mTileRow=1TileCol=3