wfs:Delete
The Delete element is used to indicate that one or more feature instances should be removed from the feature repository.
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:DeleteElementType
Properties: Global, Qualified
Content
- ogc:Filter [1..1] 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.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
handle | [0..1] | xsd:string | The handle attribute allows a client application to assign a client-generated request identifier to an Insert action. The handle is included to facilitate error reporting. If a Delete action in a Transaction request fails, then a WFS may include the handle in an exception report to localize the error. If no handle is included of the offending Insert element then a WFS may employee other means of localizing the error (e.g. line number). | |
typeName | [1..1] | xsd:QName | The value of the typeName attribute is the name of the feature type to be updated. The name specified must be a valid type that belongs to the feature content as defined by the GML Application Schema. |
Used in
- Type wfs:TransactionType (Element wfs:Transaction)
Sample instance
<wfs:Delete typeName="QName"> <ogc:Filter> <ogc:Equals> <ogc:PropertyName/> <gml:Point>... </gml:Point> </ogc:Equals> </ogc:Filter> </wfs:Delete>