QGIS – How to Perform Volume Calculation

errorgrasspythonqgissextante-qgis-plugin

EDIT 07/12/12

Ok, meanwhile I came to another problem I want to discuss.
I just tried around with the volume calculation with some layers and came to a point where I receive the following error.
Screenshot:

error

I did some research and discovered this explanation:
http://blog.webforefront.com/archives/2011/02/python_ascii_co.html
The problem is, that I have absolutely no Idea about python programming.
So my question is: Does anyone know how to solve this described error problem?

Note: I left the older questions below in order to see the process I made.




I m currently trying to make a volume calculation in QGIS. I realised, that
using GRASS or Sextante is the right choice to do this. But since there are barely useful tutorials, that go into depht nor any other guides or hints that may help in this context, I want to seek help here.
So I want to ask these questions:

1)I want to calculate the volume of a specific map area. So I discovered the algorithm "r.volume."

1.1.)How does it work exactly?The Help text in that menue is not very useful for me as a Grass beginner.

1.2) Why do I need raster layers for this and no vector layers?

1.3) What certain criteria do these rasters have to fulfill?

1.4) I added a screenshot. What exactly are these "clumps" and what rasters have to be chosen in the drop down list?

1.5) Can I have an accurate example of how to perform such an r.volume algorithm?I d be thankful for any detailed help/ raster files to test this.

2)I learned, that GRASS (in QGIS) was integrated into the Sextante Plugin for QGIS.

2.1) Does this mean I can only use Sextante and still have all the functions of Grassgis?I d welcome that because I always had trouble with importing data into Grassgis. Sextante doesn t (obiously) require this.(?)

2.2) A strengh of gvSIG is Sextante, so I read; Is the Sextante Plugin for QGIS equal to gvSIG Sextante concerning performance/ possibilities?

thanks a lot,
Shepherdjo


EDIT:07/11/12 8.08am:

I know this is not easy to answer but it would be great too, if you can help me out with the other questions (2.1/2.2).


r.volume menue

Best Answer

Update; I tried the volume calculation again and came to the conclusion that it can be done with grass, since sextante produces this weird error (see above). Set the Mapset and convert your raster layer(it has to be a file that countains the elevation data(dem)) to a grass file. Make sure, all projections match, otherwise an error will occur during conversion. First run r.clump, that will produce another raster(clump-map).Convert this one into grass too. In r.volume you ll now use your both rasters and run the method. Worked good for me. Hope this helps. Jo