This worked great for what I wanted to do. Thanks to everyone for the great info.
-Jeremy Original Message ----------------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Adams schrieb: > 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. Actually the [EMAIL PROTECTED] client uses a bigger bbox than the tile itself, but there is a reasonably simple formula to get from x,y,zoom to lat/lon and vice versa. for perl there are the functions in tahproject.pm[1] Project and ProjectL [1] http://svn.openstreetmap.org/applications/rendering/tilesAtHome/tahproject.pm - -- Dirk-Lüder "Deelkar" Kreie Bremen - 53.0952°N 8.8652°E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHj8enFUbODdpRVDwRAuB6AJ4jByb2zjuHYGppEV2CqWRPlbEEJwCfVRVV lHgNesYr8F239IBL+97TQYg=id+P -----END PGP SIGNATURE----- _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

