[OpenLayers-Users] Read WFS capabilities file

Henry Rotzoll henry.rotzoll at dlr.de
Thu Feb 11 04:26:24 EST 2010


Gabriel Nolasco [nolasco_gabriel at yahoo.com.br] helped me with this code:

Use WFSCapabilities format instead [1]:

wfsParser = new OpenLayers.Format.WFSCapabilities();
wfsCapabilities = wfsParser.read(response.responseText);
wfsCapabilities.featureTypeList.featureTypes

[1]http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Format/WFSCapabilities-js.html

The problem is, that "wfsCapabilities.featureTypeList.featureTypes" is
nowhere documented.

Best regards,
Henry Rotzoll

-- 
View this message in context: http://n2.nabble.com/Read-WFS-capabilities-file-tp4506548p4553581.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list