Steps for altering openrouteservice configuration

Hi,

I work for a local fire service and we are trying to use the openrouteservice API to investigate our travel times throughout the county.

As such, we have created a local instance of the API and are now in the process of trying to configure the vehicle profiles to more accurately reflect our emergency vehicles through road restrictions, road speeds, grade level limits, etc.

We tried a month or two ago and were not able to get any different results from our test changes and we believe we are missing out on some steps.

I was, therefore, hoping that someone would be able to provide a list of steps that are required when trying to make said config changes. From the documentation I have found that you need to rename the vehicle profile to avoid default values and also rebuild your graphs. Are there any steps we are missing? And is there any further support we can reach out to if we are unable to get the changes to work?

Thanks in advance!

Hi @tgff,

there are several parts within the application you would need to adjust.
The easiest would be to overwrite the speed values for an existing profile in your instance (e.g. for HGV or car).
You would just adjust the values in the VehicleFlagencoder:

Yes afterwards you need to rebuild the graphs.

You could still use our live API if you need the non-customized version.

For this usecase you can also contact our support mail adress.

Best regards

1 Like

Ok great, thank you very much for your help!

Hi @amandus,

We are still having some difficulty identifying the changes we need to make and are trying to start off with the basics of getting different results out when we change the driving-hgv road speeds as, currently, when we change them the API results do not change.

Do you have a list of the active parameter files and locations that are used when a rebuild of the graph is invoked so we know what we need to change please?

Kind regards,
Tim

Hi @tgff,

it seems changes in the FlagEncoder don’t really take effect, as it uses the speed values defined in ors-engine/src/main/resources/resources/services/routing/speed_limits/car.json :person_shrugging:
If you change the values there you should see an effect after removing & rebuilding the graphs.

Best regards

1 Like

Hi @amandus

Apologies, to come back to you again but we are still having a great deal of difficulty in making any changes to the configuration.

Would it be possible to set up a quick teams call at some point where you could help us with making a simple change to the config please?

Kind regards,
Tim