Is there a plug-in or methodology to measure areas under contours, which can be used to develop elevation-area tables?

I know you can create contours as lines from DEMs, but you need to convert them to polygons to measure areas. You also need to trim/crop them with a mask to confine the query to the area of interest.

What I would like to do is draw a polygon around an area of interest and ask a plug-in or method to generate a table of elevations v areas that can be used in hydraulic or hydrological modelling to determine the storage volumes of reservoirs, lakes or dams. (Tables of areas are more useful than tables of volumes because you can apply evaporation to the surface area of the water, although you can differentiate from volume to area, or integrate from area to volume.)

  • 1
    Slicing the raster at the chosen contour value(s) is quicker. For reference you can create hypsometric polygons using GDAL_Contour with -p (polygon) option gdal.org/programs/gdal_contour.html and clip your raster gis.stackexchange.com/questions/10117/… - this will give you a slightly different value to a classify slice as the lines are slightly generalized. If you want to use existing contours close the ends and polygonize gis.stackexchange.com/questions/207463/… does that help? Nov 9, 2020 at 7:04
  • 1
    QGIS creates contours with that gdal_contour program. Just write -p into the "Additional command line parameters" box for creating contour polygons.
    – user30184
    Nov 9, 2020 at 7:10
  • Thx, but I don't see the solution I am looking for. gdal_contour with -p creates polygons, but does not retain the contour elevation. Contour lines retain elevation, but require manipulation to polygonize, and do not create nested contours. I'm looking for nested contour polygons (like concentric circles), or some such to allow an area calculation at each elevation. Nov 10, 2020 at 3:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.