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}:conditional like maxweight:hgv:conditional Taginfo
  • maxweightrating:conditional Taginfo
  • maxweightrating:{ACCESS}:conditional Taginfo

To Reproduce

Steps to reproduce the behavior. For examples:

  1. checkout recent and stable version of GraphHopper
  2. link to your OSM pbf
  3. include the config.yml you are using
  4. 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.