[GraphHopper] Turn Restrictions

Nick Bauer nick.j.bauer at gmail.com
Thu Jun 4 00:02:40 UTC 2015


Hello-

After reviewing the 0.4 list of changes, it seems to me that turn
restrictions are enabled.  I have what i believe is the correct OSM as well
as config.properties file, however I am not getting the results I expect.

I am mobile right now, so I can't post any detailed output, but here is the
config:

prepare.chWeighting=no
prepare.chShortcuts=no
osmreader.acceptWay=car
graph.flagEncoders=car

# Enable turn restrictions for car or motorcycle.
# Currently you need to additionally set prepare.chWeighting=no before
using this (see below and #270)
graph.flagEncoders=car|turnCosts=true
graph.dataaccess=RAM_STORE

How does this config look?
My OSM has to from and via relation elements.  Any other tips on how to
correctly create the OSM?

Thanks,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150603/c3c01a3e/attachment.html>


More information about the GraphHopper mailing list