[OSM-dev] Use API to get bbox of way/relation ids?

John Smith deltafoxtrot256 at gmail.com
Sun Dec 20 02:37:10 GMT 2009


2009/12/20 Laurence Penney <lorp at lorp.org>:
> What's the best method of getting a bbox for a given way or relation
> id, using the API? Is it cached anywhere?

If you know the node/way/relation ID you don't need to specify the bbox..

http://www.openstreetmap.org/api/0.6/node/<nodeid>
http://www.openstreetmap.org/api/0.6/way/<wayid>/full
http://www.openstreetmap.org/api/0.6/relation/<relationid>/full




More information about the dev mailing list