This function creates an object of class Lines for a Polyline shapefile or class Polygons for a Polygon shapefile.
shape2spList(shape, shp.type, ID)
A single record from the .shp file of the shapefile.
The type of shapefile, which is either "arc" for a Polyline shapefile or "poly" for a Polygon shapefile.
The shape ID value, i.e., the shapefile record number.
Object of class Lines for a Polyline shapefile or class Polygons for a Polygon shapefile - see documentation for the sp package for further details.