osm_datapull | R Documentation |
This function pulls specific layer data (lines, multipolygons and points) from the Open Street Maps for countries or regions
osm_datapull( country = "Cameroon", ldrive = "C:/Users/ifean/Documents/WorldBankWork/SAEPlus_Other", lines = T, points = T, multipolygon = T )
country |
a string argument for the country name (or city) of interest i.e. place argument for oe_get function |
ldrive |
a string argument for the local folder/drive location where the data should be stored |
lines |
if TRUE, OSM features with lines data will be pulled |
points |
if TRUE, OSM features with points data will be pulled |
multipolygon |
if TRUE, OSM features will be pulled within polygons |
one shapefiles for each of lines, points and/or multipolygon pulls specified as TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.