Displaying 2 results from an estimated 2 matches for "writerast6".
Did you mean:
writeraster
2008 Dec 10
2
exporting rast from R to GRASS
...ASS("zn", after converted to geodata "zn_geo"), the border
"zn_border" and a raster mask. Then i interpolated the points by
kriging and created a raster image. Now, i need export this image back
to GRASS to use it in the module r.mapcalc. I can't do it. I tried use
writeRAST6, but it returns a message: "tentativa de obter um slot
"data" de um objeto cuja classe ("kriging") n?o ? um objeto S4" or
"attempt to obtain a slot from an object whose class ("kriging") is
not a S4 object". what does this mean?
Help me, please!
T...
2009 Jul 01
0
The step before interfacing to GRASS
...g (I already managed to configured properly the mapset and so on):
1. I have to create a SpatialGridDataFrame object before to write into a Raster file.
2. In order to create a SpatialGridDataFrame I need a GridTopology.
3. After doing it, I am allow to write the file into GRASS using the function writeRAST6, like: writeRAST6 (spterrain, "maps.dem").
How to create the SpatialGridDataFrame and/or the GridTopology? I am doing something wrong.
Thanks,
Javier Hidalgo.
_________________________________________________________________
[[alternative HTML version deleted]]