save a shapefile to disk in the current working directory
saveShapefile(shape, mapId, dir = getwd(), overwrite = FALSE)
- the sf shape
- a mapId - will become the zip filename, and the filename of the zipped .shp file
- the directory (defaults to current working directory)
- the save function will not write over existing files unless this is set to true
a the filename of the zipped shapefile