osm_hgv_profile: Default heavy goods vehicle (truck) profile for OSM PBF...

View source: R/osm_profiles.R

osm_hgv_profileR Documentation

Default heavy goods vehicle (truck) profile for OSM PBF import

Description

Identical highway/clazz/speed table to osm_car_profile (trucks use the same road classes and, as a simplification, the same legal speed limits in this version) – the actual difference from mode = "car" is in access-tag resolution (hgv=no/hgv=destination/hgv=yes), not the set of roads considered. Weight/height/width restrictions (maxweight, maxheight, ...) are not resolved against a vehicle's actual dimensions in this version.

Usage

osm_hgv_profile()

Value

A data.frame with columns highway, clazz and speed, suitable as the profile element of cpp_extract's osm argument for a .pbf source.


cppRouting documentation built on Nov. 12, 2026, 5:11 p.m.