On Wednesday 05 November 2008, Corrado wrote: > Dear friends, > > I have some 36 raster maps in one location, in the mapset PERMANENT: 12 for > the average monthly precipitation, 12 for the min temperature, 12 for the > max temperature. They are on the same region at the same resolution, with > nsres = ewres (2000). > > I would like to ouput (export) them into a text (CSV) file in the format: > > coordinate X, coordinate Y, value from map 1, ....., value from map 36 > > is that possible? if it is possible, how? > > Thanks!
check out r.stats (?) I think that you can output a single column of x,y,z data for each map, then use a combination of paste and cut to "horizonatally stack" the set of files into a new file. make sense? Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
