forked from graphhopper/graphhopper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-example.properties
39 lines (31 loc) · 1.64 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
37
38
39
#################
### OSMReader ###
# graph.dataaccess=MMAP_STORE_SYNC
graph.dataaccess=RAM_STORE
# 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
# prepare.minOnewayNetworkSize=200
# increase from 1 to 5, to reduce way geometry e.g. for android
osmreader.wayPointMaxDistance=1
# possible options: car,foot,bike,mtb,racingbike (comma separated)
# when using two or three option together remeber to set "prepare.chShortcuts=no" above.
# There is also a new option bike2 which takes elevation data into account (like up-hill is slower than down-hill)
# and requires enabling graph.elevation.provider below, see #169
osmreader.acceptWay=car
# if you want to reduce storage size and you don't need instructions for a path uncomment this
# osmreader.instructions=false
# To populate your graph with elevation data use SRTM, default is noop
# graph.elevation.provider=srtm
# default location for cache is used /tmp/srtm
# graph.elevation.cachedir=./srtmprovider/
# If you have a slow disk or plenty of RAM change the default MMAP to
# graph.elevation.dataaccess=RAM_STORE
# Location index lookup. Advanced customization. Resolution is in meter, the search specifies the 'radius' in number of tiles.
# E.g. decrease resolution for a faster lookup and increase region search for a more dynamic search and less 'location not found' results
# index.highResolution=300
# index.maxRegionSearch=4