Is it possible to calculate the area of a DEM in specific value ranges, e.g. the total area between 200 and 300 meters of elevation?

Using QGIS and my DEM is 1m. Would like to do this for my DEM, so that in a second step I can visualise the number of features in each value range.

enter image description here

  • 1
    Using the raster calculator create a mask where every area between 200 and 300 m is taken into account, then convert to contour lines, then to polygons, then calculate area.
    – Erik
    Commented May 25, 2021 at 12:02
  • You can try "Raster layer histogram", then multiply by pixel size
    – Bera
    Commented May 25, 2021 at 12:20

1 Answer 1

  1. Create contour polygons using Menu Processing / Toolbox / Contour polygons.

    It's a GDAL tool (requires GDAL ver. 2.4.0. or later), available in QGIS. If you find only contour, set there the flag -p, see GDAL documentation: https://gdal.org/programs/gdal_contour.html

  2. Select the relevant polygons and calculate the area with field calculator.

DEM with a contour polygon for the range between 200 and 300 m: enter image description here

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.