Learn R Programming

APfun (version 0.1.6)

APSHPsave: AP Save to SHP

Description

Save a Spatial type object to disk as a Shapefile.

Usage

APSHPsave(object, outfile, overwrite = FALSE)

Arguments

object

a Spatial object

outfile

path for file to be saved

overwrite

logical. Allow function to overwrite existing file. If set to 'prompt', it will ask user whether or to overwrite

Examples

Run this code
# NOT RUN {
APSHPsave(inPoly, outfile = "C:/Geodata/myfile.shp")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab