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 [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>
To: [email protected]
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 [EMAIL PROTECTED] 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/_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk