I prepared an online tool I was missing when I started to study how
the tiling using Spherical Mercator runs in Google Maps, Virtual
Earth, Yahoo Maps, OpenStreeMap and others... This tool can help you
to understand how are the tiles referenced and how they are stitched
together in the browser.

I think this Mashup could be an excellent starting point for people
who are interested in this subject, because it contains all the math
what you need for overlaying your own geodata from external sources:
it can be tiles pre-generated by MapTiler/GDAL2Tiles following the
OSGeo TMS recommendations, it can be raster data from WMS servers
probably cached by TileCache, or tiles from MSR MapCruncher etc.

The tool is excellent for fast debugging of tiling for particular
area, because you can use the search for display the tiles of a given
place.

A transparent tile with correct coordinates is displayed for every
original map tile by calling Google Chart API service.

Whereever you click the longitude/latitude boundaries of the
underlaying tile are displayed in WGS84 datum. Boundaries are also
displayed in projected Mercator coordinates (EPSG:900913, EPSG:3785)
and in pixels for active zoom level. This information is all you need
for generating custom map tiles.

The site contains also a Python script doing the coordinates and
bounds calculation offline.

So enjoy this mashup:
http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/

Best regards

Klokan Petr Pridal
http://blog.klokan.cz/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to