ol.format.WFS

new WFS

Stability: experimental
Parameters:
Name Type Argument Description
options olx.format.WFSOptions <optional>

Optional configuration object.

Properties
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.

Source:
  • wfsformat.js, line 22

Extends

  • ol.format.XMLFeature

Methods

readFeatureCollectionMetadata

Stability: experimental
Parameters:
Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Source:
  • wfsformat.js, line 119
Returns:

FeatureCollection metadata.

Type
ol.format.WFS.FeatureCollectionMetadata | undefined

readTransactionResponse

Stability: experimental
Parameters:
Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Source:
  • wfsformat.js, line 97
Returns:

Transaction response.

Type
ol.format.WFS.TransactionResponse | undefined

writeGetFeature

Stability: experimental
Parameters:
Name Type Description
options olx.format.WFSWriteGetFeatureOptions

Options.

Properties
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.

Source:
  • wfsformat.js, line 556
Returns:

Result.

Type
Node

writeTransaction

Stability: experimental
Parameters:
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 olx.format.WFSWriteTransactionOptions

Write options.

Properties
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.

Source:
  • wfsformat.js, line 608
Returns:

Result.

Type
Node