poi.osm: poi.osm

Description Usage Arguments Value Author(s) See Also Examples

View source: R/poi.osm.R

Description

Download data from Openstreetmap usign Overpass API.

Usage

1
poi.osm(city, tag, value)

Arguments

city

a string. Like "Milano" or "London".

tag

a string. An openstreetmap tag like "railway", "amenity", "tourism".

value

a string. The value about tag like "station", "museum", "pharmacy"

Value

a large list of 8 items returned by OSM. 5 of 8 elements are SpatialDataFrame.

Author(s)

Nicola Procopio

See Also

https://wiki.openstreetmap.org/wiki/Overpass_API

Examples

1
2
3
### Uncomment and Run
# require(wRappoveRpass)
# phMilan <- poi.osm(city = "Milano", tag = "amenity", value = "pharmacy")

nickprock/wRappoveRpass documentation built on Jan. 28, 2020, 12:08 a.m.