Read/Write WFS.
OpenLayers. | Read/Write WFS. |
Properties | |
layer | {OpenLayers.Layer} |
wfsns | {String} |
ogcns | {String} |
Constructor | |
OpenLayers. | Create a WFS-T formatter. |
Functions | |
write | Takes a feature list, and generates a WFS-T Transaction |
createFeatureXML | |
insert | Takes a feature, and generates a WFS-T Transaction “Insert” |
update | Takes a feature, and generates a WFS-T Transaction “Update” |
remove | Takes a feature, and generates a WFS-T Transaction “Delete” |
destroy | Remove ciruclar ref to layer |
Create a WFS-T formatter. This requires a layer: that layer should have two properties: geometry_column and typename. The parser for this format is subclassed entirely from GML: There is a writer only, which uses most of the code from the GML layer, and wraps it in transactional elements.
options | {Object} |
layer | {OpenLayers.Layer} |
write: function( features )
Takes a feature list, and generates a WFS-T Transaction
features | {Array(OpenLayers.Feature.Vector)} |
insert: function( feature )
Takes a feature, and generates a WFS-T Transaction “Insert”
feature | {OpenLayers.Feature.Vector} |
update: function( feature )
Takes a feature, and generates a WFS-T Transaction “Update”
feature | {OpenLayers.Feature.Vector} |
remove: function( feature )
Takes a feature, and generates a WFS-T Transaction “Delete”
feature | {OpenLayers.Feature.Vector} |
Takes a feature list, and generates a WFS-T Transaction
write: function( features )
createFeatureXML: function( feature )
Takes a feature, and generates a WFS-T Transaction “Insert”
insert: function( feature )
Takes a feature, and generates a WFS-T Transaction “Update”
update: function( feature )
Takes a feature, and generates a WFS-T Transaction “Delete”
remove: function( feature )
Remove ciruclar ref to layer
destroy: function()