[GraphHopper] multiple encodings error

Bruno Marques baamarques at gmail.com
Fri Dec 6 11:37:36 UTC 2013


are you using it on android? I had the same problem but I'm able to use
them now, I can send an example if you need


On Fri, Dec 6, 2013 at 11:33 AM, Rodolphe Quiédeville <
rodolphe at quiedeville.org> wrote:

>
> 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
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>



-- 
t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131206/9d1d82c9/attachment.html>


More information about the GraphHopper mailing list