[GraphHopper] Understanding the impact of prepare.chShortcuts=fastest
Ludwig
ludwigbrinckmann at gmail.com
Fri Oct 4 04:52:39 UTC 2013
To prepare routing files for more than one vehicle type at once, I have to
comment out
#prepare.chShortcuts=fastest
and then also in the Java code add
setCHShortcuts(false, false);
This setting for the generator creates significantly smaller routing files,
which is a good thing, but it disables the use of the contraction
hierarchies, which should slow run-time route generation down.
I have not actually measured the slow-down, but on the Android devices that
I tested it still feels pretty fast, certainly fast enough, particularly
when considering that the files get much smaller.
Are there any worst case scenarios that I should be aware of? Are there any
other trade-offs (such as larger memory use, inability to find certain
routes)? Is the impact of these settings bigger for larger areas (longer
routes) and less important for areas like individual cities with shorter
routes?
Ludwig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131004/a8246411/attachment.html>
More information about the GraphHopper
mailing list