new ol.format.WFS(opt_options) experimental
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
optional
Optional configuration object.
|
|||||||||||||
Extends
Methods
-
readFeatureCollectionMetadata(source){ol.format.WFS.FeatureCollectionMetadata|undefined} experimental
-
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
FeatureCollection metadata.
-
readFeatures(source){Array.<ol.Feature>} experimental
-
Read all features from a WFS FeatureCollection.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Features.
-
readProjection(source){ol.proj.Projection} experimental
-
Read the projection from a WFS source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Projection.
-
readTransactionResponse(source){ol.format.WFS.TransactionResponse|undefined} experimental
-
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Transaction response.
-
writeGetFeature(options){Node} experimental
-
Name Type Description optionsOptions.
Name Type Description featureNSstring The namespace URI used for features.
featurePrefixstring The prefix for the feature namespace.
featureTypesArray.<string> The feature type names.
srsNamestring | undefined optional SRS name. No srsName attribute will be set on geometries when this is not provided.
handlestring | undefined optional Handle.
outputFormatstring | undefined optional Output format.
maxFeaturesnumber | undefined optional Maximum number of features to fetch.
geometryNamestring | undefined optional Geometry name to use in a BBOX filter.
bboxol.Extent | undefined optional Extent to use for the BBOX filter.
Returns:
Result.
-
writeTransaction(inserts, updates, deletes, options){Node} experimental
-
Name Type Description insertsArray.<ol.Feature> The features to insert.
updatesArray.<ol.Feature> The features to update.
deletesArray.<ol.Feature> The features to delete.
optionsWrite options.
Name Type Description featureNSstring The namespace URI used for features.
featurePrefixstring The prefix for the feature namespace.
featureTypestring The feature type name.
srsNamestring | undefined optional SRS name. No srsName attribute will be set on geometries when this is not provided.
handlestring | undefined optional Handle.
nativeElementsArray.<Object> Native elements. Currently not supported.
gmlOptionsolx.format.GMLOptions | undefined optional GML options for the WFS transaction writer.
Returns:
Result.
OpenLayers 3