Dear Jules,
Thanks for the quick reply. the pbf is inside the docker container: docker/data/alsace-latest.osm.pbf
health:
{
"status": "not ready"
}
while using the osm_file.pbf file it’s "status" : "ready"
status:
{
"languages": [
"cs",
"cs-cz",
"de",
"de-de",
"en",
"en-us",
"eo",
"eo-eo",
"es",
"es-es",
"fr",
"fr-fr",
"gr",
"gr-gr",
"he",
"he-il",
"hu",
"hu-hu",
"id",
"id-id",
"it",
"it-it",
"ja",
"ja-jp",
"ne",
"ne-np",
"nl",
"nl-nl",
"pl",
"pl-pl",
"pt",
"pt-pt",
"ro",
"ro-ro",
"ru",
"ru-ru",
"tr",
"tr-tr",
"zh",
"zh-cn"
],
"engine": {
"build_date": "2023-12-18T12:47:38Z",
"version": "8.0"
},
"profiles": {
"profile 1": {
"storages": {
"WayCategory": {
"gh_profile": "car_ors_fastest_with_turn_costs"
},
"HeavyVehicle": {
"gh_profile": "car_ors_fastest_with_turn_costs"
},
"WaySurfaceType": {
"gh_profile": "car_ors_fastest_with_turn_costs"
},
"RoadAccessRestrictions": {
"gh_profile": "car_ors_fastest_with_turn_costs",
"use_for_warnings": "true"
}
},
"profiles": "driving-car",
"creation_date": "",
"limits": {
"maximum_distance": 100000,
"maximum_waypoints": 50,
"maximum_distance_dynamic_weights": 100000,
"maximum_distance_avoid_areas": 100000
}
}
},
"services": [
"routing",
"isochrones",
"matrix",
"snap"
]
}
docker-compose.yml:
version: '2.4'
services:
ors-app:
container_name: ors-app
ports:
- "8080:8080"
- "9001:9001"
image: openrouteservice/openrouteservice:nightly
user: "${UID:-0}:${GID:-0}"
volumes:
- ./docker/graphs:/home/ors/ors-core/data/graphs
- ./docker/elevation_cache:/home/ors/ors-core/data/elevation_cache
- ./docker/logs/ors:/home/ors/logs
- ./docker/logs/tomcat:/home/ors/tomcat/logs
- ./docker/conf:/home/ors/ors-conf
- ./docker/data:/home/ors/ors-core/data
environment:
- BUILD_GRAPHS=True
- "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"
- ORS_CONFIG=/home/ors/ors-conf/ors-config.json
here’s ors-config.yml
:
ors:
engine:
source_file: ./ors-core/data/alsace-latest.osm.pbf # or osm_file.pbf by default
graphs_root_path: ./ors-core/data/graphs
elevation:
cache_path: ./ors-core/data/elevation_cache
profiles:
car:
profile: driving-car
elevation: true
encoder_options:
turn_costs: true
block_fords: false
use_acceleration: true
preparation:
min_network_size: 200
min_one_way_network_size: 200
methods:
ch:
enabled: true
threads: 1
weightings: fastest
lm:
enabled: false
threads: 1
weightings: fastest,shortest
landmarks: 16
core:
enabled: true
threads: 1
weightings: fastest,shortest
landmarks: 64
lmsets: highways;allow_all
execution:
methods:
ch:
disabling_allowed: true
lm:
disabling_allowed: true
active_landmarks: 6
core:
disabling_allowed: true
active_landmarks: 6
ext_storages:
WayCategory:
HeavyVehicle:
WaySurfaceType:
RoadAccessRestrictions:
use_for_warnings: true