Bounding Box

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Bounding Box
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Baso Minangkabau · bosanski · brezhoneg · català · čeština · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · português do Brasil · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް

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:

{{bbox|-0.489|51.28|0.236|51.686}}
(bbox=-0.489,51.28,0.236,51.686)

The "export data" link on the main website allows you to draw a box, and the coordinates of the edges are shown to you.

In a WikiProject having a params sub-page, you can get the bounding box by using the template pBbox.

Nominatim API

Nominatim API returns a boundingbox property of the form:

 south Latitude, north Latitude, west Longitude, east Longitude

For example, Greater London in JSON format:

 "boundingbox":["51.2867602","51.6918741","-0.5103751","0.3340155"]

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.