Hi. I am deploying my own GH server and I would like it to answer both fastest and shortest route requests in speed mode. My understanding is that speed mode means that a contracted hierarchy graph must be build.
Currently I create a graph hopper object and call
hopper.getCHFactoryDecorator().addWeighting("fastest");
hopper.getCHFactoryDecorator().addWeighting("shortest");
which creates two sets of contracted hierarchies files:
shortcuts_fastest_bike
nodes_ch_fastest_bike
shortcuts_shortest_bike
nodes_ch_shortest_bike
in the graph data folder but only one set of the remaining files:
edges
geometry
location_index
names
nodes
properties
(1) Why aren’t there edges_ch_shortest
and edges_ch_fastest
and so on?
(2) is my understanding correct, that addWeighting(..)
specifies which CH graphs to build and consequently which types of requests my graph hopper instance can handle?