How to set a profile for single country?

Hello, I have an OSM for all Europe but I need one custom profile which route only in one country e.g. ‘DE’. Is there any possibillity to set this?

Yes, use a custom model like this:

   "priority": [
          "if": "country != DE",
          "multiply_by": 0

And make sure you add country to graph.encoded_values in config.yml.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.