I have a shapefile containing parcel data for multiple counties, and I'm trying to narrow this dataset with the following conditions:
1.) Identify owners with contiguous parcels AND 2.) Exclude owners that may have contiguous parcels, but may also have parcels that are not contiguous.
I followed this question and found it extremely helpful How to only select contiguous parcels that have same ownership (QGIS)
which gives the following select by expression formula:
array_contains (overlay_touches (@layer, name, limit:=-1), name)
I was able to select those owners with contiguous parcels, but now I want to narrow the results further to only owners with contiguous parcels and no other parcels. For example, if John Doe is in my table and owns 5 parcels, and 3 are touching (those three are selected under the current expression), I want to remove John Doe from my table completely.