saveShapefile: save a shapefile to disk in the current working directory

View source: R/load-maps.R

saveShapefileR Documentation

save a shapefile to disk in the current working directory

Description

save a shapefile to disk in the current working directory

Usage

saveShapefile(shape, mapId, dir = getwd(), overwrite = FALSE)

Arguments

shape

- the sf shape

mapId

- a mapId - will become the zip filename, and the filename of the zipped .shp file

dir

- the directory (defaults to current working directory)

overwrite

- the save function will not write over existing files unless this is set to true

Value

a the filename of the zipped shapefile


terminological/arear documentation built on April 27, 2024, 9:02 a.m.