[OpenLayers-Users] RE How to Get all SRS supported from getCapabilities response?
Bart van den Eijnden
bartvde at boundlessgeo.com
Tue Feb 3 10:11:29 PST 2015
Steve,
it’s not implemented. Only DefaultSRS is parsed.
Best regards,
Bart
Bart van den Eijnden
Front End Software Engineer | Boundless <http://boundlessgeo.com/>
bartvde at boundlessgeo.com <mailto:bartvde at 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.Toutant at inspq.qc.ca wrote:
>
> Actually, read(), doesn't get otherSRS node at all....
>
>
>
> Steve.Toutant at inspq.qc.ca@lists.osgeo.org
> Envoyé par : openlayers-users-bounces at lists.osgeo.org
> 2015-02-03 11:56
>
> A
> openlayers-users at 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users <http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150203/e5895293/attachment.html>
More information about the Users
mailing list