[GraphHopper] Problem with the type of te path (Car, pedestrians, bike)

Peter K peathal at yahoo.de
Mon Oct 21 12:32:02 UTC 2013


Hi Bruno,

> There is more documentation about the Graphhopper?

The unit tests and the wiki are for documentation


> How can i change the routing for pedestrians instead of routing for Cars?

You can configure this in the config.properties or if you prefer the
Java API do
hopper.setEncodingManager(new EncodingManager("FOOT"))
or see the GraphHopperTest and how to specify the osmreader.acceptWay
property


> Do i need to create the routing data specifically for pedestrians
before put the -gh info in the SD card?

Only if you use the speed up technic 'contraction hierarchies', which is
the default. Disable it via config.properties or hopper.disableCHShortcuts()

Regards,
Peter.


> Hello,
>
> I'm trying to create an app for android that show the route for
> pedestrians.
> I now have Graphhopper prepared and running in my Android device as
> the examples are show in the Android Demo.
>
> There is more documentation about the Graphhopper? 
> How can i change the routing for pedestrians instead of routing for Cars?
>
> I saw in the Low Level API "EncodingManagerem=newEncodingManager("CAR");",
> do i need to do something like this but for pedestrian´s? Do i need to
> create the routing data specifically for pedestrians before put the
> -gh info in the SD card?
>
> Sorry for the bad English and thanks in advance,
>
> Best Regards,
> Bruno
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131021/6859aa7f/attachment.html>


More information about the GraphHopper mailing list