[GRASS-user] How to get the mean of overlaping areas between rasters.

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Tue Nov 8 04:27:12 PST 2016


Hei Miguel,

I would do it in two steps:

1)      sum your maps with r.series

2)      take the average per “area” with either r.univar (if you want table output) or r.stats.zonal (if you want map output).

Cheers
Stefan

From: grass-user [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Miguel Carrero
Sent: 8. november 2016 13:13
To: GRASS user list <grass-user at lists.osgeo.org>
Subject: [GRASS-user] How to get the mean of overlaping areas between rasters.

Dear all,

I want to sum 13 raster maps, and calculate the mean of areas which overlap among them. I mean, sum all the maps, but in those areas which they overlap calculate the mean of the values.

Does anybody know a method to do it?

Thanks for the attention,

Miguel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161108/912ccc96/attachment-0001.html>


More information about the grass-user mailing list