View source: R/geo_utilities.R
spdf_export | R Documentation |
Export spatial data as shapefile with flags
spdf_export(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.