gadm_exportToShapefile: Export to ESRI Shapefile

Description Usage Arguments Value Author(s) Examples

View source: R/00_S3_Definitions.R

Description

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

Usage

1

Arguments

x

gadm_sp or gadm_sf Object

name

character name given to te shapefile

Value

none

Author(s)

Jean Pierre Decorps <jean.pierre.decorps@gmail.com>

Examples

1
2
3
4
# library(GADMTools)
# data("Corsica")

# gadm_exportToShapefile(Corsica, "Corse")

GADMTools documentation built on Aug. 5, 2021, 1:06 a.m.