Steve,

it’s not implemented. Only DefaultSRS is parsed.

Best regards,
Bart

Bart van den Eijnden
Front End Software Engineer | Boundless <http://boundlessgeo.com/>
bart...@boundlessgeo.com <mailto:bart...@boundlessgeo.com>
1-877-673-6436 <tel:917-460-7207>
@boundlessgeo <http://twitter.com/boundlessgeo/>

 <http://boundlessgeo.com/>

> On 03 Feb 2015, at 18:40, steve.tout...@inspq.qc.ca wrote:
> 
> Actually, read(), doesn't get otherSRS node at all....
> 
> 
> 
> steve.tout...@inspq.qc.ca@lists.osgeo.org 
> Envoyé par : openlayers-users-boun...@lists.osgeo.org
> 2015-02-03 11:56
> 
> A
> openlayers-users@lists.osgeo.org
> 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
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users 
> <http://lists.osgeo.org/mailman/listinfo/openlayers-users> 
> 
> 
> _______________________________________________
> Users mailing list
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to