I’m running a self-hosted local instance of OpenRouteService v9.1.2 using Java 21 and a .pbf
extract of Japan. I’m trying to increase the maximum number of isochrone intervals beyond the default (which appears to be 1), but despite configuring maximum_intervals
in ors-config.yml
, ORS continues to throw the following error when more than 1 interval is requested:
Parameter ‘interval’ is out of range: Resulting number of 3 isochrones exceeds maximum value of 1.
Is maximum_intervals
hardcoded in ORS v9.1.2? Or is there a specific path/config structure required to override the default limit of 1?
My config file looks like this:
ors:
services:
isochrones:
enabled: true
maximum_locations: 2
maximum_intervals: 10
allow_compute_area: true
maximum_range_time_default: 1800
maximum_range_time:
- profiles: driving-car
value: 3600
engine:
profile_default:
build:
source_file: MY_PATH
elevation: false
profiles:
active: [driving-car]
driving-car:
enabled: true
server:
port: 8080
I’ve verified that the config file is being loaded at startup, and I always delete the graphs/
folder before restarting ORS. But the maximum_intervals
setting doesn’t seem to be applied.
Thanks in advance for your support!
Best wishes,
Sacha