I have the ID of the relation, and I need a API that returns its boundary box. Example: the relation 298204, PS: I need BBOX in standard format (ex. to use in Overpass). asked 30 Jul '18, 16:48 ppKrauss |
Finding the bounding box
gives the information you want (but not quite in the right format. A bit if editing will get it.
Using a relation within OverpassAssuming you want to do the query mentioned in Best way to retrieve a CSV table from Overpass , the following query uses the area defined by the relation, rather than a bounding box.
In a bit more detail
answered 30 Jul '18, 23:47 andrewblack |
If you know the relation ID, you can use this straight in Overpass. Are you trying to find all places within (in this case) São Paulo
Hi @andrewblack, thanks. Well, the question was oriented to BBOX but will be welcome an extra "how to use relation ID with overpass" (instead BBOX, as spatial mask to the query).