I don think so. You must do just algebraic sum: perhaps negative values are "filling" and positive are "excavation". It depends on which layer is subtracting.<br><br>The mask is for delimiting the area of interest only.<br>
<br>----------------- <br>What I mean in Spanish if my English is bad:<br><br><span id="result_box" class="" lang="es"><span class="hps">No creo que debas hacer es</span><span class="hps">o.</span> <span class="hps">Sólo deberías hacer</span> <span class="hps">la suma</span> <span class="hps">algebraica</span><span class="hps"></span><span class="">: tal vez</span> <span class="hps">los valores negativos son</span> <span class="hps">"relleno"</span> <span class="hps">y los positivos</span> <span class="hps atn">son "</span><span>excavación</span><span>".</span> <span class="hps">Depende de qué</span> <span class="hps">capa está</span> <span class="hps">restando.</span><br>
<br><span class="hps">La máscara  es</span>  sólo <span class="hps">para delimitar el</span> <span class="hps">área de</span> <span class="hps">interés.</span></span><br><br>--------------------<br><br>Carlos<br><br><br><div class="gmail_quote">
2013/3/5 Pedro Venâncio <span dir="ltr"><<a href="mailto:pedrongvenancio@yahoo.com" target="_blank">pedrongvenancio@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Carlos,<br>
<br>
Thank you for your great tip!<br>
<br>
I was thinking... creating masks to separate the negative valuesfrom the positive valuesof the raster 'Hight', I can get the excavation and landfill volumes, right?<br>
<br>
<br>
Thanks!<br>
Pedro<br>
<br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: Carlos Cerdán <<a href="mailto:sig.upagu@gmail.com">sig.upagu@gmail.com</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
Cc:<br>
Sent: Tuesday, March 5, 2013 11:16 PM<br>
Subject: Re: [Qgis-user] Volume between two surfaces<br>
<br>
One idea:<br>
<br>
Use calculator on GRASS and do:<br>
<br>
Surface 1 - Surface 2 = Hight<br>
<br>
We have the heigth value on each cell, so now use r.sum:<br>
<br>
Volume = r.sum (of Hight) * side of pixel ^2 (if cells are squares)<br>
<br>
Of course, you must use a mask to boundary your area of interest<br>
<br>
Carlos Cerdán<br>
<br>
<br>
El 05/03/13 17:49, Pedro Venâncio escribió:<br>
> Hi all,<br>
><br>
> Is there any way to calculate the volume between two surfaces (two DEM rasters)?<br>
><br>
> There are ways to calculate the volume between a surface and a particular height value (GRASS r.volume or SAGA Grid Volume) but I can not find how to calculate the volumes (landfill / excavation) between two DEM.<br>

><br>
> Any tips?<br>
><br>
> Thank you very much!<br>
><br>
> Best regards,<br>
> Pedro Venâncio<br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</blockquote></div><br>