Hello GraphHopper users
I am using Geolife trace available from here,
In this dataset the files are with “*.plt” format so to use it with GraphHopper I convert them to gpx
I had also dwonload Beijing.osm.pbf file from OSM website
I have run successfully the example in GraphHopper Github but unfortunatly when I run
./map-matching.sh action=match gpx=./matching-core/src/test/resources/trace.gpx
I got this error
using java
2016-08-15 02:00:17,295 [main] INFO com.graphhopper.matching.MapMatchingMain - loading graph from cache
2016-08-15 02:00:20,252 [main] INFO com.graphhopper.matching.MapMatchingMain - Setup lookup index. Accuracy filter is at 40m
2016-08-15 02:00:20,257 [main] INFO com.graphhopper.matching.MapMatchingMain - Now processing 1 files
2016-08-15 02:00:20,503 [main] ERROR com.graphhopper.matching.MapMatchingMain - Problem with file ./matching-core/src/test/resources/trace.gpx Error: To few matching coordinates (0). Wrong region imported?
java.lang.IllegalArgumentException: To few matching coordinates (0). Wrong region imported?
at com.graphhopper.matching.MapMatching.doWork(MapMatching.java:156)
at com.graphhopper.matching.MapMatchingMain.start(MapMatchingMain.java:108)
at com.graphhopper.matching.MapMatchingMain.main(MapMatchingMain.java:43)
gps import took:0.07630006s, match took: 5.48174E-4
`
I don’t know what is the raison of that problem, my osm file,gpx or what?
I hope I will find a solution to that problem & Thank you in advance
Best regards