Dear Andreas,<div>thanks for the reply.</div><div><br></div><div>What about a case where the URI is *not* supported by the underlying (proj4js?) cartographic library: would it be possible to supply it with a GML/WKT definition harvested form the URI?</div>
<div>This way being able to decode the CRS anyway.</div><div><br></div><div>Best,</div><div>Piero</div><div><div><br><div class="gmail_quote">On 26 June 2012 15:44, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If your map involves just that one projection, you don't need to do<br>
anything. If other projections are involved, you should add the crs to<br>
the list of known null transforms, e.g.<br>
<br>
OpenLayer.Projection.addTransform('EPSG:4326',<br>
'<a href="http://www.opengis.net/def/crs/EPSG/0/4326" target="_blank">http://www.opengis.net/def/crs/EPSG/0/4326</a>',<br>
OpenLayers.Projection.nullTransform);<br>
OpenLayer.Projection.addTransform('<a href="http://www.opengis.net/def/crs/EPSG/0/4326" target="_blank">http://www.opengis.net/def/crs/EPSG/0/4326</a>',<br>
'EPSG:4326', OpenLayers.Projection.nullTransform);<br>
<br>
Andreas.<br>
<div><div class="h5"><br>
On Thu, Jun 21, 2012 at 7:21 PM, Piero Campalani <<a href="mailto:piero.campa@gmail.com">piero.campa@gmail.com</a>> wrote:<br>
> Dear list,<br>
><br>
> I would like to understand how OpenLayers works now when reading the SRS of<br>
> a WMS layer.<br>
> Is there a plan to support GML-like SRS definitions,<br>
> eg. <a href="http://www.opengis.net/def/crs/EPSG/0/4326" target="_blank">http://www.opengis.net/def/crs/EPSG/0/4326</a> ?<br>
><br>
> In case, how would they be decoded?<br>
><br>
> Thanks in advance.<br>
>   Piero<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Dev mailing list<br>
> <a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</font></span></blockquote></div><br></div></div>