Return an OSM Overpass query as an osmdata object in sp format.
Return an OSM Overpass query as an osmdata object in sp format.
osmdata_sp(q, doc, quiet = TRUE)
q |
An object of class |
doc |
If missing, |
quiet |
suppress status messages. |
An object of class osmdata
with the OSM components (points, lines,
and polygons) represented in sp format.
Other extract:
osmdata_sc()
,
osmdata_sf()
,
osmdata_xml()
## Not run: hampi_sp <- opq ("hampi india") %>% add_osm_feature (key = "historic", value = "ruins") %>% osmdata_sp () ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.