A variety of presets for filtering down a full OSM dataset to the ways that describe transportation. This primarily filters on the value of the highway tag's value.
automobile_highways(graph) pedestrian_highways(graph)
graph | A |
---|
An integer vector of OSM Way ids.
automobile_highways
: Ways that are navigable in an automobile
pedestrian_highways
: Ways that are navigable by foot
When using get_osm_file()
, note that the underlying
read_big_osm() function automatically subsets the
network to Ways that contain a highway
key.