[Tilecache] Tilecache projection problem w/ Google Maps and
Geoserver WMS
Christopher Schmidt
crschmidt at metacarta.com
Mon Nov 10 21:32:48 EST 2008
On Mon, Nov 10, 2008 at 09:34:36AM -0800, jordanderson wrote:
>
> Hi all,
>
> I'm able to get Tilecache up-and-running a WMS layer from Geoserver. It's
> working great on its own. I'd also like to get it working with an existing
> OpenLayers application I've built that includes a Google Maps layer and some
> other vector layers. The OpenLayers map is EPSG:900913; the WMS layer is
> EPSG:4623.
> Tilecache configuration:
>
> [nycmap]
> type=WMSLayer
> layers=nycmap
> url=http://myserver.com:8080/geoserver/wms?
> mime_type=image/png8
> extension=png
> srs=EPSG:4623
> bbox=-180.0,-90.0,180.0,90.0
This is wrong. You need to specify your srs as 900913, and your bbox as
the spherical mercator bbox. If you're using a recent enough version of
TileCache, you may be able to do this with just a
"spherical_mercator=true" line in your config.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list