DescribeFeatureType operation Operations .1 Introduction

OpenGIS © Specification OGC 04-094 Copyright © Open Geospatial Consortium, Inc 2005 98 TYPENAME O A comma separated list of feature types to describe. If no value is specified that is to be interpreted as all feature types. OUTPUTFORMAT O textxml; subtype=gml3.1.1 The output format to use to describe feature types. textxml; subtype=gml3.1.1 must be supported. Other output formats, such as DTD are possible.

14.7.2.2 Examples Example 1

The following example requests the schema description of the feature type TreesA_1M. http:www.someserver.comwfs.cgi? SERVICE=WFS VERSION=1.1.0 REQUEST=DescribeFeatureType TYPENAME=TreesA_1M Example 2 The following example requests the schema description of the feature types InWaterA_1M and BuiltUpA_1M. http:www.someserver.comwfs.cgi? SERVICE=WFS VERSION=1.1.0 REQUEST=DescribeFeatureType TYPENAME=TreesA_1M,BuiltUpA_1M 14.7.3 GetFeature GetFeatureWithLock operation 14.7.3.1 Request Table 9a – GetFeature GetFeatureWithLock encoding URL Component OM DEFAULT Description REQUEST=[GetFeature | GetFeatureWithLock] M The name of the WFS request. OUTPUTFORMAT O textxml; subtype=gml3.1.1 The output format to use for the response. textxml; subtype=gml3.1.1 must be supported. Other output formats are possible as well as long as their MIME type is advertised in the capabilities document. OpenGIS © Specification OGC 04-094 Copyright © Open Geospatial Consortium, Inc 2005 99 RESULTTYPE O results The resulttype parameter is used to indicate whether a WFS should generate a complete response document of whether it should generate an empty response document indicating only the number of features that the query would return. A value of results indicates that a full response should be generated. A value of hits indicates that only a count of the number of features should be returned. PROPERTYNAME O A list of properties may be specified for each feature type that is being queried. Refer to subclause 14.2.2 on how to form lists of parameters. A character can be used to indicate that all properties should be retrieved. There is a 1:1 mapping between each element in a FEATUREID or TYPENAME list and the PROPERTYNAME list. The absense of a value also indicates that all properties should be fetched. FEATUREVERSION= [ALL | N] O If versioning is supported, the FEATUREVERSION parameter directs the WFS on which feature version to fetch.. A value of ALL indicates to fetch all versions of a feature. An integer value fetches the Nth version of a feature. No value indicates that the latest version of the feature should be fetched. MAXFEATURES=N O A positive integer indicating the maximum number of features that the WFS should return in response to a query. If no value is specified then all result instances should be presented. EXPIRY=N O This parameter may only be specified if the request is GetFeatureWithLock. It indicates the length of time in minutes that a lock will be held on the features in the result set. If the parameter is not specified then the locks will be held indefinitely. SRSNAME O This parameter is used to specify a WFS- supported SRS that should be used for returned feature geometries. The value may be the DefaultSRS or any of the OtherSRS values that a WFS declares it supports in the capabilities document. The SRS may be indicated using EPSG codes or the URL form defined in [2]. If the parameter is not specified then the value of the DefaultSRS for the feature type being queried shall be used. TYPENAME Optional if FEATUREID is specified. M A list of feature type names to query.