[R-sig-Geo] Export of an irregular grid

Robert J. Hijmans r.hijmans at gmail.com
Fri Oct 16 19:58:51 CEST 2009


Emmanuel, It depends on your reason for exporting. You can use
write.table with the DF of the SGDF object if you want ascii data to
analyze elsewhere. Alternatively you can use rgdal to write the data
to a geotiff file, if your purpose is display in a mapping program.
Robert

On Fri, Oct 16, 2009 at 5:52 AM, Poizot Emmanuel
<emmanuel.poizot at cnam.fr> wrote:
> Dear all,
>
> after interpolation with the gstat package, I created a grid of class
> SpatialGridDataFrame.
> The grid is not regular. I tried to export it with write.asciigrid function
> but didn't succed, I suppose because of the non-regularity of my grid.
> How can I turn around that problem ?
>
> ------------------------------------------------
> Emmanuel Poizot
> Cnam/Intechmer
> B.P. 324
> 50103 Cherbourg Cedex
>
> Phone (Direct) : (00 33)(0)233887342
> Fax : (00 33)(0)233887339
> ------------------------------------------------
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>



More information about the R-sig-Geo mailing list