Extra_info with docker build

Hi
I am running ors with docker. I am searching documentation on how to add
extra_info:[waycategory, waytype, countryinfo] to ors-config.yml, ors-config.env file or directly in the docker-compose.yml file. Unfortunately I do not find any documentation.

Here is an example of my ors-config.yml file where I added extra_info . Unfortunately it does not work:

    profiles:
      car:
        enabled: true
        profile: driving-car
#        elevation: true
#        encoder_options:
#          turn_costs: true
#          block_fords: false
#          use_acceleration: true
#        preparation:
#          min_network_size: 200
#          methods:
#            ch:
#              enabled: true
#              threads: 1
#              weightings: fastest
#            lm:
#              enabled: false
#              threads: 1
#              weightings: fastest,shortest
#              landmarks: 16
#            core:
#              enabled: true
#              threads: 1
#              weightings: fastest,shortest
#              landmarks: 64
#              lmsets: highways;allow_all
        execution:
          methods:
            lm:
              active_landmarks: 6
            core:
              active_landmarks: 6
            extra_info:
              - countryinfo
              - waytype
              - waycategory
        ext_storages:
          WayCategory:
          HeavyVehicle:
          WaySurfaceType:
          RoadAccessRestrictions:
            use_for_warnings: true

Hey,

information on how to configure extra info storages can be found in our backend documentation:

Best regards

Thank you very much. I read the backend documentation but still I am struggling to get the countryinfo in my response.

    "warnings": [
        {
          "code": 4,
          "message": "Extra info requested but not available: countryinfo"
        }

Here are my settings in the ors-config.env file:

ors.engine.profiles.car.ext_storages.WayCategory=
ors.engine.profiles.car.ext_storages.HeavyVehicle=
ors.engine.profiles.car.ext_storages.WaySurfaceType=
ors.engine.profiles.car.ext_storages.RoadAccessRestrictions.use_for_warnings=true

I also tried adding ors.engine.profiles.car.ext_storages.WayCategory= ors.engine.profiles.car.ext_storages.Borders= with no luck. Am I missing something?

Hey,

yes, getting country info and borders to work is a bit more tricky than the other extra-info.

The issue here is that you have to provide border information for this to work.

See the test files for the files needed and the format the files need to have:

If you have trouble building graphs, since it might take much longer, have a look at Building remains idle with boundaries file · Issue #1588 · GIScience/openrouteservice · GitHub which describes a workflow to optimize building your graphs with border information.

Best regards