OpenGIS
©
Specification OGC 04-094
Copyright © Open Geospatial Consortium, Inc 2005
81
described by an application schema that either used those GML Object types directly for non-abstract types, or defined derived types based on those types.
7. Filter capabilities section The schema of the Filter Capabilities Section is defined in the Filter Encoding
Implementation Specification [3]. This is an optional section. If it exists, then the WFS should support the operations advertised therein. If the Filter Capabilities
Section is not defined, then the client should assume that the server only supports the minimum default set of filter operators as defined in the Filter Encoding
Implementation Specification [3].
13.3.3 FeatureTypeList section
The purpose of the FeatureTypeList element is to contain a list of feature types, derived from gml:AbstractFeatureType, that a WFS can service and defines the
transaction and query operations that are supported on each feature type.
The following XML Schema fragment defines the FeatureTypeList element:
xsd:element name=FeatureTypeList type=wfs:FeatureTypeListType xsd:complexType name=FeatureTypeListType
xsd:sequence xsd:element name=Operations
type=wfs:OperationsType minOccurs=0
xsd:element name=FeatureType type=wfs:FeatureTypeType
maxOccurs=unbounded xsd:sequence
xsd:complexType xsd:complexType name=FeatureTypeType
xsd:sequence xsd:element name=Name type=xsd:QName
xsd:element name=Title type=xsd:string xsd:element name=Abstract type=xsd:string minOccurs=0
xsd:element ref=ows:Keywords minOccurs=0 maxOccurs=unbounded xsd:choice
xsd:sequence xsd:element name=DefaultSRS type=xsd:anyURI
xsd:element name=OtherSRS type=xsd:anyURI minOccurs=0 maxOccurs=unbounded
xsd:sequence xsd:element name=NoSRS
xsd:complexType xsd:element
xsd:choice xsd:element name=Operations
type=wfs:OperationsType minOccurs=0
xsd:element name=OutputFormats type=wfs:OutputFormatListType
minOccurs=0 xsd:element ref=ows:WGS84BoundingBox
minOccurs=1 maxOccurs=unbounded xsd:element name=MetadataURL
type=wfs:MetadataURLType minOccurs=0 maxOccurs=unbounded
xsd:sequence xsd:complexType
xsd:complexType name=OperationsType xsd:sequence
OpenGIS
©
Specification OGC 04-094
Copyright © Open Geospatial Consortium, Inc 2005
82
xsd:element name=Operation type=wfs:OperationType
maxOccurs=unbounded xsd:sequence
xsd:complexType xsd:simpleType name=OperationType
xsd:restriction base=xsd:string xsd:enumeration value=Insert
xsd:enumeration value=Unsert xsd:enumeration value=Delete
xsd:enumeration value=Query xsd:enumeration value=Lock
xsd:enumeration value=GetGmlObject xsd:restriction
xsd:simpleType xsd:complexType name=OutputFormatListType
xsd:sequence maxOccurs=unbounded xsd:element name=Format type=xsd:string
xsd:sequence xsd:complexType
xsd:complexType name=MetadataURLType xsd:simpleContent
xsd:extension base=xsd:string xsd:attribute name=type use=required
xsd:simpleType xsd:restriction base=xsd:NMTOKEN
xsd:enumeration value=TC211 xsd:enumeration value=FGDC
xsd:enumeration value=19115 xsd:enumeration value=19139
xsd:restriction xsd:simpleType
xsd:attribute xsd:attribute name=format use=required
xsd:simpleType xsd:restriction base=xsd:NMTOKEN
xsd:enumeration value=textxml xsd:enumeration value=texthtml
xsd:enumeration value=textsgml xsd:enumeration value=txtplain
xsd:restriction xsd:simpleType
xsd:attribute xsd:extension
xsd:simpleContent xsd:complexType
The FeatureTypeList element contains one Operations element that defines operations common to all feature types and one or more FeatureType elements
describing each feature type that the service offers.
The possible transaction and query operations that may be specified in the feature type list using Operations elements are described in Table 5.
Table 5 – Transaction and Query Actions on Features
ELEMENT NAME DESCRIPTION
Insert The Insert element is used to indicate that the WFS is capable of creating new
instances of a feature type. Update
The Update element indicates that the WFS can change the existing state of a feature.
Delete The Delete element indicates that the WFS can delete or remove instances of a
feature type from the datastore.