[OpenLayers-Users] SphericalMercator and SRS aliases
epsg:900913, epsg:3857, epsg:3785, epsg:102113
Arnd Wippermann
arnd.wippermann at web.de
Tue Jul 27 08:25:30 EDT 2010
Hi,
That way you have to set the SRS in the params and the projection in the
options.
I would think, it's better, the params get the projection from the map and
if you want to overwrite the SRS use projection or projectionAlias in the
options.
That way you have only one change not two.
Also I think, it's better, that one could only overwrite WMS params, which
OpenLayers couldn't set by itself like version, layers etc.
Arnd
-----Ursprüngliche Nachricht-----
Von: Andreas Hocevar [mailto:ahocevar at opengeo.org]
Gesendet: Dienstag, 27. Juli 2010 09:05
An: Arnd Wippermann
Cc: 'Anne Blankert'; users at openlayers.org
Betreff: Re: [OpenLayers-Users] SphericalMercator and SRS aliases
epsg:900913, epsg:3857, epsg:3785, epsg:102113
Please have a look at http://trac.openlayers.org/ticket/2756 and provide
feedback.
Regards,
Andreas.
On Jul 26, 2010, at 14:13 , Arnd Wippermann wrote:
> Hi Anne,
>
> I agree, something like 'projectionAlias' is better to understand than
> projection.
>
> Arnd
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at openlayers.org
> [mailto:users-bounces at openlayers.org] Im Auftrag von Anne Blankert
> Gesendet: Montag, 26. Juli 2010 00:02
> An: users at openlayers.org
> Betreff: Re: [OpenLayers-Users] SphericalMercator and SRS aliases
> epsg:900913, epsg:3857, epsg:3785, epsg:102113
>
>
> Hello Arnd,
>
> An option named "sphericalmercatoralias" is indeed very specific to
> sphericalmercator.
> Maybe, an option named "projection" is not specific enough. Users
> could think that such an option would somehow magically allow
> reprojecting the overlay projection to the map projection. Things
> would get mixed up, when sending bounding box coordinates using the wrong
projection.
> So maybe an option named "projectionalias" would be a better name than
> "sphericalmercatoralias" or "projection"?
> "projectionalias" stresses the fact that the projection itself should
> not be different, just the code that is being used for the projection.
>
> Anne
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/SphericalMercator-and-SRS-alias
> es-eps g-900913-epsg-3857-epsg-3785-epsg-102113-tp5311417p5336039.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list