Class: WFS

WFS

experimental new ol.format.WFS(opt_options)

Name Type Argument Description
options optional

Optional configuration object.

Name Type Description
featureNS string

The namespace URI used for features.

featureType string

The feature type to parse. Only used for read operations.

schemaLocation string | undefined

Optional schemaLocation to use for serialization, this will override the default.

Extends

Methods

experimental readFeatureCollectionMetadata(source){ol.format.WFS.FeatureCollectionMetadata|undefined}

Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Returns:
metadata.

experimental readTransactionResponse(source){ol.format.WFS.TransactionResponse|undefined}

Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Returns:
response.

experimental writeGetFeature(options){Node}

Name Type Description
options

Options.

Name Type Description
featureNS string

The namespace URI used for features.

featurePrefix string

The prefix for the feature namespace.

featureTypes Array.<string>

The feature type names.

srsName string | undefined

SRS name. No srsName attribute will be set on geometries when this is not provided.

handle string | undefined

Handle.

outputFormat string | undefined

Output format.

maxFeatures number | undefined

Maximum number of features to fetch.

geometryName string | undefined

Geometry name to use in a BBOX filter.

bbox ol.Extent | undefined

Extent to use for the BBOX filter.

experimental writeTransaction(inserts, updates, deletes, options){Node}

Name Type Description
inserts Array.<ol.Feature>

The features to insert.

updates Array.<ol.Feature>

The features to update.

deletes Array.<ol.Feature>

The features to delete.

options

Write options.

Name Type Description
featureNS string

The namespace URI used for features.

featurePrefix string

The prefix for the feature namespace.

featureType string

The feature type name.

srsName string | undefined

SRS name. No srsName attribute will be set on geometries when this is not provided.

handle string | undefined

Handle.

nativeElements Array.<Object>

Native elements. Currently not supported.