On Wed, 2008-11-05 at 10:38 +0000, 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! 

Corrado,

check also if r.stats -x does what you need. I created some .csv file
that look like 

row,column,map1value,map2value,map3value,...

With r.stats -gx you can also have the coordinates printed out.

I have a terrible (=from beginners like me) script.

Cheers, Nikos

 

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to