[Tilecache] Python Rounding

Christopher Schmidt crschmidt at metacarta.com
Fri Oct 5 09:46:17 EDT 2007


On Fri, Oct 05, 2007 at 09:26:34AM -0400, JP de Miranda wrote:
> Josh,
> I'm using Google maps for my map display, my tilecache config is as follows
> [RResolution]
> type=WMSLayer
> url=http://server/tile_wms?
> extension=png
> srs=EPSG:4326
> bbox=-79.68751276289336,43.561425931436396,-79.08314961887517,43.877031578651845

You can't use TileCache to display tiles over Google Maps using
EPSG:4326. You'll need to use SphericalMercator: 

http://trac.openlayers.org/wiki/SphericalMercator

The bounding box and resolutions will be different, and your server will
need to support that projection.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list