OSRM displaying cardinal direction variables in directions as plain text

Author: omgitsgelaCreated Feb 25, 2018Updated Jul 3, 2026

I have a segment of roadway marked as a motorway with a large relation, where the role is "north" and the motorway name is "I 495".

What's happening is generated directions are interpreting the role "north" as $north, and it's being displayed that way to the end user.

The expected behavior would be to resolve $north internally, and display the value of it instead of the variable so it looks clean to the end user.

osrm bugs

Source: Project-OSRM/osrm-backend