[GraphHopper] Version incompatibility

Christian Doerr chrdoerr at gmail.com
Fri Oct 10 07:30:01 UTC 2014


Hello,

I am using GraphHopper as part of Nutiteq's SDK for offline maps on
Android, and I have been running into issues with version incompatibilities
of the nodes and edge files Graphhopper generates. My question is which
version of GraphHopper I should use to generate a gh-package with the
following version numbers:

graph.dimension=2
nodes.version=3
edges.version=5
geometry.version=3
locationIndex.version=2
nameIndex.version=2


Nutiteq says they have generated their example with Graphhopper v0.3, when
I do this the node file is in version 2, instead of version 3, which throws
an error in the SDK. Also, the other files are in versions too early:

nodes.version=2
edges.version=4
geometry.version=2
locationIndex.version=2
nameIndex.version=2


When I try GraphHopper v0.4, an exception get thrown in the load() function
of GraphHopper (
https://github.com/nutiteq/hellomap3d/blob/master/AdvancedMap3D/src/main/java/com/nutiteq/advancedmap/activity/GraphhopperRouteActivity.java),
as the version of the edges (7) is too new and unexpected:
graph.dimension=2
nodes.version=3
edges.version=7
geometry.version=3
locationIndex.version=2
nameIndex.version=2

I have not been able to find a release between 0.3 and 0.4, at which point
in the development was the version of the files changed so that I can work
from that version in the github repo? Would there be an easier way to
generate a gh package with the versions numbers above which the SDK expects?

Thank you very much in advance,

Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141010/bb95809b/attachment.html>


More information about the GraphHopper mailing list