Web Feature Service Info

Object that defines and provides information about layers in a WFS service.

Properties

Property Details
customParameters A sequence of parameters used to append custom parameters to all WFS requests. These parameters are applied to GetCapabilities, DescribeFeatureType, and GetFeatures.
featureUrl URL of the WFS service operation.
maxFeatures Set this to limit the number of requested features that a GetFeature request presents.
name The name of the WFS layer. This is used to set layer visibility.
supportedSpatialReferences List of supported spatial reference IDs
swapXY Boolean value indicating whether X and Y axis are flipped.
version Value indicating which version of the WFS specification is used.
wfsNamespace String indicating namespace.

Example

The WFSInfo as used within a WFS Layer

{
  "wfsInfo": {
    "version": "2.0.0",
    "name": "countries",
    "wfsNamespace": "http://opengeo.org/",
    "featureUrl": "http://suite.opengeo/org/geoserver/wfs",
    "customParameters": {
      "token": "1ADE-FR54T"
    },
    "maxFeatures": 3000,
    "swapXY": false,
    "supportedSpatialReferences": [
      4326,
      26986
    ]
  }
}

Feedback on this topic?