<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
<BR>
On Tue, 2011-10-04 at 16:55 +0200, Sebastian Schubert wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi,

I have a map with several polygons i, each having a certain value x_i. I 
want to calculate the average value of x in a rectangular grid. Each 
cell j of this grid includes (parts of) several polygons with A_ij being 
the area of the part of polygon i being in grid cell j. With that the 
average value in grid cell j is

x_j = sum_i A_ij x_i / (sum_i A_ij)

I was able to create a grid with Vector > Research Tools > Vector grid. 
Now each cell of this grid should include the average value of all 
polygons inside the cell (as described above).

Any idea how to do that?

</PRE>
</BLOCKQUOTE>
<BR>
You probably want to look at the GRASS module v.rast.stats<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Thanks a lot!
Sebastian

This mail was received via Mail-SeCure System.


_______________________________________________
Qgis-user mailing list
<A HREF="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</A>
<A HREF="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</A>

This mail was received via Mail-SeCure System.


</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>