QGIS – Overlap Tool

Marketing
Marketing
  • Updated

By David Crowther

QGIS___Overlap_Tool_-_1.PNG

Question:

How can I calculate the Area Overlap between Layers within QGIS?

Answer:

The Overlap Analysis Tool allows you to calculate the Area Overlap and Percentage Area that a set of input features overlay a source feature.  

In this example we will be using two layers:

  • A Hardstanding Layer with two input Polygons
  • A Play Area Layer with one Polygon

QGIS___Overlap_Tool_-_2.PNG

The Overlap Analysis Tool DOES:

  • Calculate the AREA that each Hardstanding Polygon overlaps into the Play Area.
  • Calculates what that AREA value is as a percentage of each feature’s own total area.

The Overlap Tool DOES NOT:

  • Calculate the AREA that the input features cover the Play Area – although this can be calculated later.
  • It DOES NOT therefore tell you the percentage that the Play Area is being covered by the Hardstanding polygons – although again this can be calculated later.

In QGIS below we have our two layers – the Play Area shown in Green and the Hardstanding Areas shown in Grey.

QGIS___Overlap_Tool_-_3.PNG

Before we run the Overlay Analysis Tool, we have already extracted the AREA value for each of the three Polygons:

  • Play Area = 10704.378sq metres
  • Hard Standing 1 = 3166.418
  • Hard Standing 2 = 3801.548

From the Processing menu choose > Toolbox > and open the Vector Table section.

QGIS___Overlap_Tool_-_4.PNG

Choose the Overlay Analysis menu option.

QGIS___Overlap_Tool_-_5.PNG

The Overlay Analysis tool will open.

QGIS___Overlap_Tool_-_6.PNG

We will use the following settings:

  • In the Input Layer choose the Hard Standing Layer – as we are going to calculate the Area and % Area overlaps for these features.
  • In the Overlay Layer choose the Play Area Layer – as we are going to calculate how the input layer features overlap this layer.

QGIS___Overlap_Tool_-_7.PNG

QGIS___Overlap_Tool_-_8.PNG

If you now Run the Overlap Analysis tool, it will create a Temporary Layer which is a copy of the Input Layer – Hardstanding.

If we browse the Overlap Layer, we can see that we have the original input attributes and now 2 added fields:

  • PlayArea Area – the Area that this feature overlaps the Play Area Polygon
  • PlayArea_PC – the % of the Total features Area that overlaps with the Play Area Polygon

QGIS___Overlap_Tool_-_9.PNG

Looking in the map and adding some Labels we can start to visualise these Overlap values.

QGIS___Overlap_Tool_-_10.PNG

Now that we have these extra values, if we want to, we can then calculate some additional statistics:

1 – Total Hard Standing Area overlapping the Play Area =

  • HardStanding1 Overlap Area - 1461.083 +
  • HardStanding2 Overlap Area - 1496.752 =
  • 2957.835 square metres.

2 – Percentage of the Play Area covered by the Hard Standing Areas

  • Total Play Area – 10704.378
  • Total Overlapping HardStanding Area –2957.835
  • % of Play Area covered by HardStanding = 27.63%

This looks a great tool to help you analyse how your layers overlap each other, which you can then use for statistical analysis and for calculating costs!

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.