Script for transforming XYZ or TMS tiles numbers to 3857 coordinates.

508 views
Skip to first unread message

CommandLine

unread,
Aug 23, 2018, 10:27:53 AM8/23/18
to MapTiler Community
Is there a script for transforming XYZ or TMS tiles numbers to 3857 coordinates. Preferably js or php.  Or some math I can put into a script.  

As of now I have to manually reference two TMS tile numbers on your tile site to grab coordinates for  a -bbox.  

Any help is much appreciated. 

Thanks. 

MapTiler

unread,
Aug 23, 2018, 12:32:36 PM8/23/18
to MapTiler User Group

--
You received this message because you are subscribed to the Google Groups "MapTiler Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maptiler+u...@googlegroups.com.
To post to this group, send email to mapt...@googlegroups.com.
Visit this group at https://groups.google.com/group/maptiler.
For more options, visit https://groups.google.com/d/optout.

Levi Miller

unread,
Aug 24, 2018, 8:25:46 AM8/24/18
to mapt...@googlegroups.com
Thankyou! I found the script shortly after posting.Thanks for the ported links.  I prefer js over python.  

You received this message because you are subscribed to a topic in the Google Groups "MapTiler Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maptiler/y67Oo_xBYGI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maptiler+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages