Skip to content

Commit 3b31b82

Browse files
committed
docs: update profiles.md
1 parent a4f3415 commit 3b31b82

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
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,13 @@ 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! This also means that you cannot enable all default profiles by simply setting `profile_default.enabled` to `true`.
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`.
25+
Note that the profile name can be chosen freely but cannot contain special characters that cannot be used for directory names on your operating system.
2426
:::
2527

2628
::: 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.
29+
In the directions endpoint, the profiles are addressed by their encoder name (e.g. `driving-car`)!
3030
:::
3131

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

0 commit comments

Comments
 (0)