GetCapabilities Request

Feedback


SuperMap iServer WMTS server provides the implementing of REST and KVP, that is, two methods of GetCapabilities request:

KVP encoding request

Request Parameters

The KVP encoding request of GetCapabilities operation should specify the server and version parameters, see on the following:

Table 1 KVP request paraneters of GetCapabilities

Request Parameters O/M /Optional Description

SERVICE

Mandatory

Service type.

Request WMTS service and shall be "WMTS".

VERSION

Mandatory

Version numbers.

Now the version number of WMTS is 1.0.0.

REQUEST

Mandatory

Request names.

Requests the GetCapabilities operation, and the request name needs to be set as "GetCapabilities".

KVP encoding request example

Request methods of the GetCapabilities operation are as follows:

<ServiceRoot>?SERVICE=WMTS&VERSION=version&REQUEST=GetCapabilities

For example, after local SuperMap iServer starting WMTS 1.0.0 service successfully, URI requesting ServiceMetadata resource is: http://localhost:8090/iserver/services/map-world/wmts100?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities.

Please refer to Response example to see the result.

REST request

Resource URI

The REST of GetCapabilities operation corresponding to ServiceMetadata resource through get request and the request URI of ServiceMetadata resources shown on the following:

<ServiceRoot>/{WMTSVersion}/WMTSCapabilities[.<format>]

ServiceRoot is the root URI of the service and please see Setting the Service URI.

Request Parameters

Table 1 Main request parameters of GetCapabilities

Table 2 REST request paraneters of GetCapabilities

Request Parameters O/M /Optional Description

WMTSVersion

Mandatory

Version number. Now the version number of WMTS is 1.0.0.
Format

Mandatory

The format of response files, and now WMTS standards set xml as the standard format.

Request example

For example, after local SuperMap iServer starting WMTS 1.0.0 service successfully, URI requesting ServiceMetadata resource is: http://localhost:8090/iserver/services/map-world/wmts100/1.0.0/WMTSCapabilities.xml.

Please refer to Response example to see the result.