setting up a spatial data frame
On 02/22/2012 09:52 AM, Alexandre Villers wrote:
Hi Erin, You should provide us with more information: with no lat / lon data, it is going to be pretty difficult to turn your data frame into a Spatial Object... were the data collected on a regular grid, is it somehow linked to a Spatial object that could be imported into R? From the last columns, it seems to come from a shapefile... Do you have this file ?
Indeed it looks like a erroneous Shapefile import; if you look at the last three
variables, it seems the actual geometry ("Shape") has not been imported, while
geometry's length and area have been:
>> $ Shape : logi NA NA NA NA NA NA ...
>> $ Shape_Length : num 16572 43119 39256 59785 75759 ...
>> $ Shape_Area : num 1.30e+07 8.04e+07 7.55e+07 7.66e+07 2.30e+08 ...
Regards,
Luca Morandini
http://www.lucamorandini.it