MaxWeightExceptParser doesn't suppport `maxweightrating:conditional` and others
Author: otbutzCreated Jul 10, 2026Updated Jul 14, 2026
Describe the bug
We currently support the conditional variant of the maxweight tag as well as the more broad tagging schema {ACCESS}:conditional
Missing variants:
maxweight:{ACCESS}:conditionallikemaxweight:hgv:conditionalTaginfomaxweightrating:conditionalTaginfomaxweightrating:{ACCESS}:conditionalTaginfo
To Reproduce
Steps to reproduce the behavior. For examples:
- checkout recent and stable version of GraphHopper
- link to your OSM pbf
- include the config.yml you are using
- run
java -Ddw.graphhopper.datareader.file=your.osm.pbf -jar *.jar server config-example.yml
Instead of a manual reproduction it would be even better to have a unit or integration test reproducing the issue.
Expected behavior
The MaxWeightExceptParser should handle the conditional variants of the tags the OSMMaxWeightParser supports.
Source: graphhopper/graphhopper