[OpenLayers-Dev] wms layer on sphericalmercator

Jachym Cepicky jachym.cepicky at gmail.com
Mon Sep 22 05:07:22 EDT 2008


hi,

previously, it was possible, to overlay e.g. WMS layer on top of
SphericalMercator layer (google), as demostranted in example [1].
According to documentation [2], using reproject:true is deprecated now.

According to available documentation [3][4], it is no longer possible
to overlay e.g. WMS Layer in epsg:4326 on top of google maps layer.
You have two possibilities now:

1) setup your wms server, so it supports epsg:900913 on the output
2) create proxy wms, which will accept epsg:4326 on the input and
covert the images to epsg:900913 on the output

Do I miss some point? Could the deprecated "reproject" attribute go
back to OpenLayers, so you could overlay epsg:4326 on top of
epsgf:900913?

Thanks,

Jachym

[1] http://openlayers.org/dev/examples/google-reproject.html
[2] http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Layer/HTTPRequest-js.html#OpenLayers.Layer.HTTPRequest.reproject
[3] http://trac.openlayers.org/wiki/SphericalMercator
[4] http://crschmidt.net/~crschmidt/spherical_mercator.html

-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub



More information about the Dev mailing list