osm_foot_profile: Default pedestrian profile for OSM PBF import

View source: R/osm_profiles.R

osm_foot_profileR Documentation

Default pedestrian profile for OSM PBF import

Description

Highway tag values kept for foot routing, with a class id and a flat assumed walking pace (km/h, not a legal speed limit – use_maxspeed has no effect for this mode, see graph_from_osmpbf). Excludes motorway/trunk (+ _link), which are not walkable; includes footway/path/pedestrian/steps in addition to ordinary roads, since pedestrians can generally use any street. clazz ids reuse osm_car_profile's values for highway types shared with that profile, so the same real-world road has the same class id regardless of mode.

Usage

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