I would like to do the following:

  1. Get the area of each soilscape type

enter image description here

  1. Calculate the sum of area per boundary

I'm trying to do the following but seems the output is always "0"

enter image description here

  • 1
    What spatial reference is your data? It could be geographic which would make your area unmeaning. The geometries could be bad which could interfere with the area calc. Probably the best way of getting combined areas is, after individual polygons are calculated, open a copy of the DBF file (part of a shapefile, you might need to save as if not already a shapefile) in Excel (or similar) and create a pivot table. – Michael Stimson Jun 28 '17 at 2:25

Duplicate the layer, and perform a dissolve operation to make a polygon for every kind of soilscape How to dissolve based on attribute with QGIS

Then calculate the geometry of every polygon in a new field. Try if it works this way, maybe it is not the most elegant, but it may work for you.

| improve this answer | |

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.