powered by
Export a gadm object to an ESRI Shapefile. This function create a directory with te name provided as parameter which contains 4 files :
- name.dbf
- name.prj
- name.shp
- name.shx
Where "name" is the name provided as parameter. Directory is created in the current working directory
gadm_exportToShapefile(x, name)
gadm_sp or gadm_sf Object
character name given to te shapefile
none
# NOT RUN { # library(GADMTools) # data("Corsica") # gadm_exportToShapefile(Corsica, "Corse") # }
Run the code above in your browser using DataLab