-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
graphhopper-odl-integration/src/main/resources/config-car-foot-bike.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
################# | ||
### OSMReader ### | ||
|
||
# No more than 3 encoders are allowed at once without changing another Graphhopper storage option... | ||
graph.flagEncoders=car,foot,bike | ||
|
||
|
||
# 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 | ||
|
||
# if you want to support jsonp response type you need to add it explicitely here: | ||
#web.jsonpAllowed=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters