I am using QGIS 3.22.1 for this task.
I have points with X, Y, Z of river bed. I have two sets, first is top of the mud and second is bottom of the mud-gravel layer. My goal is to calculate difference between these two DEMs. My process was this:
- Made two DEMs from points
- Raster to vector both
- Intersection of these polygons
- Then mask layer (I have points in C shape, so I needed to remove excess areas)
- Clip both DEM with mask layer
- Raster calculator (top DEM - bottom DEM)
- Raster zonal statistics
- In attribute table of statistics - calculate new column "Volume" = ("m2"*"sum")
- Basic statistics for fields - "Volume"
After this procedure I have an HTML file with "sum" which shows number "67366.96377954601". This is not possible. Area of DEM is 7600 m2. This means that there is 8,85 m of mud. This is not true. Difference DEM shows values from -0,19 m to 2,74 m.
Do you have any suggestions? What am I doing wrong?