powered by
Save a Spatial type object to disk as a Shapefile.
APSHPsave(object, outfile, overwrite = FALSE)
a Spatial object
path for file to be saved
logical. Allow function to overwrite existing file. If set to 'prompt', it will ask user whether or to overwrite
# NOT RUN { APSHPsave(inPoly, outfile = "C:/Geodata/myfile.shp") # } # NOT RUN { # }
Run the code above in your browser using DataLab