A bounding box (usually shortened to bbox) is an area defined by two longitudes and two latitudes, where:
- Latitude is a decimal number between -90.0 and 90.0.
- Longitude is a decimal number between -180.0 and 180.0.
They usually follow the standard format of:
bbox = left,bottom,right,top bbox = min Longitude , min Latitude , max Longitude , max Latitude
For example, Greater London is enclosed by:
The "export data" link on the main website allows you to draw a box, and the coordinates of the edges are shown to you.
Nominatim API returns a
boundingbox property of the form:
south Latitude, north Latitude, west Longitude, east Longitude
For example, Greater London in JSON format:
Visually defining a bbox
Boundingbox can be used to graphically define a BBOX and cut&paste the coordinates in various formats.
The OSM.org map has a feature to define a BBOX (using "manually select a different area"), which can then be used to export map data.
The order of values in the bounding box used by Overpass API is (South, West, North, East):
minimum latitude, minimum longitude, maximum latitude, maximum longitude
See more details in the Overpass API Wiki.