Dear Andreas, thanks for the reply. 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? This way being able to decode the CRS anyway.
Best, Piero On 26 June 2012 15:44, Andreas Hocevar <[email protected]> wrote: > If your map involves just that one projection, you don't need to do > anything. If other projections are involved, you should add the crs to > the list of known null transforms, e.g. > > OpenLayer.Projection.addTransform('EPSG:4326', > 'http://www.opengis.net/def/crs/EPSG/0/4326', > OpenLayers.Projection.nullTransform); > OpenLayer.Projection.addTransform(' > http://www.opengis.net/def/crs/EPSG/0/4326', > 'EPSG:4326', OpenLayers.Projection.nullTransform); > > Andreas. > > On Thu, Jun 21, 2012 at 7:21 PM, Piero Campalani <[email protected]> > wrote: > > Dear list, > > > > I would like to understand how OpenLayers works now when reading the SRS > of > > a WMS layer. > > Is there a plan to support GML-like SRS definitions, > > eg. http://www.opengis.net/def/crs/EPSG/0/4326 ? > > > > In case, how would they be decoded? > > > > Thanks in advance. > > Piero > > > > > > > > _______________________________________________ > > Dev mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > > > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. >
_______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
