WMTS - Web Map Tile Service Development Guide
The Web Map Tile Service (WMTS) described in this standard builds on earlier efforts to
develop scalable, high performance services for web based distribution of cartographic
maps. WMTS is inspired by the OSGeo Tile Map Service Specification.
WMTS GetCapabilities request.
A request which returns a service metadata document (XML) describing the WMTS service as well as valid operations and parameters provided by a single map file.
Required parameters:
project: name of directory where mapfile exists
map: name of mapfile to be used in request
service: name of protocol (WMTS)
request: name of Maptimus 2 service operation (GetCapabilities)
Optional parameters:
version: protocol (WMTS) version number (1.0.0)
format: output format of the response to a GetCapabilities operation
URL example:
https://maptimus.certusview.com/api/v2/mapcache/wmts?service=WMTS&version=1.0.0&request=GetCapabilities&map=tests-cache&project=tests
Output example :
<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
<ows:ServiceIdentification>
<ows:Title>Test Cache Service</ows:Title>
<ows:Abstract>The Maptimus 2.1.0 Test Cache Service provides WMTS and TLS services o test data.</ows:Abstract>
...
<MatrixHeight>131072</MatrixHeight>
</TileMatrix>
</TileMatrixSet>
</Contents>
</Capabilities>
WMS GetTile request.
An operation which returns a map tile from a defined tile set.
Required parameters:
project: name of directory where mapfile exists
map: name of mapfile to be used in request
service: name of protocol (WMTS)
request: name of Maptimus 2 service operation (GetTile)
version: protocol (WMTS) version number (1.0.0)
info_format: output format of the response to a GetTile operation
layer: comma-separated list of one or more map layers
tilematrix: scale level and its tile matrix identifier
tilematrixset: identifier of the geometry of a tile cut
tilerow: row index of tile matrix
tilecol: column index of tile matrix
URL example:
https://maptimus.certusview.com/api/v2/mapcache/wmts?service=WMTS&version=1.0.0&request=GetTile&project=tests&map=tests-cache&layer=pgis-states&tileCol=0&tileRow=0&TileMatrix=1&tileMatrixSet=WGS84&format=image/png
Output example :
WMS GetFeatureInfo request.
An operation which returns feature information for any spatial data rendered on a particular pixel from a tile returned from a GetTile request
Required parameters:
project: name of directory where mapfile exists
map: name of mapfile to be used in request
service: name of protocol (WMTS)
request: name of Maptimus 2 service operation (GetFeatureInfo)
version: protocol (WMTS) version number (1.0.0)
info_format: output format of the response to a GetFeatureInfo operation
layer: comma-separated list of one or more map layers
tilematrix: scale level and its tile matrix identifier
tilematrixset: identifier of the geometry of a tile cut
tilerow: row index of tile matrix
tilecol: column index of tile matrix
i: column index of a pixel in the tile
j: row index of a pixel in the tile
Optional parameters:
feature_count: number of features to be returned
URL example:
https://maptimus.certusview.com/api/v2/mapcache/wmts?service=WMTS&version=1.0.0&request=GetFeatureInfo&project=tests&map=tests-cache&layer=pgis-states&infoformat=text/plain&i=5&j=8&tileMatrixSet=WGS84&tileMatrix=4&tileRow=5&tileCol=8&feature_count=1
Output example :
GetFeatureInfo results:
Layer 'world_state'
Feature 4394:
id = '4394'
long_name = 'Mississippi'
abbreviation = 'Miss.'
state_type = 'State'
fips_code = 'US28'
iso_code = 'US-MS'
wikipedia_link = 'http://en.wikipedia.org/wiki/Mississippi'
region = 'South'
country_id = '239'
create_user = 'DYNUTIL\db0094'
create_timestamp = '2016-08-02 11:55:12'
last_update_user = 'DYNUTIL\db0094'
last_update_timestamp = '2016-08-02 11:55:12'