[OSM-talk] Algorithm re Count of OSM Tiles

2013-09-22 Thread Arnie Shore
All, given a coordinates range and zoom range, is there an available algorithm that will calculate the count of OSM tiles involved? Thanks for any help on this. AS ___ talk mailing list talk@openstreetmap.org

Re: [OSM-talk] Algorithm re Count of OSM Tiles

2013-09-22 Thread Peter Barth
Hi, Arnie Shore schrieb: All, given a coordinates range and zoom range, is there an available algorithm that will calculate the count of OSM tiles involved? Without rounding and assuming negative values vor lat/lon in case of south/west coordinates and start and end being zoomlevels that are

Re: [OSM-talk] Algorithm re Count of OSM Tiles

2013-09-22 Thread Dave Sutter
I think that needs testing. Also, it should be pointed out that it is using an approximation for calculating the tileX and tileY. Sent from my iPhone On Sep 22, 2013, at 10:18 AM, Peter Barth osm-t...@won2.de wrote: Hi, Arnie Shore schrieb: All, given a coordinates range and zoom range,

Re: [OSM-talk] Algorithm re Count of OSM Tiles

2013-09-22 Thread didier2020
just read this ? http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames I think that needs testing. Also, it should be pointed out that it is using an approximation for calculating the tileX and tileY. Sent from my iPhone On Sep 22, 2013, at 10:18 AM, Peter Barth osm-talk at won2.de wrote: