Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Code to find TMS tile sets for lines, polygons?

B HallApr 25 2017 — edited May 5 2017

Curious...

Does anyone have code that finds map tile coordinates (zoom,x,y) for a given max zoom range for lines or polygons?

I'm thinking, given a line, find all the tiles on the line at the max zoom (just using ordinates or getting fancy and using distance along the line), then move up the zoom tree until you get one tile to cover the entire line. Only the minimum number of tiles for each zoom need to be listed for the item of interest. Same with a polygon, where the max zoom provides detail over it all the way up to one that includes the entire polygon at the minimum zoom.

It seems fairly straight forward, but a google search didn't return any hits. Of course here, I'd just write it in pl/sql to reference sdo_geometries and spit out the list to go grab with my tile downloader utility.

Bryan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2017
Added on Apr 25 2017
5 comments
711 views