Hello everybody,
I’m new to Graphhopper. I’ve been trying to run map matching tests within the core project for different areas. I tried to run the algorithm on two maps from http://download.geofabrik.de, Bremen and Uruguay, and both of those tests returned an error message similar to this:
[main] ERROR com.graphhopper.matching.MapMatchingMain - Problem with file .\matching-core\src\test\resources\uruguay.gpx Error: Sequence is broken for submitted track at time step 0 (1561 points). observation:-30.78149,-57.708054,NaN, 1523649713000, 0 candidates: []. If a match is expected consider increasing max_visited_nodes.
java.lang.IllegalArgumentException: Sequence is broken for submitted track at time step 0 (1561 points). observation:-30.78149,-57.708054,NaN, 1523649713000, 0 candidates: []. If a match is expected consider increasing max_visited_nodes.
at com.graphhopper.matching.MapMatching.computeViterbiSequence(MapMatching.java:443)
at com.graphhopper.matching.MapMatching.doWork(MapMatching.java:239)
at com.graphhopper.matching.MapMatchingMain.start(MapMatchingMain.java:114)
at com.graphhopper.matching.MapMatchingMain.main(MapMatchingMain.java:44)
I’m generating the .gpx file via the Graphhopper web application, and then running the map matching algorithm from command line on Babun. This procedure has worked for other maps from geofabrik such as Leipzig and Saarland. If somebody could spare any insight as to why this is the case I would be very grateful.
Many thanks