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

Laurence Penney lorp at lorp.org
Sun Dec 20 20:43:30 GMT 2009

Thanks... seems a little wasteful to have to get all the individual  
nodes and tags. Is this the only way to get the bbox of a given way  
without one's own planet db?

- L

On 20 Dec 2009, at 02:37, John Smith wrote:

> 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