QGIS Adjacency – How to Count Adjacent Polygons Using QGIS

adjacencycountqgis

Is there a way to count adjacent polygons using QGIS?

I want to create a new field with the number of adjacent polygons.

I want to count adjacent polygons to determine if a polygon (house) is a corner house or an inbetween house.

enter image description here

Best Answer

Using the field calculator, you can use array_length( overlay_intersects( @layer,"")) to identify and count the intersecting geometries

enter image description here