Skip to content

Commit 8c9be1f

Browse files
authored
Update profiles.md
1 parent a4f3415 commit 8c9be1f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/run-instance/configuration/ors/engine/profiles.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
The profiles object contains key-object-pairs for each profile you are using.
55

6-
There are some default profile keys, where flag encoders (specified in `ors.engine.profiles.*.profile`) are predefined and not changeable.
7-
These standard profiles are already predefined in our standard ors-config.yml with recommended profile-specific settings:
6+
There are some default profile keys in our standard ors-config.yml with flag encoders and recommended profile-specific settings predefined.
7+
These standard profiles are:
88

99
| `*` in `ors.engine.profiles.*` | flag encoder `ors.engine.profiles.*.profile` |
1010
|--------------------------------|----------------------------------------------|
@@ -20,13 +20,12 @@ These standard profiles are already predefined in our standard ors-config.yml wi
2020
| `public-transport` | `public-transport` |
2121

2222
::: warning
23-
In the directions endpoint, the profiles are addressed by their encoder name (e.g. `driving-car`)!
23+
The predefined settings override settings specified in the `profile_default` in your ors-config.yml or ors-config.env!
24+
If you want to specify your own profile settings based on your specific `profile_default` values, you can work around this by naming your profile differently, e.g. `custom-car` instead of `car`. Note that the profile name can be chosen freely but cannot contain special characters that can not be used for directory names on your operating system.
2425
:::
2526

2627
::: warning
27-
If you specified `profile_default` settings in your ors-config.yml or ors-config.env, they might not be taken into account (since v8.0.0)!
28-
This will be fixed in on of the next releases.
29-
As a workaround, you can move all `profile_default` settings to the specific profile where you need them to work.
28+
In the directions endpoint, the profiles are addressed by their encoder name (e.g. `driving-car`)!
3029
:::
3130

3231
Properties for each (enabled) profile are set under `ors.engine.profiles.<profile>`, e.g.

0 commit comments

Comments
 (0)