[GraphHopper] Doubt about vehicle in Android version

Jordi Urmeneta jordi.urmeneta at gmail.com
Wed Dec 31 15:46:59 UTC 2014


Hello,

I generated the graph changing the properties without problem.

Then, when I try to load the graph I get this error:

Version of edges unsupported: 9, expected:5

Am I doing something wrong?

The code that reads the graph is:

GraphHopper tHopp = new GraphHopper().forMobile();
tHopp.disableCHShortcuts();
tHopp.setEncodingManager(new EncodingManager("FOOT"));
tHopp.load(new File(mapsFolder, currentArea).getAbsolutePath());



Thanks!!


On 31 December 2014 at 16:22, Emux <devemux86 at gmail.com> wrote:

>  As instructions inside the config say you need to set:
>
> prepare.chWeighting=no
> graph.flagEncoders=foot
>
>  --
> Emux
> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141231/7e45abf0/attachment.html>


More information about the GraphHopper mailing list