save_poly: Save polygon on local disk

View source: R/poly_functions.R

save_polyR Documentation

Save polygon on local disk

Description

Save polygon on the local computer in various format depending o the extension of the savepath argument. For the moment, only "rdata" and "csv" are implemented.

Usage

save_poly(pol, savepath, polyname = NA)

Arguments

pol

Polygon as sf | sfc class from the R package "sf"

savepath

Path to save the polygone

polyname

Name of the polygone, Default = NA, this arguments is only taken into account if the extension of savepath is "rdata". In this case, polyname must be a char type.

Examples

## Not run: save_poly(polgone,"/home/bruno/save_directory/save_poly.rdata",
polyname = "16F")
## End(Not run)


BSt-Denis/gslcoenv documentation built on Feb. 10, 2023, 7:53 a.m.