[mapserver-users] Google tile schema to coordinates conversion

Niccolo Rigacci niccolo at rigacci.org
Sat Jun 11 08:36:24 EDT 2011


On Fri, Jun 10, 2011 at 05:43:27PM +0200, Armin Burger wrote:
> 
> I would like to set up a scripting solution based on MapScript that
> replies correctly to requests using the Google tile schema x+y+z.
> Does anybody know a formula how to transform the XYZ request values
> to bounding box coordinates in the Google Spherical Mercator
> projection?

Just for the curious: the Bing map uses Quadkeys into the URL 
instead of x+y+z, here you can find the math beyond that:

http://msdn.microsoft.com/en-us/library/bb259689.aspx


-- 
Niccolo Rigacci
Firenze - Italy
Tel. ufficio: 055-0118525


More information about the mapserver-users mailing list