Greeting,
I’am trying to generate the whole Europe in 3 different weightings
“weightings”:“recommended,fastest,shortest”,
Each time I get the same error:
[routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalThreadStateException: already created
On the other hand, I am able to get the whole generation done with the same configuration but only with two weighting.
“weightings”:“fastest,shortest”,
app.config:
{
"ors":{
"info":{
"base_url":"https://openrouteservice.org/",
"support_mail":"support@openrouteservice.org",
"author_tag":"openrouteservice",
"content_licence":"LGPL 3.0"
},
"services":{
"matrix":{
"enabled":true,
"maximum_locations":200,
"maximum_visited_nodes":100000,
"allow_resolve_locations":true,
"attribution":"openrouteservice.org, OpenStreetMap contributors"
},
"isochrones":{
"enabled":true,
"maximum_range_distance":[
{
"profiles":"any",
"value":50000
},
{
"profiles":"driving-hgv",
"value":100000
}
],
"maximum_range_time":[
{
"profiles":"any",
"value":18000
},
{
"profiles":"driving-hgv",
"value":3600
}
],
"maximum_intervals":10,
"maximum_locations":2,
"allow_compute_area":true,
"attribution":"openrouteservice.org, OpenStreetMap contributors"
},
"routing":{
"enabled":true,
"mode":"normal",
"sources":[
"data/europe-latest.osm.pbf"
],
"init_threads":1,
"attribution":"openrouteservice.org, OpenStreetMap contributors",
"distance_approximation":true,
"profiles":{
"active":[
"vehicles-hgv"
],
"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":6000000,
"maximum_segment_distance_with_dynamic_weights":100000,
"maximum_alternative_routes": 1,
"maximum_waypoints":100
},
"profile-vehicles-hgv":{
"profiles":"driving-hgv",
"parameters":{
"encoder_options":"turn_costs=true|block_fords=false|use_acceleration=true",
"elevation":true,
"preparation":{
"min_network_size":200,
"min_one_way_network_size":200,
"methods":{
"lm":{
"enabled":true,
"threads":1,
"weightings":"recommended,fastest,shortest",
"landmarks":16
}
}
},
"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":{},
"RoadAccessRestrictions": {
"use_for_warnings": true
}
}
}
}
}
}
},
"logging":{
"enabled":true,
"level_file":"PRODUCTION_LOGGING.json",
"location":"/var/log/ors",
"stdout":true
}
}
}
tree openrouteservice/docker/perm/graphs (after the error):
.
└── vehicles-hgv
├── landmarks_fastest_heavyvehicle
├── landmarks_shortest_heavyvehicle
├── location_index
├── subnetwork_landmarks_fastest_heavyvehicle
└── subnetwork_landmarks_shortest_heavyvehicle1 directory, 5 files