[R-sig-Geo] transform spatial points into data.frame

Edzer Pebesma edzer.pebesma at uni-muenster.de
Wed Feb 1 11:38:40 CET 2012


did you try

as.data.frame(x)

?

On 02/01/2012 11:33 AM, Johannes Radinger wrote:
> Hello,
> 
> probably this is a very simple task:
> 
> How can I transform spatial points (assigned coordinates with rgdal)
> into a ordinary data.frame
> where the first column is name of the point and the second and third
> columns are
> X and Y?
> 
> /johannes
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list