Relation Check

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Relation Check
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 беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް



Relation check looks for errors in the relations of an .osm file. It checks the following relations:

Types checked
  • restriction
  • multipolygon (with "no-role ways")
  • route (with forward/backward/other distinction)
  • boundary (with enclaves/exclaves)
Output contains
  • Simple maps of relations with problems
  • Link to relations in OSM (history)
  • Links to "open ends" (JOSM)
  • Link to the Relation Analyzer
  • Tags
  • Errors
  • Mode can be given so only certain types will be checked
  • Mode picture can be switched on and off
  • optionally accepts a simple *.poly file (like osmosis) to draw file border into maps. Simple means that only the first polygon in the file is considered for evaluation.


  • Expect false positives at the relations that touch the border of the checked osm file! To limit the number of false positives a threshold of 1 km is implemented. If an open end of a relation is closer than 1 km to a border node then the relation will not be reported. Nevertheless be careful when the green border appears in the map...
  • I have experienced differences regarding relation members in OSM files and OSM history...
  • It is a good idea to just browse through the pictures in a folder on your disk.

Check results

no longer available




  • draw only cities (no towns) when area reaches certain limit
  • link to OSM Route Manager

Nice to have

  • gpx file per route
  • route check support for roundabouts
  • link to restriction analyzer?
  • (multi polygons out of *.poly files)
  • Relation Analyzer functionality (analyze and show all relations found in file even if they don't have an error?)
  • For routes calculate distances

See also