forked from graphhopper/graphhopper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.properties
37 lines (26 loc) · 1.22 KB
/
config-example.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#################
### OSMReader ###
# graph.dataaccess=MMAP_STORE_SYNC
graph.dataaccess=RAM_STORE
# The high-resolution index is bigger and slightly slower but a lot more precise. see #17.
# Resolution is in meter, decrease from 1000 to 500 in order to speed up queries (but will increase size)
#index.highResolution=-1
index.highResolution=500
# use contraction hierarchies to speed things up. requires more RAM/disc space for holding the graph
# uncomment this if you need more control of you algorithm. then use graphhopper.chShortcuts(false, false)
prepare.chShortcuts=fastest
# advanced options:
# prepare.updates.periodic=3
# prepare.updates.lazy=10
# prepare.updates.neighbor=20
# increase from 1 to 5, to reduce way geometry e.g. for android
osmreader.wayPointMaxDistance=1
# possible options: CAR,FOOT,BIKE (comma separated)
osmreader.acceptWay=CAR
# if you want to reduce storage size and you don't need instructions for a path uncomment this
# osmreader.instructions=false
### default algorithm can be overwritten via the URL parameter &algorithm=<algo>
### if you use fast routing you have to use dijkstrabi (bidirectional dijkstra)
#web.defaultAlgorithm=astarbi
#web.defaultAlgorithm=astar
routing.defaultAlgorithm=dijkstrabi