📄 wfs-transaction.xsd
字号:
One or more existing feature instances can be changed by
using the Update element. Changing a feature instance
means that the current value of one or more properties of
the feature are replaced with new values. The Update
element contains one or more Property elements. A
Property element contains the name or a feature property
who's value is to be changed and the replacement value
for that property.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="UpdateElementType">
<xsd:sequence>
<xsd:element ref="wfs:Property" maxOccurs="unbounded" />
<xsd:element ref="ogc:Filter" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The Filter element is used to constrain the scope
of the update operation to those features identified
by the filter. Feature instances can be specified
explicitly and individually using the identifier of
each feature instance OR a set of features to be
operated on can be identified by specifying spatial
and non-spatial constraints in the filter.
If no filter is specified, then the update operation
applies to all feature instances.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="handle" type="xsd:string" use="optional"/>
<xsd:attribute name="typeName" type="xsd:QName" use="required"/>
</xsd:complexType>
<xsd:element name="Delete" type="wfs:DeleteElementType">
<xsd:annotation>
<xsd:documentation>
The Delete element is used to indicate that one or more
feature instances should be removed from the feature
repository.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="DeleteElementType">
<xsd:sequence>
<xsd:element ref="ogc:Filter" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The Filter element is used to constrain the scope
of the delete operation to those features identified
by the filter. Feature instances can be specified
explicitly and individually using the identifier of
each feature instance OR a set of features to be
operated on can be identified by specifying spatial
and non-spatial constraints in the filter.
If no filter is specified then an exception should
be raised since it is unlikely that a client application
intends to delete all feature instances.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="handle" type="xsd:string" use="optional"/>
<xsd:attribute name="typeName" type="xsd:QName" use="required"/>
</xsd:complexType>
<xsd:element name="Native" type="wfs:NativeType">
<xsd:annotation>
<xsd:documentation>
Many times, a Web Feature Service interacts with a repository
that may have special vendor specific capabilities. The native
element allows vendor specific command to be passed to the
repository via the Web Feature Service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="NativeType">
<xsd:attribute name="vendorId" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The vendorId attribute is used to specify the name of
vendor who's vendor specific command the client
application wishes to execute.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="safeToIgnore" type="xsd:boolean" use="required">
<xsd:annotation>
<xsd:documentation>
In the event that a Web Feature Service does not recognize
the vendorId or does not recognize the vendor specific command,
the safeToIgnore attribute is used to indicate whether the
exception can be safely ignored. A value of TRUE means that
the Web Feature Service may ignore the command. A value of
FALSE means that a Web Feature Service cannot ignore the
command and an exception should be raised if a problem is
encountered.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- define structure to specify a property value -->
<xsd:element name="Property" type="wfs:PropertyType">
<xsd:annotation>
<xsd:documentation>
The Property element is used to specify the new
value of a feature property inside an Update element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PropertyType">
<xsd:sequence>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The Name element contains the name of a feature property
to be updated.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Value" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The Value element contains the replacement value for the
named property.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- RESPONSE TYPES -->
<xsd:complexType name="WFS_LockFeatureResponseType">
<xsd:annotation>
<xsd:documentation>
The WFS_LockFeatureResponseType is used to define an
element to contains the response to a LockFeature
operation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="wfs:LockId">
<xsd:annotation>
<xsd:documentation>
The WFS_LockFeatureResponse includes a LockId element
that contains a lock identifier. The lock identifier
can be used by a client, in subsequent operations, to
operate upon the locked feature instances.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FeaturesLocked"
type="wfs:FeaturesLockedType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The LockFeature or GetFeatureWithLock operations
identify and attempt to lock a set of feature
instances that satisfy the constraints specified
in the request. In the event that the lockAction
attribute (on the LockFeature or GetFeatureWithLock
elements) is set to SOME, a Web Feature Service will
attempt to lock as many of the feature instances from
the result set as possible.
The FeaturesLocked element contains list of ogc:FeatureId
elements enumerating the feature instances that a WFS
actually managed to lock.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FeaturesNotLocked"
type="wfs:FeaturesNotLockedType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
In contrast to the FeaturesLocked element, the
FeaturesNotLocked element contains a list of
ogc:Filter elements identifying feature instances
that a WFS did not manage to lock because they were
already locked by another process.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FeaturesLockedType">
<xsd:sequence maxOccurs="unbounded">
<xsd:element ref="ogc:FeatureId"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FeaturesNotLockedType">
<xsd:sequence maxOccurs="unbounded">
<xsd:element ref="ogc:FeatureId"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WFS_TransactionResponseType">
<xsd:annotation>
<xsd:documentation>
The WFS_TransactionResponseType defines the format of
the XML document that a Web Feature Service generates
in response to a Transaction request. The response
includes the completion status of the transaction
and the feature identifiers of any newly created
feature instances.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="InsertResult"
type="wfs:InsertResultType"
minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
The InsertResult element contains a list of ogc:FeatureId
elements that identify any newly created feature instances.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TransactionResult"
type="wfs:TransactionResultType">
<xsd:annotation>
<xsd:documentation>
The TransactionResult element contains a Status element
indicating the completion status of a transaction. In
the event that the transaction fails, additional element
may be included to help locate which part of the transaction
failed and why.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="version"
type="xsd:string" use="required" fixed="1.0.0"/>
</xsd:complexType>
<xsd:complexType name="TransactionResultType">
<xsd:sequence>
<xsd:element name="Status" type="wfs:StatusType">
<xsd:annotation>
<xsd:documentation>
The Status element contains an element indicating the
completion status of a transaction. The SUCCESS element
is used to indicate successful completion. The FAILED
element is used to indicate that an exception was
encountered.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Locator" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
In the event that an exception was encountered while
processing a transaction, a Web Feature Service may
use the Locator element to try and identify the part
of the transaction that failed. If the element(s)
contained in a Transaction element included a handle
attribute, then a Web Feature Service may report the
handle to identify the offending element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Message" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The Message element may contain an exception report
generated by a Web Feature Service when an exception
is encountered.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="handle" type="xsd:string" use="optional"/>
</xsd:complexType>
<xsd:complexType name="InsertResultType">
<xsd:sequence>
<xsd:element ref="ogc:FeatureId" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="handle" type="xsd:string" use="optional"/>
</xsd:complexType>
<xsd:complexType name="StatusType">
<xsd:choice>
<xsd:element ref="wfs:SUCCESS"/>
<xsd:element ref="wfs:FAILED"/>
<xsd:element ref="wfs:PARTIAL"/>
</xsd:choice>
</xsd:complexType>
<xsd:element name="SUCCESS" type="wfs:EmptyType"/>
<xsd:element name="FAILED" type="wfs:EmptyType"/>
<xsd:element name="PARTIAL" type="wfs:EmptyType"/>
<!-- MISC TYPES -->
<xsd:complexType name="EmptyType"/>
<xsd:simpleType name="AllSomeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ALL"/>
<xsd:enumeration value="SOME"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -