
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:
Tiles à la Google Maps: Coordinates, Tile Bounds and Projection
BTW This demo is part of the documentation of MapTiler application.
Hi Klokan,
ReplyDeletethanks for your great blog !
Do you know Oracle Maps ?
Best,
Friedhold
http://friedhold-matz.blogspot.com/
well… i visit your website first time and found this site very usefull and intresting !
ReplyDeletewell… you guys doing nice work and i just want to say that keep rocking and keep it up !!!!
Regards
Desoza
http://countryflooring.co.uk/
Great articles and it's so helpful. I want to add your blog into my rrs reader but i can't find the rrs address. Would you please send your address to my email? Thanks a lot!
ReplyDeleteBy Jordans 6
Beautiful tiles, especially those blue ones. I really want to try Bouchon and not just because of the tiles.
ReplyDelete