osm_car_profile: Default car profile for OSM PBF import

View source: R/osm_profiles.R

osm_car_profileR Documentation

Default car profile for OSM PBF import

Description

Highway tag values kept for car routing, with a class id and a default speed (km/h) used unless overridden by a maxspeed tag. Mirrors a typical osm2po car profile (wtr.finalMask = car): motorway/trunk/primary/secondary (+ their _link variants), tertiary, residential, road and unclassified. service, living_street, track, path, cycleways and footways are intentionally excluded, as in that reference configuration.

Usage

osm_car_profile()

Value

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


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