[Tilecache] TMS question

Christopher Schmidt crschmidt at metacarta.com
Mon Jan 11 16:06:15 EST 2010


On Mon, Jan 11, 2010 at 08:26:47PM +0100, Guillaume Sueur wrote:
> Hi Chris,
> 
> I would expect TC to use the same grid as TMS in TMS mode, regardless to
> Google. If Klokan mapTiler's grid is correct, north-east spain is 32,40
> at zoom level 6. Tilecache TMS is giving 32,23 (like google), but not
> with exactly the same extent (shifted towards south). 
> Actually it is not the worst. I've got an OSM wgs cache over France, and
> called from google earth with kml extension makes it go to Gulf of
> Mexico... 
> Another example : shouldn't tile 0/0/0.png cover the whole world ?

You're comparing an EPSG:4326 to a EPSG:900913 map... and thinking they'll
have the same tile IDs? Is that what you're asking?

-- Chris

> Regards
> 
> Guillaume
> 
> 
> Le lundi 11 janvier 2010 à 13:33 -0500, Christopher Schmidt a écrit :
> > On Mon, Jan 11, 2010 at 03:42:35PM +0100, Guillaume Sueur wrote:
> > > Hi,
> > > 
> > > I'm wondering about the TMS grid used in TC. The request I see here
> > > (http://labs.metacarta.com/wms-c/tilecache.py/1.0.0/basic/5/32/23.png)
> > > doesn't match with what I see there
> > > http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/
> > > for that area (north-east spain). 
> > > 
> > > Actually, does TileCache follow a specific TMS grid ?
> > 
> > Not sure why you'd expect TMS and Google to be the same; Google is indexed
> > from the top left corner, TMS from the bottom left.
> > 
> > Regards,
> 
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list