This repository is for the reporting of Map-data-issues regarding OSM & OTP. Together we build on the improvement of the data we use to travel. We created this repository to explain how we work and how you maybe can contribute to the improvements.
Errors occur in the maps using OpenTripPlanner (OTP) or OpenStreetMap (OSM). Issues that occur are for example walking routes, missing connections, positioning of stations, GTFS-lines and missing exits. In this document trip planning is explained, how to find which issues and already some tips on how they could possibly be solved. But before explaining the different issues first is explained how to actually find issues using OpenTripPlanner.
Issues can be found using different sources. First, start by making a trip in OTP. So far we mainly focused on train routes in The Netherlands. To start you set the starting point by clicking the right mouse button and choose: Set as Start Location (figure 1). Then go in either direction along the railroad and set the End Location close to another train station.
OTP then calculates a route between the two set locations.
Zoom in on one of the stations to have a better look. Most of the times nothing strange appears, however sometimes one can see that something must be incorrect. For example in figure 3 where a trip is created to a destination close to the station. When having a good closer look at the image a long walk (grey line) is supposed to be made to reach the End Location. However, the icon of the train station is next to the red flag of the End Location and under the red line (GTFS train line). The assumption arises that something has to be incorrect in this situation.
The problem that occurred here is that the red line from the train probably has a stop link in the incorrect place. The suggestion already occurred when looking at the map, however a double check is done through Google Streetview. The result of this issue is an unnecessary 700-meter walk from an impossible place to leave the train and platform. In order to change this the stop link should be placed close to the train station where the platforms are.
Now we know how to create a trip and how to recognize an issue. Lets see which other issues can occur when creating train routes in OTP besides the station positioning issue that occurred at Almere Poort. For all stop linker issues, check here: Stop link issues
Download GTFS data set
Unzip the file
Open the file: stops.txt
Find the station
Find the stations latitude longitude (latlong)
Paste it in Google Maps
When you have found some incorrect latlong's, paste them underneath the right issue. Stop Link issues
Some of the issues might look the same, however they are slightly different and all have different impact on the outcome in OTP or OSM.
In the image below the suggested route at Hilversum Central Station is longer than needed because there is a connection missing in the crossing paths. When a trip is planned, OTP or OSM calculated these paths as two crossing routes that might be separated from each other, for example by a bridge. However, there is no bridge and they actually do cross on the same level. An intersection to connect both paths is missing (black dot) in OSM. Until now this route suggests you walk an extra loop, because of this missing intersection.
To make it more clear the issue in the image above is explained further, making you eventually walk to the southwest of the train station. The starting point is the end of the long red line: Looking at the image above exit at the right side of the yellow lines. Instead of going left (northwest) it makes you walk right (southeast) towards the first intersection (very short walk). From there you go left (northeast) to the second intersection. There you should turn to the left again going in a southeastern direction, crossing the railroad track. Right before you cross the first railroad track, a brighter green-blue line crosses the darker one you are walking on. Where it crosses, there is no intersection (black dot) drawn. Because there is no intersection drawn, it looks like you cannot make a left turn but only continue walking in a northwest direction. That is why OSM and OTP make you walk the extra loop.
In the image below you can see a GTFS-issue. The green line is the bus going from A to B. However, in this image you can see where the green line is connecting A and B in a direct straight line, which is actually not possible. Buildings, railroads, walking areas and other objects are in between these two points, making it an impossible route. In GTFS the route should be drawn over the roads it is actually using. So when you see a line like this, it is not yet entered in the right way in GTFS. This can occur because the public transport operators are not mandatory to provide this information or if they just not provided the information.
The next image shows two stations in Winterswijk. There is no connection between the start location and end location that uses public transport services. Instead of taking the train for 2 minutes this suggested route requires a 1,3 km walk. However, during week weekdays the train will run twice an hour. It also exceeds the maximum set walking distance, so it makes no sense that the train or bus connection is missing.
The issue here has some overlap with the missing intersection at station Hilversum and incorrect stop links (arriving at wrong side) of Almere Poort. However, there is also a walking line missing making it more difficult to reach the final destination in Geleen-Lutterade. Where the dark grey (walking route) and the light green/blue line cross, there the intersection is missing. So you have to walk all the way further to a connection that does eventually link to another path towards your final destination. However, even if the intersection was there another connection missed to make the walk shorter. Between the flag of end location and light green/blue line, there should be a walking path in the corner of the horseshoe shape and the grey line of the end location. This reduces the walk to around 100 meters instead of 600 meters as it is now. In OSM we found that one of the issues was also that pedestrians were not alloud to enter the bicycle path, which made it impossible to walk they way they were supposed to be.
The maximum walk distance has much influence on the route and travel time. When the maximum walking distance is set higher, the route can change and also the travel time can change. Lets take a look at the following example and choose a final destination at around 1600 meters from the train station.
When traveling in Rotterdam and your maximum walking distance is set at 1500meters the route is as following:
In the image above you will see that the traveling person has a short bus connection and still a long walk before reaching the final destination. The time of arrival is 10:46. In the figure 9 below you will see a different route.
The maximum walking distance in the image above is set at 2000 meters. The walk is a little longer, however this is only 100 meters extra. The time of arrival is 10:35. The route is 10 minutes shorter and no bus fare is needed so it is also cheaper.
In earlier issues the missing walking connections are explained. In this image another long walking route is created, but this has nothing to do with missing intersections. However, it does occur due to a missing connection between the platform and the exit. The exit or platform is not connected to the west side of the station, which leads to an extreme walking loop. However, there is a walking crossing over the railroad tracks which makes the actually much shorter and directly. Here, the exit should be made in both directions to avoid long walking routes.
In the image below a long walking loop is created between the exit and end location while they are next to each other. This probably occurs because the bike path and road are not connected.
The figure here shows that the assumption above is correct. There is no connection between the bicycle path and the road. However, through Google Streetview a pedestrian crossing is seen that connects both sides. And even without a pedestrian crossing a possibility should be to cross the street anyway to reach the final destination instead of going 100 meters left, cross the street and than come back for another 100 meters.
DEBUG layer
Otp has a debug layer which can help you identify issues and anaylze logic behind trip planning To enable debug layers:
Go to planner.plannerstack.com or a trip url.
At the end of the url ad: /?debug_layers=true
At the top right corner multiple layers can now be selected: example
you can select:
a) Wheelchair acces: Every path or place which is wheelchair accesible
b) Bike safety: All paths where travel by bike is possible
c) Travel permissions: Shows all the path accesible by foot which might not be on the map. For example how to get around a train station etc.
@todo
OpenStreetMap is an openly licensed map of the world being created by volunteers and is editable by everyone who wants to contribute
How to edit OSM
Everybody can edit Openstreetmap. Following is a list of editors which can help you edit OSM data. The first one(ID) is the one currently used by default on openstreetmap
Summary
Online editor.
Pros
Summary
Flash online editor.
Pros
Cons
Summary
JOSM offers a large set of features and useful tools for a wide range of editing styles: It will either read in GPX tracks from your hard disk, or download them from OSM. Aerial imagery can easily be downloaded as a background for tracing. JOSM also supports photo mapping and audio mapping. Once you have completed your edits, you can upload them to OSM.
Pros
Cons
Summary
Merkaartor is a small editor for OpenStreetMap available under the GNU General Public License and developed using the Qt toolkit.
Pros
Cons
Summary
Vespucci is the first OpenStreetMap-Editor for Android and has been available and developed since 2009.
Pros
Summary
Navigation app that allows you to add, delete or change POIs.
Pros
Cons