Hi Cutberto,

I think it depends on what you want to do. But may be this works:

myPoints<-dara.frame(coordinates(mySGDF))

You can also get attributes from mySGDF using:

myPoints$AT1<-mySGDF@data[,"myatt1"]

Good luck

miltinho

2009/9/3 Cutberto Uriel Paredes Hernández <cutberto.paredes@gmail.com>

> Dear list,
>
> Is there a way to convert a raster to points in R
> (SpatialGridDataFrame to SpatialPointsDataFrame)? I know I can do this
> with ArcGIS but I would like not to use propietary software.
>
> Sorry for posting this basic question but it couldn't find the answer
> in the archives.
>
> Thanks a lot for your help.
>
> Kind regards, Cutberto.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

