<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<b>Hello Peter,</b><br>
<br>
I'm trying to search some information about generating routing
files, but no success, so it will be nice, if you may point me on
correct way. I'm trying to generate routing files for Android (on
Android using latest graphhopper-0.4-SNAPSHOT-android) and ...<br>
<br>
Sample map - czech-republic-latest.osm.pbf, 390 MB<br>
<br>
<u>Generating</u><br>
osmreader.acceptWay=car<br>
result: 93 MB, works fine<br>
<br>
osmreader.acceptWay=foot<br>
result: 140 MB, works fine<br>
<br>
osmreader.acceptWay=bike<br>
result: 150 MB, works fine<br>
<br>
<b>Issue 1</b><br>
osmreader.acceptWay=car,bike<br>
generator ends on: <br>
<i>Exception in thread "main" java.lang.IllegalStateException:
Multiple encoders are active. cannot return one:bike,car</i><i><br>
</i><i> at
com.graphhopper.routing.util.EncodingManager.getSingle(EncodingManager.java:329)</i><br>
<br>
after set 'prepare.chShortcuts=no'<br>
result: 93 MB (exactly same as car only), don't work!<br>
<br>
requests on car or bike route ends with<br>
<i>java.lang.IllegalStateException: Cannot load the graph when using
instance of com.graphhopper.storage.LevelGraphStorage and
location:
/storage/emulated/0/Locus/mapsVector/czech-republic-latest.osm-gh/</i><br>
<br>
<b>Issue 2</b><br>
osmreader.acceptWay=car,bike,foot,mtb<br>
ends immediately on<br>
<i>Exception in thread "main" java.lang.IllegalArgumentException:
Encoders are requesting more than 32 bits of way flags. Decrease
the number of vehicles or increase the flags to take long.</i><i><br>
</i><i> at
com.graphhopper.routing.util.EncodingManager.registerEncoder(EncodingManager.java:200)</i><br>
<br>
Is there anything I can do, to fix it. Mainly first issue.<br>
<br>
If answer already exists, please point me on correct place.<br>
<br>
<b>Below line</b><br>
<br>
Otherwise I ride during a week almost 300 km with car only using
GraphHopper and it works really well. What I really miss are
roundabouts, exits from highways and too much "go straight" orders
on places where it's really not needed. Anyway routing is fast and
quite precise. Nice work.<br>
<br>
with regards,
<br>
Menion<br>
</body>
</html>