Description Usage Arguments Value Functions See Also
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.
1 2 3 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.