On Monday 06 October 2008, Andrew Rayburn wrote:
> My problem is that I can't import precise (to 3 decimal places) Northing
> and Easting coordinates into R.  The data were taken on a ProMark3 GPS
> unit, with the intent of obtaining extremely precise GPS coordinates.
> Post-processing was done correctly, and the resulting Northings and
> Eastings were to 3 decimal places.  However, every attempt I've made to
> import them into R (scan, read.table, read.delim, read.dbf via FOREIGN
> package, and I also the tried maptools package) results in the exact same
> thing - the Northings column is shown to 1 decimal place, and the Eastings
> column has no decimal places.  In other words, I read in the data using one
> of many different import options, and then view the data after import - and
> all the precision has been eliminated.
>
> Has anyone else encountered this problem, and/or can anyone offer a
> solution?  I've spend an inordinate amount of time on this problem, with no
> luck.
>
> Thanks,
>
> Drew

Hi Drew. I suspect that the print method for sp objects in truncating the 
*printing* of coordinates, but not their actual values. Have a look at this 
thread:

https://stat.ethz.ch/pipermail/r-sig-geo/2007-October/002694.html

Cheers,
Dylan

-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to