I have a group of nodes in JOSM and i trying to tag then to be excludable class in profiles of OSRM i tagged then like this:


and my excludable part of OSRM profile is like that:

classes = Sequence {
    'toll', 'motorway', 'ferry', 'restricted', 'tunnel','secondary','tertiary'

-- classes to support for exclude flags
excludable = Sequence {
    Set {'toll'},
    Set {'motorway'},
    Set {'ferry'},
      Set {'secondary'},
      Set {'tertiary'}

but when i send the exclude in HTTP request (for example "&exclude=secondary") is still passing trought secondary tagged roads, what i'm doing wrong?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.