saveShapefile | R Documentation |
save a shapefile to disk in the current working directory
saveShapefile(shape, mapId, dir = getwd(), overwrite = FALSE)
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 |
a the filename of the zipped shapefile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.