Hi Nils.
I received the error initially for data I believed I had loaded for Asia. You suggested to try some coordinates in Heidelberg since that’s the test dataset that came with the system. I think you were concerned that maybe the Asia data didn’t load correctly. I took some coordinates from the polygon in your pub crawl example thinking they would be found in the test data (if those data were still in the system instead of Asia). The coords I used were `coords = ((13.43926404, 52.48961046), (13.42040115, 52.49586382)). I received the same error. Should these coords have been in the test data if it were still loaded?
Below is the diagnostic info you thought might be helpful. I modified the links in the files so the forum would accept the post (only 2 “links” allowed per post). You will see [REMOVED] where I edited the file links.
Folder PATH listing for volume New Volume Volume serial number is 8AC9-B478
D: | PROJECTS | OPENROUTESERVICE | DOCKER
├───conf
├───data
│ └───elevation_cache
├───elevation_cache
├───graphs
│ ├───bike
│ ├───pedestrian-walk
│ ├───vehicles-car
│ └───vehicles-hgv
└───logs
├───ors
└───tomcat
FILE: docker-compose.yml
version: ‘3’
services:
ors-app:
container_name: ors-app
ports:
- 8080:8080
build:
context: …/
args:
APP_CONFIG: ./docker/conf/app.config.sample
OSM_FILE: ./docker/data/asia-latest.osm.pbf
JAVA_OPTS: -Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -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
volumes:
- ./graphs:/ors-core/data/graphs
- ./elevation_cache:/ors-core/data/elevation_cache
- ./logs/ors/:/var/log/ors/
- ./logs/tomcat/:/usr/local/tomcat/logs
FILE: app.config.sample IN docker\config
{
“ors”:{
“info”: {
“base_url”: [REMOVED]
“support_mail”: [REMOVED]
“author_tag”: “openrouteservice”,
“content_licence”: “LGPL 3.0”
},
“services”:{
“matrix”:{
“enabled”:true,
“maximum_locations”:200,
“maximum_visited_nodes”:100000,
“allow_resolve_locations”:true,
“attribution”: [REMOVED]
},
“isochrones”:{
“enabled”:true,
“maximum_range_distance”:[
{
“profiles”:“any”,
“value”:50000
},
{
“profiles”:“driving-car, driving-hgv, cycling-regular, foot-walking”,
“value”:100000
}
],
“maximum_range_time”:[
{
“profiles”:“any”,
“value”:18000
},
{
“profiles”:“driving-car, driving-hgv, cycling-regular, foot-walking”,
“value”:3600
}
],
“maximum_intervals”:10,
“maximum_locations”:2,
“allow_compute_area”:true,
“attribution” [REMOVED]
},
“routing”:{
“enabled”:true,
“mode”:“normal”,
“sources”:[
“data/osm_file.pbf”
],
“init_threads”:1,
“attribution” [REMOVED]
“distance_approximation”:true,
“profiles”:{
“active”:[
“vehicles-car”,
“vehicles-hgv”,
“bike”,
“pedestrian-walk”
],
“default_params”: {
“encoder_flags_size”: 8,
“graphs_root_path”: “data/graphs”,
“elevation_provider”: “multi”,
“elevation_cache_path”: “data/elevation_cache”,
“elevation_clear_cache”: true,
“instructions”: true,
“maximum_distance”: 100000,
“maximum_segment_distance_with_dynamic_weights”: 100000,
“maximum_waypoints”: 50
},
“profile-vehicles-car”:{
“profiles”:“driving-car”,
“parameters”:{
“encoder_options”:“consider_elevation=true|turn_costs=true|block_fords=false|use_acceleration=true”,
“elevation”:true,
“preparation”:{
“min_network_size”:200,
“min_one_way_network_size”:200,
“methods”:{
“ch”:{
“enabled”:true,
“threads”:8,
“weightings”:“fastest”
},
“lm”:{
“enabled”:true,
“threads”:8,
“weightings”:“fastest,shortest”,
“landmarks”:24
}
}
},
“execution”:{
“methods”:{
“astar”:{
“approximation”:“BeelineSimplification”,
“epsilon”:1
},
“ch”:{
“disabling_allowed”:true
},
“lm”:{
“disabling_allowed”:true,
“active_landmarks”:6
}
}
},
“ext_storages”:{
“WayCategory”:{
},
"WaySurfaceType":{
},
"Tollways":{
}
}
}
},
"profile-vehicles-hgv":{
"profiles":"driving-hgv",
"parameters":{
"encoder_options":"consider_elevation=true|turn_costs=true|block_fords=false|use_acceleration=true",
"elevation":true,
"preparation":{
"min_network_size":200,
"min_one_way_network_size":200,
"methods":{
"ch":{
"enabled":true,
"threads":8,
"weightings":"fastest"
},
"lm":{
"enabled":true,
"threads":8,
"weightings":"fastest,shortest",
"landmarks":24
}
}
},
"execution":{
"methods":{
"astar":{
"approximation":"BeelineSimplification",
"epsilon":1
},
"ch":{
"disabling_allowed":true
},
"lm":{
"disabling_allowed":true,
"active_landmarks":6
}
}
},
"ext_storages":{
"WayCategory":{
},
"HeavyVehicle":{
"restrictions":true
},
"WaySurfaceType":{
},
"Tollways":{
}
}
}
},
"profile-bike":{
"profiles":"cycling-regular",
"parameters":{
"encoder_options":"consider_elevation=true|turn_costs=true|block_fords=false",
"elevation":true,
"preparation":{
"min_network_size":200,
"min_one_way_network_size":200,
"methods":{
"ch":{
"enabled":true,
"threads":8,
"weightings":"fastest"
},
"lm":{
"enabled":true,
"threads":8,
"weightings":"fastest,shortest",
"landmarks":24
}
}
},
"execution":{
"methods":{
"astar":{
"approximation":"BeelineSimplification",
"epsilon":1
},
"ch":{
"disabling_allowed":true
},
"lm":{
"disabling_allowed":true,
"active_landmarks":6
}
}
},
"ext_storages":{
"WayCategory":{
},
"WaySurfaceType":{
},
"HillIndex":{
},
"TrailDifficulty":{
}
}
}
},
"profile-pedestrian-walk":{
"profiles":"foot-walking",
"parameters":{
"encoder_options":"consider_elevation=true|turn_costs=true|block_fords=false",
"elevation":true,
"preparation":{
"min_network_size":200,
"min_one_way_network_size":200,
"methods":{
"ch":{
"enabled":true,
"threads":8,
"weightings":"fastest"
},
"lm":{
"enabled":true,
"threads":8,
"weightings":"fastest,shortest",
"landmarks":24
}
}
},
"execution":{
"methods":{
"astar":{
"approximation":"BeelineSimplification",
"epsilon":1
},
"ch":{
"disabling_allowed":true
},
"lm":{
"disabling_allowed":true,
"active_landmarks":6
}
}
},
"ext_storages":{
"WayCategory":{
},
"WaySurfaceType":{
},
"HillIndex":{
},
"TrailDifficulty":{
}
}
}
}
}
}
},
"logging": {
"enabled": true,
"level_file": "PRODUCTION_LOGGING.json",
"location": "/var/log/ors",
"stdout": true
}
}
}
FILE: app.config.sample IN openrouteservice\src
{
“ors”: {
“info”: {
“base_url”: "… [REMOVED]
“support_mail”: [REMOVED]
“author_tag”: “openrouteservice”,
“content_licence”: “LGPL 3.0”
},
“services”: {
“matrix”: {
“enabled”: true,
“maximum_routes”: 100,
“maximum_routes_flexible”: 25,
“maximum_search_radius”: 5000,
“maximum_visited_nodes”: 100000,
“allow_resolve_locations”: true,
“attribution”: [REMOVED]
},
“isochrones”: {
“enabled”: true,
“maximum_range_distance”: [
{ “profiles”: “any”, “value”: 50000 },
{ “profiles”: “driving-car, driving-hgv”, “value”: 100000 }
],
“maximum_range_time”: [
{ “profiles”: “any”, “value”: 18000 },
{ “profiles”: “driving-car, driving-hgv”, “value”: 3600 }
],
“maximum_intervals”: 10,
“maximum_locations”: 2,
“allow_compute_area”: true
},
“routing”: {
“enabled”: true,
“mode”: “normal”,
“routing_description”: “This is a routing file from openrouteservice”,
“routing_name”: “openrouteservice routing”,
“sources”: [“openrouteservice/src/main/files/heidelberg.osm.gz”],
“init_threads”: 2,
“attribution”: [REMOVED]
“profiles”: {
“active”: [
“car”,
“hgv”,
“bike-regular”,
“bike-mountain”,
“bike-road”,
“bike-electric”,
“walking”,
“hiking”,
“wheelchair”
],
“default_params”: {
“encoder_flags_size”: 8,
“graphs_root_path”: “graphs”,
“elevation_provider”: “multi”,
“elevation_cache_path”: “cgiar_provider”,
“elevation_cache_clear”: false,
“instructions”: true,
“maximum_distance”: 100000,
“maximum_distance_dynamic_weights”: 100000,
“maximum_distance_avoid_areas”: 100000,
“maximum_waypoints”: 50,
“maximum_snapping_radius”: 400,
“preparation”: {
“min_network_size”: 200,
“min_one_way_network_size”: 200,
"methods": {
"lm": {
"enabled": true,
"threads": 1,
"weightings": "fastest,shortest",
"landmarks": 16
}
}
},
"execution": {
"methods": {
"lm": {
"disabling_allowed": true,
"active_landmarks": 8
}
}
}
},
"profile-car": {
"profiles": "driving-car",
"parameters": {
"encoder_flags_size": 8,
"encoder_options": "turn_costs=true|block_fords=false|use_acceleration=false",
"maximum_distance": 100000,
"elevation": true,
"maximum_snapping_radius": 350,
"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
}
}
}
},
"profile-hgv": {
"profiles": "driving-hgv",
"parameters": {
"encoder_flags_size": 8,
"encoder_options": "turn_costs=true|block_fords=false|use_acceleration=false",
"maximum_distance": 100000,
"elevation": true,
"preparation": {
"min_network_size": 200,
"min_one_way_network_size": 200,
"methods": {
"ch": {
"enabled": true,
"threads": 1,
"weightings": "fastest"
},
"lm": {
"enabled": true,
"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": {
"restrictions": true
},
"WaySurfaceType": {}
}
}
},
"profile-bike-regular": {
"profiles": "cycling-regular",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-mountain": {
"profiles": "cycling-mountain",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-road": {
"profiles": "cycling-road",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-electric": {
"profiles": "cycling-electric",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-walking": {
"profiles": "foot-walking",
"parameters": {
"encoder_options": "block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-hiking": {
"profiles": "foot-hiking",
"parameters": {
"encoder_options": "block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-wheelchair": {
"profiles": "wheelchair",
"parameters": {
"encoder_options": "block_fords=true",
"elevation": true,
"maximum_snapping_radius": 50,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"Wheelchair": {
"KerbsOnCrossings": "true"
},
"OsmId": {}
}
}
}
}
}
},
"logging": {
"enabled": true,
"level_file": "DEBUG_LOGGING.json",
"location": "/var/log/ors",
"stdout": true
}
}
}
FILE: app.config.sample IN docker\config
{
“ors”:{
“info”: {
“base_url”: [REMOVED]
“support_mail”: [REMOVED]
“author_tag”: “openrouteservice”,
“content_licence”: “LGPL 3.0”
},
“services”:{
“matrix”:{
“enabled”:true,
“maximum_locations”:200,
“maximum_visited_nodes”:100000,
“allow_resolve_locations”:true,
“attribution”: [REMOVED]
},
“isochrones”:{
“enabled”:true,
“maximum_range_distance”:[
{
“profiles”:“any”,
“value”:50000
},
{
“profiles”:“driving-car, driving-hgv, cycling-regular, foot-walking”,
“value”:100000
}
],
[cut due stay under maximum length of post]