[mapserver-users] Google tile schema to coordinates conversion
woodbri at swoodbridge.com
Sat Jun 11 10:10:32 EDT 2011
On 6/11/2011 8:36 AM, Niccolo Rigacci wrote:
> 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
> 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:
You might also want to look at mod_geocache as if supports all common
tiling schemes off of a single tilecache. It also has a demo mode that
will generate a sample OpenLayers page(s) to demo setup and access to
the cache using each tiling scheme.
More information about the mapserver-users