35 lines
973 B
YAML
35 lines
973 B
YAML
graphhopper:
|
|
datareader.file: /data/master_map.osm.pbf
|
|
graph.location: /data/graph-cache
|
|
import.osm.ignored_highways: ""
|
|
graph.encoded_values: road_class,road_environment,max_speed,road_access,surface
|
|
|
|
profiles:
|
|
- name: car
|
|
custom_model:
|
|
distance_influence: 70
|
|
speed:
|
|
- if: "true"
|
|
limit_to: 60
|
|
- if: "road_class == MOTORWAY || road_class == TRUNK"
|
|
limit_to: 60
|
|
- if: "road_class == PRIMARY"
|
|
limit_to: 45
|
|
- if: "road_class == SECONDARY"
|
|
limit_to: 28
|
|
- if: "road_class == TERTIARY"
|
|
limit_to: 20
|
|
- if: "road_class == RESIDENTIAL || road_class == UNCLASSIFIED"
|
|
limit_to: 14
|
|
- if: "road_class == LIVING_STREET || road_class == SERVICE"
|
|
limit_to: 14
|
|
|
|
profiles_ch:
|
|
- profile: car
|
|
|
|
server:
|
|
application_connectors:
|
|
- type: http
|
|
port: 8989
|
|
bind_host: 0.0.0.0
|