[OSM-talk] z12 bounding box
Chris Hill
chillly809 at yahoo.co.uk
Thu Jan 17 22:00:04 GMT 2008
I have a c# object which calculates the bounding box for a tile at a given zoom level. You can gladly have the CalcLonLat() function to look at / use if it helps (the object is still subject to change). The t at h gets a bigger box to account for rendering things close to the edge etc, but if you specify the exact bounding box any way that has any node in the box is retrieved completely.
cheers,
Chris
----- Original Message ----
From: Jeremy Adams <milenko at king-nerd.com>
To: talk at openstreetmap.org
Sent: Thursday, 17 January, 2008 8:55:15 PM
Subject: [OSM-talk] z12 bounding box
Is there an easy way to figure out what the
equivalent bounding box of a particular tile would be?
For instance, I want to use osmosis to cut out a
bounding box that contains all the info in a particular z12 tile (or any
zoom). How would I figure out what the lon and lat values would be for the
tile?
I'm guessing it's possible since the t at h client does it when it requests data from the API, but
I'm not clear on how it works.
Thanks,
Jeremy
___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080117/48b8f5f2/attachment.html>
More information about the talk
mailing list