Description Usage Arguments Value Author(s) Examples
View source: R/00_S3_Definitions.R
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
1 |
x |
gadm_sp or gadm_sf Object |
name |
character name given to te shapefile |
none
Jean Pierre Decorps <jean.pierre.decorps@gmail.com>
1 2 3 4 | # library(GADMTools)
# data("Corsica")
# gadm_exportToShapefile(Corsica, "Corse")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.