File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,12 @@ List<String> iList = il.createDescription(tr);
46
46
List<GPXEntry > list = il. createGPXList();
47
47
```
48
48
49
- If you want to support multiple profiles you have to specify the default vehicle in order
50
- to pick the vehicle where contraction hierarchies will be enabled:
51
- ``` java
52
- GraphHopper hopper = new GraphHopper (). forServer();
53
- hopper. setDefaultVehicle(" car" );
54
- ...
55
- ```
49
+ The default is to use the speed-up mode for one profile. If you need multiple profiles you
50
+ specify a list of profiles (e.g. car,bike) and the speed-up mode is applied to the first profile only (e.g. car).
51
+ The other vehicles then use a more flexible routing.
56
52
57
- If you want a more flexible routing (but slower) you can disable contraction hierarchies.
58
- Then pick one vehicle to route on and optionally the algorithm like 'bidirectional astar' as algorithm:
53
+ You can also completely disable the speed-up mode to make all vehicles using the flexibility mode.
54
+ Then pick one vehicle and optionally the algorithm like 'bidirectional astar' as algorithm:
59
55
60
56
``` java
61
57
GraphHopper hopper = new GraphHopper (). forServer();
You can’t perform that action at this time.
0 commit comments