Hi,
I believe you cannot overlay EPSG:4269 on top of EPSG:900913 without
reprojection, because these are different coordinate systems.
Google maps uses a fixed projection: spherical mercator (EPSG:900913
alias EPSG:3857 alias EPSG:102113). This projection cannot be changed.
Your openlayers c
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 woul
Hmm,
I didn't test my code properly, (layers without option sphericalmercator
stopped working). The following code should do better (Version >= 1.3 not
yet tested):
// override OpenLayers.WMS.getFullRequestString class member function
OpenLayers.Layer.WMS.prototype.getFullRequestString = functi
I agree with Phil, their should be built-in support for spherical mercator
aliases after all. The (now) documented work-around does not work if you
need to overlay multiple layers from providers that each support a different
alias.
The idea that Phil published seems to be the best solution I've s
Thanks for pointing to this fairly complete documentation. However,
the subject of why and how to use the epsg:900913 aliases and the
caveats is not yet included. I've added a section "SphericalMercator and
EPSG aliases" to http://trac.openlayers.org/wiki/SphericalMercator.
I don't think user
Hello Bart,
My 2 cents:
In my opinion it is quite difficult for users to discover:
- OpenStreetMap, Google, Bing, Yahoo etc. use a projection called
'SphericalMercator'
- 'SphericalMercator' in OpenLayers uses code 'epsg:900913'
- there exist multiple aliases for 'epsg:900913' and some services
ayer.SphericalMercator.projectForward);
>>
>> OpenLayers.Projection.addTransform("EPSG:3857", "EPSG:4326",
>> OpenLayers.Layer.SphericalMercator.projectInverse);
>> OpenLayers.Projection.addTransform("EPSG:102113", "EPSG:4326&q
Transform("EPSG:102113", "EPSG:4326",
OpenLayers.Layer.SphericalMercator.projectInverse);
OpenLayers.Projection.addTransform("EPSG:3785", "EPSG:4326",
OpenLayers.Layer.SphericalMercator.projectInverse);
Questions:
- is this the way to support aliases for 900913 and support
MousePosition and MeasureCo