Description Usage Arguments Value Author(s) See Also Examples
Download data from Openstreetmap usign Overpass API. Default download bus stop.
1 | poi.osm(city, tag, value)
|
city |
a string. Like "Milano" or "London". |
tag |
a string. An openstreetmap tag like "railway", "amenity", "tourism". Default "highway". |
value |
a string. The value about tag like "station", "museum", "pharmacy". Default "bus_stop" |
a large list of 8 items returned by OSM. 5 of 8 elements are SpatialDataFrame.
Nicola Procopio
https://wiki.openstreetmap.org/wiki/Overpass_API
1 2 3 | ### Uncomment and Run
# require(magicwrap)
# bus_stop_Milan <- poi.osm(city = "Milano")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.