Tutorial: Create a Stage Volume Curve
2. Calculate the volume below a specific elevation
First we'll explore a processing tool to calculate the volume below a specific elevation in a DTM.
1. Open QGIS.
2. In the main menu go to Project | Open From | GeoPackage.
3. In the Load project from GeoPackage dialogue browse to the provided data_stagevolume.gpkg GeoPackage and open the StageVolume project.
This project has an SRTM 1-Arc Second DEM reprojected to UTM Zone 32N and clipped to the area around the open pit mine. The DEM has been styled with a colour ramp and is blended with a rendered hillshade.
4. Go to Processing | Toolbox to open the Processing Toolbox panel.
5. In the Processing Toolbox choose Raster analysis | Raster surface volume.
6. In the Raster Surface Volume dialogue choose DTM as Input layer, keep Band number as it is and here we keep Base level 0 m, because we want to calculate the volume that is below 0 m. We do that by changing the Method to Count Only Below Base Level. The Surface volume report is an html file. Give it the name volumebelowzero.html. The Surface volume table is a dbf file. We can't choose a dbf file so we save it as volumebelowzero.shp.
7. Click Run.
The Log tab gives the result: 'VOLUME' : -1155480399.7627096
It also gives an error in red. This is because it doesn't create a shapefile but a dbf file. So you can ignore this error.
8. Click Close to close the dialogue.
At the bottom of the Processing Toolbox you can find the Results Viewer.
9. Double click on the Surface volume report or the html link (it links to the same). It will open in your browser. Check the results.
10. Drag the volumebelowzero.dbf file from the Browser panel to the map canvas.
11. Click right on the volumebelowzero table in the Layers panel and choose Open Attribute Table to check the result.
12. Repeat from step 5 for some other elevations.
In the next section we're going to calculate the volumes for many elevations and store the values in one table.