[Tilecache] Mercator calculations ( GMaps ) for tilecache
Layer.py
Christopher Schmidt
crschmidt at metacarta.com
Sun Mar 25 13:26:35 EDT 2007
On Sun, Mar 25, 2007 at 10:02:24AM -0700, Bill Woodall wrote:
> On Sun, 2007-03-25 at 07:00 -0500, Christopher Schmidt wrote:
> > Can you give an example request to the backend WMS server when using a
> > Mercator projection option?
> Here is one,
>
> /cgi-bin/wmsveg?layers=Woodland&styles=&service=WMS&width=256&format=image%2Fpng&request=GetMap&height=256&srs=EPSG%3A4326&version=1.1.1&bbox=-118.125%2C53.4375%2C-117.421875%2C54.140625
So, this suffers from the same projection problems as the Google Maps
reprojection tricks in OpenLayers.
I'd like to see this patch reworked such that this is one option, but an
*additional* projection option is to have it actually reproject to a
different projection (the simple mercator/epsg:41001 as defined by the
WMS spec). I'm not sure this is possible. I'll try and make time to do
the legwork and determine a yes or no answer on this. As it is, it's
okay, but I've gotten enough complaints about lack of reprojection
support in OpenLayers that I don't want to get trapped in the smae place
with Google/TileCache without a solid answer first.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list