[GRASS-user] Export multiple rasters into a single textfile
Blumentrath, Stefan
Stefan.Blumentrath at nina.no
Thu Nov 21 05:12:17 PST 2013
Hi
Did you check r.stats -1 -g
It should do exactly what you want...
Cheers
Stefan
From: grass-user-bounces at lists.osgeo.org [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Johannes Radinger
Sent: 20. november 2013 14:01
To: GRASS user list
Subject: [GRASS-user] Export multiple rasters into a single textfile
Hi,
what is the fastest/most convenient way to export multiple rasters into a simple single text file (e.g. csv) so that the rows represent the single cells and the columns the values of the single rasters at that specific cell? The rasters (n=12) have all the same resolution and consist of each appr. 250000 cells.
What came into my mind was to generate a point-vector (center points of each raster cell) and then query all rasters at the locations of these points (250000) but I think there must be a more direct way available in GRASS?
Any ideas?
/Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20131121/6da30b9c/attachment.html>
More information about the grass-user
mailing list