[OpenLayers-Dev] GML-like SRS labels of a WMS layer
Piero Campalani
piero.campa at gmail.com
Tue Jun 26 07:01:05 PDT 2012
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 <ahocevar at opengeo.org> 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 <piero.campa at gmail.com>
> 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
> > Dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> >
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120626/203f902f/attachment.html>
More information about the Dev
mailing list