Hey there,
I’m using an offline version 0.6.0 and prepared for CH weights “fastest, shortest” and vehicles “car, foot”. Before I used just “car”. Since I added the new prepared files with “foot” the calculation of distances between several points slowed down by factor 5. My request don’t even use “foot” as vehicle. I just prepared the CH files with the graphhopper.sh, added the files to the correct folder and adjusted the instantiation of GraphhopperAPI.
public static GraphHopperAPI createInstance(String ghResourcesPath) {
GraphHopper hopper = new GraphHopper().forDesktop();
hopper.setGraphHopperLocation(ghResourcesPath);
hopper.setEncodingManager(new EncodingManager("car, foot"));
hopper.setCHWeightings("fastest", "shortest");
hopper.importOrLoad();
return hopper;
}
thanks in advance!