A WFS v1.1.0 protocol for vector layers.  Create a new instance with the OpenLayers.Protocol.WFS.v1_1_0 constructor.

Differences from the v1.0.0 protocol

  • uses Filter Encoding 1.1.0 instead of 1.0.0
  • uses GML 3 instead of 2 if no format is provided

Inherits from

OpenLayers.Protocol.WFS.v1_1_0A WFS v1.1.0 protocol for vector layers.
OpenLayers.Protocol.WFS.v1_1_0A class for giving layers WFS v1.1.0 protocol.



A class for giving layers WFS v1.1.0 protocol.


options{Object} Optional object whose properties will be set on the instance.

Valid options properties

featureType{String} Local (without prefix) feature typeName (required).
featureNS{String} Feature namespace (optional).
featurePrefix{String} Feature namespace alias (optional - only used if featureNS is provided).  Default is ‘feature’.
geometryName{String} Name of geometry attribute.  Default is ‘the_geom’.
outputFormat{String} Optional output format to use for WFS GetFeature requests.  This can be any format advertized by the WFS’s GetCapabilities response.  If set, an appropriate readFormat also has to be provided, unless outputFormat is GML3, GML2 or JSON.
readFormat{OpenLayers.Format} An appropriate format parser if outputFormat is none of GML3, GML2 or JSON.
A class for giving layers WFS v1.1.0 protocol.
Abstract class for for v1.0.0 and v1.1.0 protocol.
Base class for format reading/writing a variety of formats.