I'm using QGIS (2.8.1-Wien) and I have a raster layer showing chlorophyll concentrations in the ocean. I have also defined number of regions of the ocean using polygons. What I'd like to calculate for each region is the area within that polygon where the raster is greater than X. For example, what area in each polygon has a chlorophyll concentration greater than 2. Any suggestions?

  • Please edit your question to specify the version of QGIS or ArcGIS in use, and change the title to match the body or the body to match the title.
    – Vince
    May 13 '15 at 19:45

Here's my solution. I used the Raster Calculator to determine where my raster is greater than X, outputting a layer that is 1 (greater than X) or 0 (less than or equal to X). I then used the Zonal Statistics plugin to calculate the mean value of this new layer within each polygon. This gives the proportion of the polygon where the raster is greater than X. Multiplying by the area of my polygons gives the area in each polygon where the raster is greater than X.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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