Hi guys,
I have successfully set up my own version of open route service with VROOM. I tweak the configs and was able to build the graphs as I needed it with my custom pbf file.
Now while testing I recognized that I ran into an issue where the server reports “Request parameters exceed the server configuration limits. Only a total of 2500 routes are allowed.” when trying to solve optimization problems.
Now I look through the docs and found this option “ors.endpoints.matrix.maximum_routes”. Which I adjusted accordingly. But it seems that this config is not applied and I do not get why. Neither setting it to 10 nor to 100000 will have an effect.
My config is the following
ors:
endpoints:
matrix:
enabled: true
maximum_routes: 20000
maximum_search_radius: 10000
maximum_routes_flexible: 100
maximum_visited_nodes: 300000
u_turn_cost: 0
routing:
maximum_alternative_routes: 0
engine:
init_threads: 2048
preparation_mode: false
elevation:
data_access: MMAP
provider: gmted
graphs_data_access: MMAP
source_file: files/base.osm.pbf
profiles:
car:
execution:
method:
astar:
approximation: BeelineAccurate
epsilon: 0.7
lm:
active_landmarks: 8
core:
active_landmarks: 6
force_turn_costs: false
location_index_search_iterations: 10
location_index_resolution: 500
maximum_distance: 2000000
maximum_distance_dynamic_weights: 2000000
maximum_distance_avoid_areas: 2000000
maximum_snapping_radius: 5000
maximum_way_points: 300
optimize: true
elevation: true
elevation_smoothing: true
enabled: true
preparation:
min_network_size: 350
methods:
ch:
enabled: true
threads: 512
weightings: fastest
lm:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 16
core:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 32
lmsets: highways;allow_all
bike-regular:
execution:
method:
astar:
approximation: BeelineAccurate
lm:
active_landmarks: 8
core:
active_landmarks: 6
force_turn_costs: false
location_index_search_iterations: 10
location_index_resolution: 500
maximum_distance: 2000000
maximum_distance_dynamic_weights: 2000000
maximum_distance_avoid_areas: 2000000
maximum_snapping_radius: 5000
maximum_way_points: 300
optimize: true
elevation: true
elevation_smoothing: true
enabled: true
encoder_options:
consider_elevation: true
preparation:
min_network_size: 350
methods:
ch:
enabled: true
threads: 512
weightings: fastest
lm:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 16
core:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 32
lmsets: highways;allow_all
hgv:
execution:
method:
astar:
approximation: BeelineAccurate
epsilon: 0.7
lm:
active_landmarks: 8
core:
active_landmarks: 6
force_turn_costs: false
location_index_search_iterations: 10
location_index_resolution: 500
maximum_distance: 2000000
maximum_distance_dynamic_weights: 2000000
maximum_distance_avoid_areas: 2000000
maximum_snapping_radius: 5000
maximum_way_points: 300
optimize: true
elevation: true
elevation_smoothing: true
enabled: true
preparation:
min_network_size: 350
methods:
ch:
enabled: true
threads: 512
weightings: fastest
lm:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 16
core:
enabled: true
threads: 512
weightings: fastest,shortest
landmarks: 32
lmsets: highways;allow_all
I am running “openrouteservice/openrouteservice:v8.2.0” via docker.
I would really appreciate some help here.