DescribeFeatureType request

Feedback


Request parameters

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

Table 1 Parameters for DescribeFeatureType operation

Parameter O/M Description

VERSION=version

Mandatory

Request version.

The default value is 1.0.0.

SERVICE=WFS

Mandatory

Service type.

The default value is WFS.

REQUEST=DescribeFeatureType

Mandatory

Name of request.

Request DescribeFeatureType operation. The request name should be set to DescribeFeatureType.

TYPENAME=type_list

Mandatory

Feature types.

A comma separated list of feature types to describe.

If no value is specified that is to be interpreted as all feature types.

OUTPUTFORMAT=outputformat

Optional

The output format to use to describe the feature.

The default value is XMLSCHEMA.

XMLSCHEMA must be supported. Other output formats, such as DTD are possible.

Currently, WFS services published by SuperMap iServer only support MLSCHEMA.

Request example

An example of DescribeFeatureType operation is as follows:

<ServiceRoot>?SERVICE=WFS&VERSION=version&REQUEST=DescribeFeatureType&OUTPUTFORMAT=outputformat&TYPENAME=type_list

where ServiceRoot is the URI root directory of the service. Please refer to Setting the Service URI.

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

Please refer to Response example to see the result.