[mapserver-users] Google tile schema to coordinates conversion
Mark Korver
mwkorver at gmail.com
Fri Jun 10 14:36:19 PDT 2011
there is also code here
http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/
On Fri, Jun 10, 2011 at 3:35 PM, Armin Burger <armin.burger at gmx.net> wrote:
> I discovered now the conversion method in the Mapserver source code in
> maptile.c => msTileSetExtent().
>
> armin
>
>
> On 10/06/2011 17:43, Armin Burger wrote:
>>
>> Hi all
>>
>> 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?
>>
>> I know that Mapserver CGI offers the tile mode for this. It works very
>> well, but I would need a Mapscript solution for more flexibility of the
>> request handling.
>>
>> Any hint appreciated
>>
>> Armin
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list