OSM Route Manager

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

OSM Route Manager (available on http://osmrm.openstreetmap.de/) is a relation debugging tool aiming to be an alternative to Relation Analyzer without some annoying lacks of the latter:

  • Sub- and super-relation support (see Relation:route#Multiple routes share the same path)
  • Roundabout support (implemented by adding one virtual node in the centre of the roundabout)
  • Support for excursions and variants in the GPX export function (in OSM Route Manager, you compose your own route by combining segments of the route)

All way members (and members of sub-relations) of a route are analyzed and grouped into segments. Each segment is connected to zero or more than one other segment. Ways that are connected to exactly one other way belong to the same segment.

The Route Manager is written in Java/JSP. Most of the time that it takes to calculate the segments is currently used by the API requests, the JavaScript painting the vector lines on the map also takes a lot of CPU time.

API

You can use the data created by OSM Route Manager using the GPX export function. It is available under the URL http://osmrm.openstreetmap.de/gpx.php?relation=%d, where %d is the number of the relation.

Greasemonkey script

There is a Greasemonkey script that shows a link to OSM Route Manager on the relation pages on www.openstreetmap.org.

Source code

The source code is available under AGPL-3 on GitHub. The project is maintained by User:Candid Dauth. Bugs can be reported there.