6

I have a QGIS project file with over 50 layers, each representing a different species' habitat range.

I would like to create a new layer that adds up the number of layers at each point in the map and returns a new overlay on the map that shows the number of species that overlap for each point. See these images as an example: https://ibb.co/album/Qr27r3

See representation below:

enter image description here

enter image description here

2

4 Answers 4

6

You can try the overlap analysis algorithm:

enter image description here

enter image description here

If your data is in the form of points then you can use the "Count Point in Polygon" tool under the "Analysis Tools" in the "Vector" menu.

enter image description here

5

I have three polygon layers:

enter image description here

Workflow:

  1. Merge all layers into one'
  2. Union the output layer with itself as input layer, no overlay layer
  3. Aggregate the union:

enter image description here

enter image description here

If you don't want to count internal overlaps in one layer your should Dissolve each layer first with option "Keep disjoint features separate" true.

2

I think you need to:

  1. Merge all your layers using "Merge Vector Layers."
  2. Prepare your points that you want to get statistics .
  3. Run spatial join with "Join by attribute location (summary)" (Use count as summarize field.)
  4. Number of layers in specific points will be shown in the attribute table of the output
1

Let's assume there is a polygon vector layer called 'Polygons', see the image below.

input

Step 1. Install the "QGIS Resource Sharing" plugin. ⚠️ Keep in mind, that it is an experimental plugin

step1

Step 2. Open the plugin via its logo, find the "Polygon Tools", and install this tool. Afterwards, two models will be added to the Processing Toolbox (Ctrl+Alt+T)

step2

Step 3. Apply the "Count Polygon Overlap" model with a desired input layer

step4

and get the output like this

output


References:

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.