<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>-- Scroll down for English version --<br></div><div><br>Hallo an alle Eisenbahnmapper,<br><br></div>ich spiele schon länger mit den ÖPNV-Routendaten in OSM und möchte euch heute meine <a href="http://osmtrainroutes.bplaced.net" target="_blank">Zugroutenanalyse</a> vorstellen.<br><br></div>Das Programm funktioniert so:<br></div>Man wählt eine Route durch Eingabe der OSM-ID der dazugehörigen Relation und wählt einen passenden Zug dazu. Das Programm lädt sich dann die Relation und alle dazugehörigen Wege und Punkte von der Overpass-API. Daraus berechnet es unter anderem die Durchschnittsgeschwindigkeit und erstellt ein Weg-Geschwindigkeitsdiagramm. Außerdem zeigt es Daten zu Streckenbenutzern, Streckenbetreibern, Elektrifizierung etc.<br></div><div>Es gibt auch eine Übersicht über alle bisher abgefragten Routen um einen Vergleich zu ermöglichen und zum einfacheren Aufrufen bereits bekannter Routen.<br></div><div>Die Routen werden für ca. 50 Tage gecached. Am Seitenende findet ihr das Datum der Routendaten und könnt die Daten dort auch manuell aktualisieren.<br></div><div><br></div>Die Auswertung ist natürlich nur so gut, wie es die OSM-Daten sind. Bei noch nicht eingetragenen Geschwindigkeitswerten greift das Programm auf Standardwerte (abhängig von rail/tram/subway, usage=*, service=*, highspeed=* und Zugbeeinflussungssystemen) zurück. Die Auswertung von Haltestellen klappt bisher nur fehlerfrei, wenn der Punkt auch auf der Route liegt und ein name=* oder description=* tag hat.<br><br></div>Einige Beispielrouten:<br></div>Meine Stammstrecke: <a href="http://osmtrainroutes.bplaced.net/index.php?id=1483681&amp;train=BR425" target="_blank">RB2 Karlsruhe - Mannheim</a><br></div>Eine der Routen mit der höchsten Durchschnittsgeschwindigkeit: <a href="http://osmtrainroutes.bplaced.net/index.php?id=2905798&amp;train=Class373" target="_blank">Eurostar Paris - London</a><br></div>Eine der längsten Routen in Deutschland: <a href="http://osmtrainroutes.bplaced.net/index.php?id=1797144&amp;train=ICE1" target="_blank">ICE11 München-Berlin</a><br><br></div>Das ganze ist als eine Demo zu sehen und dazu gedacht Feedback von anderen Eisenbahnmappern zu erhalten. Bisher ist das Programm noch nicht besonders fehlertolerant und noch nicht für Tablets, Smartphones und ältere Webbrowser geeignet. Es können also noch Fehler und Bugs auftreten.</div>Ich werde wahrscheinlich auch zu einem späteren Zeitpunkt den Code auf <a href="https://github.com/sb12/OSMTrainRouteAnalysis" target="_blank">GitHub<span></span><span></span></a> veröffentlichen.<br><br></div>Ich freue mich über Fehlermeldungen, Verbesserungsvorschläge und Feedback per <a href="mailto:osm.mapper999@gmail.com" target="_blank">Mail</a>, <a href="https://www.openstreetmap.org/message/new/mapper999" target="_blank">OSM-Nachricht</a> oder <a href="https://github.com/sb12/OSMTrainRouteAnalysis" target="_blank">GitHub</a>.<br><br></div>Viele Grüße<br><br></div>Steffen (mapper999)<br><br>-----------------------------------------------------------------------------------<br><div><div><div><div><div><div><div><div><div><div><div><div><div>Dear railway mappers,<br></div><div><br></div><div>I&#39;ve been playing around with public transport routes in OSM for a while now and want to present my <a href="http://osmtrainroutes.bplaced.net" target="_blank">Train Route Analysis</a> to you.<br></div><br></div>How does it work:<br></div><div>You can choose a route by entering the OSM id of the relation and choose a train.<br>The program then gets the relation and all ways and nodes from the Overpass API. Based on this data the average speed and a way-speed-diagramm is calculated. 
It also shows details about track users, track operators and electrification of the route.<br></div><div>There&#39;s also an overview of all routes, so it is possible to compare routes and choose already known routes.<br></div><div>The routes are cached for about 50 days, you will see the date of the last update at the bottom of the page, where you can also manually update them.<br></div></div><div><br></div><div>Of course the program is only as good as the OSM data. If the maxspeed is unknown it uses default values (based on railway/tram/subway, usage=*, service=*, highspeed=*). Please also note that it cannot deal with mph, yet. The evaluation of stop positions also needs some more work as it only correctly deals with stop positions that are on a way and have either a name=* or a description=* tag.<br><br></div></div>Some examples:<br></div>My every day route: <a href="http://osmtrainroutes.bplaced.net/index.php?id=1483681&amp;train=BR425" target="_blank">RB2 Karlsruhe - Mannheim</a><br></div>One of the fastest routes in Europe: <a href="http://osmtrainroutes.bplaced.net/index.php?id=2905798&amp;train=Class373" target="_blank">Eurostar Paris - London</a><br></div>One of the longest routes in Germany: <a href="http://osmtrainroutes.bplaced.net/index.php?id=1797144&amp;train=ICE1" target="_blank">ICE11 München-Berlin</a><br><br></div><div>Please see this as a demo to collect feedback from other railway mappers. The program is not very fault tolerant at the moment and not suitable for smartphones, tablet computers and older web browsers yet. There are probably still some bugs and unexpected errors.<br></div><div>I will probably release the source code on <a href="https://github.com/sb12/OSMTrainRouteAnalysis" target="_blank">GitHub<span></span><span></span></a> at some point.<br></div></div><br></div>I&#39;m happy about any feedback, bug reports or suggestions via <a href="mailto:osm.mapper999@gmail.com" target="_blank">Mail</a>, <a href="https://www.openstreetmap.org/message/new/mapper999" target="_blank">OSM message</a> or <a href="https://github.com/sb12/OSMTrainRouteAnalysis" target="_blank">GitHub</a>.<br><br></div>Greetings from Germany<br><br></div>Steffen (mapper999)<br><br></div>