Skip to content

Parse maxweightrating - #2991

Merged
karussell merged 2 commits into
graphhopper:masterfrom
otbutz:maxweightrating
Apr 26, 2024
Merged

karussell merged 2 commits into
graphhopper:masterfrom
otbutz:maxweightrating

Conversation

@otbutz

@otbutz otbutz commented Apr 26, 2024 •

Copy link
Copy Markdown
Contributor

We currently only parse maxweightrating:hgv, but the maxweightrating tag is also used in OSM, e.g. in the UK.

Example: https://www.openstreetmap.org/way/111600902 (StreetView)

OSM wiki: https://wiki.openstreetmap.org/wiki/Key:maxweightrating#maxweightrating_sign

grafik

I also moved the abandoned maxgcweight tag to the end of the list, preferring the standard tags if present.

@karussell karussell added this to the 10.0 milestone Apr 26, 2024
@karussell karussell added the osm label Apr 26, 2024
@karussell
karussell merged commit 2fab873 into graphhopper:master Apr 26, 2024
@karussell

Copy link
Copy Markdown
Member

Thanks! Makes sense.

Later we should probably also differentiate between the actual weight and the maximum permitted weight of the vehicle at full load. (i.e. maxweight vs maxweightrating)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants