[GraphHopper] Customer Flagencoder

Fred Laurent fredlaurent31 at gmail.com
Fri Jul 3 07:08:18 UTC 2015


hello ,
excuse me, I have a really problem to create My customer Flag encoder
this is my class MyFlagEncoder

I run My app with :
GraphHopper tmpHopp = new GraphHopper().forMobile();
              tmpHopp.setEncodingManager(new EncodingManager(new
MyFlagEncoder(5,5,0))); // Or (new MyFlagEncoder());

I have Error : Graphhopper config:
Mycar|speedFactor=5.0|speedBits=5|turnCosts=false|version=1
Graph:
car|speedFactor=5.0|speedBits=5|turnCosts=false|version=1,foot|speedFactor=1.0|speedBits=4|turnCosts=false|version=1,bike|speedFactor=2.0|speedBits=4|turnCosts=false|version=1,
dir:/storage/sdcard0/graphhopper/maps/XXX-gh/
Thank you All,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150703/38c6d1b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyFlagEncoder
Type: application/octet-stream
Size: 1494 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150703/38c6d1b9/attachment.obj>


More information about the GraphHopper mailing list