Description Usage Arguments Value Author(s)
This function creates an ESRI shapefile from an sp package object. The function can also accommodate an object created by the grts or irs functions in spsurvey. The type of shapefile, i.e., point, polyline, or polygon, is determined by the class of the sp object.
1 | sp2shape(sp.obj, shpfilename)
|
sp.obj |
the sp package object or object created by either the grts or irs functions. |
shpfilename |
Character string containing the name of the shapefile. The shapefile name should include the ".shp" extension. If the name does not include that extension, it will be added. |
An ESRI shapefile.
Tom Kincaid Kincaid.Tom@epa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.