Actually, read(), doesn't get otherSRS node at all....



[email protected]@lists.osgeo.org 
Envoyé par : [email protected]
2015-02-03 11:56

A
[email protected]
cc

Objet
[OpenLayers-Users] How to Get all SRS supported from    getCapabilities 
response?








I'm using OL 2.31.1 

A getCapabilities request (request.responseText) is returning this for 
supported srs 
<DefaultSRS>urn:ogc:def:crs:EPSG::3857</DefaultSRS> 
<OtherSRS>urn:ogc:def:crs:EPSG::900913</OtherSRS> 
<OtherSRS>urn:ogc:def:crs:EPSG::4269</OtherSRS> 
<OtherSRS>urn:ogc:def:crs:EPSG::3978</OtherSRS> 
<OtherSRS>urn:ogc:def:crs:EPSG::4326</OtherSRS> 
<OtherSRS>urn:ogc:def:crs:EPSG::32198</OtherSRS> 

This 
capabilitiesFormat = new OpenLayers.Format.WFSCapabilities() 
capabilitiesFormat.read(request.responseText), 
I get only one otherSRS, the last..32198 

How can I get all otherSRS from the getCapabilities response? 
thanks!_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to