What would be the Overpass query to export minimum bounding rectangles (MBR) of cities/provinces/countries from OpenStreetMap?
1 Answer
As mmd2 says, you can use out bb;
(see the API documentation here and discussion on this action here (was print
- now out
). BB in this context means Bounding Box (aka MBR).
However, if you have already downloaded the administrative boundaries of these features, you can use your favorite GIS to derive/show their BBoxes e.g. ST_Envelope in PostGIS. For QGIS do a search on this forum and there are plenty of related posts like this one.