[GraphHopper] multiple encodings error
Rodolphe Quiédeville
rodolphe at quiedeville.org
Fri Dec 6 11:33:03 UTC 2013
Ludwig <ludwigbrinckmann at gmail.com> writes:
> I have just upgraded to the current head (I guess a little ahead of 0.2)
> and now, with everything else unchanged, I get the following error:
>
>
> Exception in thread "main" java.lang.IllegalStateException: multiple
> encoders are active. cannot return one:bike,car,foot
> at
> com.graphhopper.routing.util.EncodingManager.getSingle(EncodingManager.java:223)
> at com.graphhopper.GraphHopper.initCHPrepare(GraphHopper.java:542)
> at com.graphhopper.GraphHopper.postProcessing(GraphHopper.java:533)
> at com.graphhopper.GraphHopper.process(GraphHopper.java:444)
> at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:417)
> at com.graphhopper.GraphHopper.main(GraphHopper.java:46)
>
>
> My config file has the setting:
> # possible options: CAR,FOOT,BIKE (comma separated)
> osmreader.acceptWay=CAR,FOOT,BIKE
>
> which worked before.
>
> Are multiple encoders not supported any more?
Hi,
I encounter the same problem. Using car,foto and bike alone allsworks
well but when using all three at same time it fails.
Regards,
--
Rodolphe Quiédeville
Expert Tsung - Consulting en performance des SI
Tel : 06 13 79 63 41
http://blog.rodolphe.quiedeville.org
More information about the GraphHopper
mailing list