📄 wfs.xsd
字号:
<?xml version="1.0"?><xsd:schema targetNamespace="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.1.0"> <!-- ============================================================== Includes and Imports ============================================================== --> <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="../../gml/3.1.1/base/gml.xsd"/> <xsd:import namespace="http://www.opengis.net/ogc" schemaLocation="../../filter/1.1.0/filter.xsd"/> <xsd:import namespace="http://www.opengis.net/ows" schemaLocation="../../ows/1.0.0/owsAll.xsd"/> <!-- ================================================================== --> <!-- = BASE REQUEST TYPE = --> <!-- ================================================================== --> <xsd:complexType name="BaseRequestType" abstract="true"> <xsd:annotation> <xsd:documentation> XML encoded WFS operation request base, for all operations except GetCapabilities. </xsd:documentation> </xsd:annotation> <xsd:attribute name="service" type="ows:ServiceType" use="optional" default="WFS"> <xsd:annotation> <xsd:documentation> The service attribute is included to support service endpoints that implement more than one OGC service. For example, a single CGI that implements WMS, WFS and WCS services. The endpoint can inspect the value of this attribute to figure out which service should process the request. The value WFS indicates that a web feature service should process the request. This parameter is somewhat redundant in the XML encoding since the request namespace can be used to determine which service should process any give request. For example, wfs:GetCapabilities and easily be distinguished from wcs:GetCapabilities using the namespaces. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="version" type="xsd:string" use="optional" default="1.1.0"> <xsd:annotation> <xsd:documentation> The version attribute is used to indicate the version of the WFS specification that a request conforms to. All requests in this schema conform to V1.1 of the WFS specification. For WFS implementations that support more than one version of a WFS sepcification ... if the version attribute is not specified then the service should assume that the request conforms to greatest available specification version. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="handle" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> The handle attribute allows a client application to assign a client-generated request identifier to a WFS request. The handle is included to facilitate error reporting. A WFS may report the handle in an exception report to identify the offending request or action. If the handle is not present, then the WFS may employ other means to localize the error (e.g. line numbers). </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> <!-- ============================================================== --> <!-- = PROPERTY NAME ELEMENT = --> <!-- ============================================================== --> <xsd:element name="PropertyName" type="xsd:string"> <xsd:annotation> <xsd:documentation> The Property element is used to specify one or more properties of a feature whose values are to be retrieved by a Web Feature Service. While a Web Feature Service should endeavour to satisfy the exact request specified, in some instance this may not be possible. Specifically, a Web Feature Service must generate a valid GML3 response to a Query operation. The schema used to generate the output may include properties that are mandatory. In order that the output validates, these mandatory properties must be specified in the request. If they are not, a Web Feature Service may add them automatically to the Query before processing it. Thus a client application should, in general, be prepared to receive more properties than it requested. Of course, using the DescribeFeatureType request, a client application can determine which properties are mandatory and request them in the first place. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="XlinkPropertyName"> <xsd:annotation> <xsd:documentation> This element may be used in place of an wfs:PropertyName element in a wfs:Query element in a wfs:GetFeature element to selectively request the traversal of nested XLinks in the returned element for the named property. This element may not be used in other requests -- GetFeatureWithLock, LockFeature, Insert, Update, Delete -- in this version of the WFS specification. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="traverseXlinkDepth" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> This attribute indicates the depth to which nested property XLink linking element locator attribute (href) XLinks are traversed and resolved if possible. A value of "1" indicates that one linking element locator attribute (href) Xlink will be traversed and the referenced element returned if possible, but nested property XLink linking element locator attribute (href) XLinks in the returned element are not traversed. A value of "*" indicates that all nested property XLink linking element locator attribute (href) XLinks will be traversed and the referenced elements returned if possible. The range of valid values for this attribute consists of positive integers plus "*". </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="traverseXlinkExpiry" type="xsd:positiveInteger" use="optional"> <xsd:annotation> <xsd:documentation> The traverseXlinkExpiry attribute value is specified in minutes It indicates how long a Web Feature Service should wait to receive a response to a nested GetGmlObject request. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <!-- ================================================================== --> <!-- = GETCAPABILITIES Request and Response = --> <!-- ================================================================== --> <!-- REQUEST --> <xsd:element name="GetCapabilities" type="wfs:GetCapabilitiesType"/> <xsd:complexType name="GetCapabilitiesType"> <xsd:annotation> <xsd:documentation> Request to a WFS to perform the GetCapabilities operation. This operation allows a client to retrieve a Capabilities XML document providing metadata for the specific WFS server. The GetCapapbilities element is used to request that a Web Feature Service generate an XML document describing the organization providing the service, the WFS operations that the service supports, a list of feature types that the service can operate on and list of filtering capabilities that the service support. Such an XML document is called a capabilities document. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="ows:GetCapabilitiesType"> <xsd:attribute name="service" type="ows:ServiceType" use="optional" default="WFS"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- RESPONSE --> <xsd:element name="WFS_Capabilities" type="wfs:WFS_CapabilitiesType"/> <xsd:complexType name="WFS_CapabilitiesType"> <xsd:annotation> <xsd:documentation> XML encoded WFS GetCapabilities operation response. This document provides clients with service metadata about a specific service instance, including metadata about the tightly-coupled data served. If the server does not implement the updateSequence parameter, the server shall always return the complete Capabilities document, without the updateSequence parameter. When the server implements the updateSequence parameter and the GetCapabilities operation request included the updateSequence parameter with the current value, the server shall return this element with only the "version" and "updateSequence" attributes. Otherwise, all optional elements shall be included or not depending on the actual value of the Contents parameter in the GetCapabilities operation request. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="ows:CapabilitiesBaseType"> <xsd:sequence> <xsd:element ref="wfs:FeatureTypeList" minOccurs="0"/> <xsd:element ref="wfs:ServesGMLObjectTypeList" minOccurs="0"/> <xsd:element ref="wfs:SupportsGMLObjectTypeList" minOccurs="0"/> <xsd:element ref="ogc:Filter_Capabilities"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:element name="FeatureTypeList" type="wfs:FeatureTypeListType"/> <xsd:complexType name="FeatureTypeListType"> <xsd:annotation> <xsd:documentation> A list of feature types available from this server. </xsd:documentation> </xsd:annotation> <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:annotation> <xsd:documentation> An element of this type that describes a feature in an application namespace shall have an xml xmlns specifier, e.g. xmlns:bo="http://www.BlueOx.org/BlueOx" </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="Name" type="xsd:QName"> <xsd:annotation> <xsd:documentation> Name of this feature type, including any namespace prefix </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Title" type="xsd:string"> <xsd:annotation> <xsd:documentation> Title of this feature type, normally used for display to a human. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Abstract" type="xsd:string" minOccurs="0"> <xsd:annotation> <xsd:documentation> Brief narrative description of this feature type, normally used for display to a human. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element ref="ows:Keywords" minOccurs="0" maxOccurs="unbounded"/> <xsd:choice> <xsd:sequence> <xsd:element name="DefaultSRS" type="xsd:anyURI"> <xsd:annotation>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -