osm_bike_profile: Default bicycle profile for OSM PBF import

View source: R/osm_profiles.R

osm_bike_profileR Documentation

Default bicycle profile for OSM PBF import

Description

Highway tag values kept for bicycle routing, with a class id and a flat assumed cycling pace (km/h, not a legal speed limit – use_maxspeed has no effect for this mode, see graph_from_osmpbf). Excludes motorway/trunk (+ _link) and pedestrian-only ways (footway/pedestrian/steps); includes cycleway/path/track in addition to ordinary roads. clazz ids reuse osm_car_profile's values for highway types shared with that profile.

Usage

osm_bike_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.