lats2Shape: Converting a Table of Latitudes and Longitudes to a Shapefile
Description
A helper function to convert a table of latitudes and longitudes (and
associated attributes, if applicable) into a shapefile
Usage
lats2Shape(lats)
Arguments
lats
a table with a latitude and longitude column respectively with associated attributes
Value
A shapefile object which can be written to file using write.shapefile
Details
The table to be converted must contain as it's first two columns the latitude
(or Y) and longitude (or X) values to be converted. Any other number of
columns in any format can also be attached, and will be included in the
attribute table.