<div dir="ltr"><div><div><div><div>To prepare routing files for more than one vehicle type at once, I have to comment out<br> <br>#prepare.chShortcuts=fastest <br><br>and then also in the Java code add<br><br>setCHShortcuts(false, false);<br>
<br></div>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. <br><br>
</div>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. <br><br></div>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?<br>
<br></div>Ludwig<br></div>