I am trying to map match GPS traces onto waterways using the Open Source Routing Machine (OSRM). I have a working set-up, but for some reason some waterways are not being map matched to, eventhough the GPS trace nearly coincides with the waterway.
How can I debug this to find out why OSRM is not matching onto a certain waterway?
What I've tried
JOSM
I've downloaded JOSM and inspected the properties of the problematic waterway. It seems connected correctly to the rest of the network and I could not find any obvious issues. The only property which seemed possible problematic was a "direction" of the waterway.
Reversing trace
To check if the direction of a waterway was the issue I reversed my GPS trace by sorting the data by the unixtime column in descending order and then overwriting the unixtime column by the original. After passing that as the timestamp parameter in the match reques this did not change the output.
OSRM logging
I've set the logging level of OSRM to DEBUG
, but this did not yield any helpful messages in the log.