GetCapabilities Request

Feedback


Request parameters

Parameters for the GetCapabilities operation are listed in the following table.

Table 1 Parameters for the GetCapabilities operation

Request parameters Required/Optional Description

VERSION=version

Optional

Request version.

The default value is 1.0.0.

SERVICE=WCS

Mandatory

Service type.

The default value is WFS.

REQUEST=GetCapabilities

Mandatory

Request names.

Name of the operation, shall be "GetCoverage".

Request example

The method of GetCoverage operation request is in the following way:

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

ServiceRoot is the URI root directory of service and refer to the URI setting of service

For example, when the local SuperMap iServer 6R WFS 1.0.0 service has been successfully started, the URI to access the GetCapabilities operation is: http://localhost:8090/iserver/services/data-world/wfs100?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.0.0.

Please refer to Response example to see the result.

that is, executing Post request for http://localhost:8090/iserver/services/data-world/wfs100, the body is as follows:

<?xml version="1.0"?>

<GetFeature version="1.0.0" service="WFS" maxFeatures="5"

xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"

xmlns:gml="http://www.opengis.net/gml" xmlns:World="http://www.someserver.com/World"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS.xsd">

<Query typeName="World:Capitals">

</Query>

</GetFeature>

The respose result of this example is the same as KVP, please refer to Response example.