0

What would be the Overpass query to export minimum bounding rectangles (MBR) of cities/provinces/countries from OpenStreetMap?

2
  • 2
    Are you looking for exporting administrative boundaries from osm? AFAIK MBR does not exist as such in osm. Please edit your question
    – juminet
    Jun 29, 2017 at 6:22
  • @juminet no I'm looking for actual bounding boxes.
    – surlac
    Jul 1, 2017 at 0:20

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.