forked from graphhopper/graphhopper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-example.properties
40 lines (31 loc) · 1.71 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
40
#################
### OSMReader ###
graph.dataaccess=RAM_STORE
# graph.dataaccess=MMAP_STORE_SYNC
# Default: use contraction hierarchies to speed things up. requires more RAM/disc space for holding the graph
# Use chWeighting=no to disable it (more flexibility while querying)
# Java API usage is: GraphHopper.setCHWeighting("fastest")
prepare.chWeighting=fastest
# increase from 1 to 5, to reduce way geometry e.g. for android
osmreader.wayPointMaxDistance=1
# Possible options: car,foot,bike,bike2,mtb,racingbike,motorcycle (comma separated)
# When using two or three option together remeber to set "prepare.chWeighting=no" above.
# bike2 takes elevation data into account (like up-hill is slower than down-hill)
# and requires enabling graph.elevation.provider below, e.g. see #169
graph.flagEncoders=car
# to enable turn restrictions for car do
# graph.flagEncoders=car|turnCosts=true
# 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
# if you want to support jsonp response type you need to add it explicitely here:
#web.jsonpAllowed=true