[GraphHopper] cannot load graph

Jaak Laineste jaak at nutiteq.com
Mon Sep 28 06:49:41 UTC 2015


Hello,

I have some graphs, but Android app (with 0.4.1 version library) cannot load them with message:
Encoding does not match:
    Graphhopper config: car|speedFactor=5.0|speedBits=5|turnCosts=false
    Graph: car|speedFactor=5.0|speedBits=5|turnCosts=false|version=1, dir:/sdcard/Download…

Indeed the graph file properties file has “graph.flagEncoders=car|speedFactor=5.0|speedBits=5|turnCosts=false|version=1” line. So the problem seems to be additional “version=1” in the properties. How/why this is there, and how to overcome the issue, preferably without regenerating graph packages?

Jaak


More information about the GraphHopper mailing list