View source: R/geo_utilities.R
| export_spdf | R Documentation |
Save spatial data as shapefile
export_spdf(spdf, name)
spdf |
sf object |
name |
filename with full path |
boolean
## Not run:
library(gisr)
library(sf)
shp <- get_admin0(countries = "Nigeria")
export_spdf(spdf = shp, name = "./GIS/nga_country_boundaries")
export_spdf(spdf = shp, name = "./GIS/nga_country_boundaries.shp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.