osm {geodata} | R Documentation |
OpenStreetMap data
Description
Get OpenStreetMap (OSM) data
Usage
osm(country, var, path, proxy=FALSE, ...)
Arguments
country |
character. Three-letter ISO code or full country name |
var |
character. Currently it can be one of "places", "highways", or "railway" |
path |
character. Path for storing the downloaded data. See |
proxy |
logical. Return a SpatVectorProxy? |
... |
additional arguments passed to |
Details
License: Open Data Commons Open Database License (ODbL).
See https://www.openstreetmap.org/copyright
Value
SpatVector
Examples
aruba <- osm(country="Aruba", "places", path=tempdir())
[Package geodata version 0.6-2 Index]