R/poi.osm.R

Defines functions poi.osm

Documented in poi.osm

poi.osm <-
function(city, tag, value){
  q <- getbb(place_name = city, base_url = "https://nominatim.openstreetmap.org") %>%
    opq() %>%
    add_osm_feature(tag, value)
  x <- osmdata_sp(q)
  return(x)
}
nickprock/wRappoveRpass documentation built on Jan. 28, 2020, 12:08 a.m.