[OpenLayers-Users] epsg:3857 and google 900913

Arnd Wippermann arnd.wippermann at web.de
Tue Jan 15 13:12:54 PST 2013


Hi,

It should be possible, if you declare 

"projection":new OpenLayers.Projection("EPSG:3857") 

in the options of the WMS layer. Then the Getmap Request should be with
SRS=EPSG:3857.

Arnd


-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von
Sergeant_york
Gesendet: Dienstag, 15. Januar 2013 16:20
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] epsg:3857 and google 900913

Hello there!

There is a problem that I am struggling right now about projections. Correct
me if I am wrong:

1- A map with x numbers of layers should use same projection
2- Google 900913 and 3857 are the same projections in fact
3- If a wms service is giving 3857 EPSG layers, we can override google's
projection to EPSG:3857 and open spherical mercator, then use these layers
on google (or any other commercial) base layers
4- All wms layers will send requests with only 1 defined projection which is
equal to map object's projection

On the other hand I am searching a some kind of hack method to send requests
with 900913 to all layers+google and send 3857 requests with only one layer
even though base map projection is 900913. There is no problem if that 3857
layer acts like 900913 with all request parameters but only "srs" parameter
in openlayers 2.11.



 



--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/epsg-3857-and-google-900913-tp5027619.ht
ml
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list