| osmdata_sf {osmdata} | R Documentation |
Return an OSM Overpass query as an osmdata object in sf format.
osmdata_sf(q, doc, quiet = TRUE, stringsAsFactors = FALSE)
q |
An object of class |
doc |
If missing, |
quiet |
suppress status messages. |
stringsAsFactors |
Should character strings in 'sf' 'data.frame' be coerced to factors? |
An object of class osmdata with the OSM components (points, lines,
and polygons) represented in sf format.
## Not run:
hampi_sf <- opq ("hampi india") %>%
add_osm_feature (key="historic", value="ruins") %>%
osmdata_sf ()
## End(Not run)