[OpenLayers-Users] How to Get all SRS supported from getCapabilities response?
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Tue Feb 3 08:56:26 PST 2015
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150203/bd549530/attachment.html>
More information about the Users
mailing list