Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
otbutz authored Oct 24, 2023
1 parent 7e0d17a commit becfa53
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions config-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ graphhopper:
vehicle: car
custom_model:
distance_influence: 70
# turn_costs: true
# u_turn_costs: 60
# turn_costs: true
# u_turn_costs: 60

# - name: bike
# # to use the bike vehicle make sure to not ignore cycleways etc., see import.osm.ignored_highways below
# vehicle: bike
# custom_model_files: [bike.json, bike_elevation.json]
# - name: bike
# # to use the bike vehicle make sure to not ignore cycleways etc., see import.osm.ignored_highways below
# vehicle: bike
# custom_model_files: [bike.json, bike_elevation.json]

# instead of the inbuilt custom models (see ./core/src/main/resources/com/graphhopper/custom_models)
# you can specify a folder where to find your own custom model files
Expand Down Expand Up @@ -132,45 +132,45 @@ graphhopper:
# graph.elevation.way_point_max_distance: 10


#### Country-dependent defaults for max speeds ####
#### Country-dependent defaults for max speeds ####

# This features sets a maximum speed in 'max_speed' encoded value if no maxspeed tag was found. It is country-dependent
# and based on several rules. See https://github.com/westnordost/osm-legal-default-speeds
# To use it uncomment the following, then enable urban density below and add 'country' to graph.encoded_values
# max_speed_calculator.enabled: true
# This features sets a maximum speed in 'max_speed' encoded value if no maxspeed tag was found. It is country-dependent
# and based on several rules. See https://github.com/westnordost/osm-legal-default-speeds
# To use it uncomment the following, then enable urban density below and add 'country' to graph.encoded_values
# max_speed_calculator.enabled: true


#### Urban density (built-up areas) ####
#### Urban density (built-up areas) ####

# This feature allows classifying roads into 'rural', 'residential' and 'city' areas (encoded value 'urban_density')
# Use 1 or more threads to enable the feature
# graph.urban_density.threads: 8
# Use higher/lower sensitivities if too little/many roads fall into the according categories.
# Using smaller radii will speed up the classification, but only change these values if you know what you are doing.
# If you do not need the (rather slow) city classification set city_radius to zero.
# graph.urban_density.residential_radius: 400
# graph.urban_density.residential_sensitivity: 6000
# graph.urban_density.city_radius: 1500
# graph.urban_density.city_sensitivity: 1000
# This feature allows classifying roads into 'rural', 'residential' and 'city' areas (encoded value 'urban_density')
# Use 1 or more threads to enable the feature
# graph.urban_density.threads: 8
# Use higher/lower sensitivities if too little/many roads fall into the according categories.
# Using smaller radii will speed up the classification, but only change these values if you know what you are doing.
# If you do not need the (rather slow) city classification set city_radius to zero.
# graph.urban_density.residential_radius: 400
# graph.urban_density.residential_sensitivity: 6000
# graph.urban_density.city_radius: 1500
# graph.urban_density.city_sensitivity: 1000


#### Subnetworks ####
#### Subnetworks ####

# In many cases the road network consists of independent components without any routes going in between. In
# the most simple case you can imagine an island without a bridge or ferry connection. The following parameter
# allows setting a minimum size (number of edges) for such detached components. This can be used to reduce the number
# of cases where a connection between locations might not be found.
# In many cases the road network consists of independent components without any routes going in between. In
# the most simple case you can imagine an island without a bridge or ferry connection. The following parameter
# allows setting a minimum size (number of edges) for such detached components. This can be used to reduce the number
# of cases where a connection between locations might not be found.
prepare.min_network_size: 200
prepare.subnetworks.threads: 1


#### Routing ####
#### Routing ####

# You can define the maximum visited nodes when routing. This may result in not found connections if there is no
# connection between two points within the given visited nodes. The default is Integer.MAX_VALUE. Useful for flexibility mode
# routing.max_visited_nodes: 1000000
# You can define the maximum visited nodes when routing. This may result in not found connections if there is no
# connection between two points within the given visited nodes. The default is Integer.MAX_VALUE. Useful for flexibility mode
# routing.max_visited_nodes: 1000000

# The maximum time in milliseconds after which a routing request will be aborted. This has some routing algorithm
# The maximum time in milliseconds after which a routing request will be aborted. This has some routing algorithm
# specific caveats, but generally it should allow the prevention of long-running requests. The default is Long.MAX_VALUE
# routing.timeout_ms: 300000

Expand Down

0 comments on commit becfa53

Please sign in to comment.