Re: [OpenLayers-Users] Overlay tiger data on top of google maps, fail

2010-08-18 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-25 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-25 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-24 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-19 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-19 Thread Anne Blankert
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

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-19 Thread Anne Blankert
ayer.SphericalMercator.projectForward); >> >> OpenLayers.Projection.addTransform("EPSG:3857", "EPSG:4326", >> OpenLayers.Layer.SphericalMercator.projectInverse); >> OpenLayers.Projection.addTransform("EPSG:102113", "EPSG:4326&q

[OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-19 Thread Anne Blankert
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