2

Is it possible to calculate the area of colorful polygons (yellow, yellowish/reddish and red) inside another shapefile (purple outline, also polygons) in QGIS.

For example the polygon that is marked with red line: i'd like to know how much there is yellow, red etc inside the polygon with purple colored outline (area).

enter image description here

1 Answer 1

2

You can do it using the following steps:

  1. Select the target polygon (purple color)
  2. Use intersect tool from Vector -> Geoprocessing tools -> Intersect
  3. In the Input vector, choose the colorful polygon layer, and choose the purple layer in the intersect layer field
  4. Check Use only selected, as you can see below:

enter image description here

  1. Save the output intersected layer

  2. Start editing of the output layer and add new field in the attribute table, and give it a name Area, and in the expression, write $Area, and press on Update All to update Area field. Save edits.

    Make sure that both layers have the same projection.

Your Answer

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

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