wfs:GetFeatureWithLock
This is the root element for the GetFeatureWithLock request. The GetFeatureWithLock operation performs identically to a GetFeature request except that the GetFeatureWithLock request locks all the feature instances in the result set and returns a lock identifier to a client application in the response. The lock identifier is returned to the client application using the lockId attribute define on the wfs:FeatureCollection element.
Element information
Namespace: http://niem.gov/niem/external/ogc-wfs/1.1.0/dhs-gmo/1.0.0
Schema document: external/ogc-wfs/1.1.0/dhs-gmo/1.0.0/wfs.xsd
Type: wfs:GetFeatureWithLockType
Properties: Global, Qualified
Content
- wfs:Query [1..*] The Query element is used to describe a single query. One or more Query elements can be specified inside a GetFeature element so that multiple queries can be executed in one request. The output from the various queries are combined in a wfs:FeatureCollection element to form the response document.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
service | [0..1] | ows:ServiceType | 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. | Default value is "WFS". from type wfs:BaseRequestType |
version | [0..1] | xsd:string | 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. | Default value is "1.1.0". from type wfs:BaseRequestType |
handle | [0..1] | xsd:string | 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). | from type wfs:BaseRequestType |
expiry | [0..1] | xsd:positiveInteger | The expiry attribute is used to set the length of time (expressed in minutes) that features will remain locked as a result of a GetFeatureWithLock request. After the expiry period elapses, the locked resources must be released. If the expiry attribute is not set, then the default value of 5 minutes will be enforced. | Default value is "5". |
resultType | [0..1] | wfs:ResultTypeType | See definition of wfs:GetFeatureType. | Default value is "results". |
outputFormat | [0..1] | xsd:string | See definition of wfs:GetFeatureType. | Default value is "text/xml; subtype=gml/3.1.1". |
maxFeatures | [0..1] | xsd:positiveInteger | See definition of wfs:GetFeatureType. | |
traverseXlinkDepth | [0..1] | xsd:string | See definition of wfs:GetFeatureType. | |
traverseXlinkExpiry | [0..1] | xsd:positiveInteger | See definition of wfs:GetFeatureType. |
Sample instance
<wfs:GetFeatureWithLock> <wfs:Query typeName="QName QName"> <wfs:PropertyName>QName</wfs:PropertyName> <ogc:Filter> <ogc:Equals>... </ogc:Equals> </ogc:Filter> <ogc:SortBy> <ogc:SortProperty>... </ogc:SortProperty> </ogc:SortBy> </wfs:Query> </wfs:GetFeatureWithLock>