osmdata_sp {osmdata} | R Documentation |
Return an OSM Overpass query as an osmdata object in sp format.
Description
Return an OSM Overpass query as an osmdata object in sp format.
Usage
osmdata_sp(q, doc, quiet = TRUE)
Arguments
q |
An object of class |
doc |
If missing, |
quiet |
suppress status messages. |
Value
An object of class osmdata
with the OSM components (points, lines,
and polygons) represented in sp format.
See Also
Other extract:
osmdata_data_frame()
,
osmdata_sc()
,
osmdata_sf()
,
osmdata_xml()
Examples
## Not run:
hampi_sp <- opq ("hampi india") %>%
add_osm_feature (key = "historic", value = "ruins") %>%
osmdata_sp ()
## End(Not run)
[Package osmdata version 0.2.5 Index]