[OpenLayers-Users] Read WFS Layer attributes

Phil Scadden P.Scadden at gns.cri.nz
Thu Oct 4 13:09:20 PDT 2012



*How *is it possible *to read attributes of a layer*?
OpenLayers.Format.WFSDescribeFeatureType
creates a parser which will read that response.
eg
var wfsDescribeFeatureTypeParsed = new OpenLayers.Format.WFSDescribeFeatureType().read(response.responseXML);
Then look through wfsDescribeFeatureTypeParsed.featureTypes[0].properties

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121005/d28be50b/attachment.html>


More information about the Users mailing list