Question

Issues with duplicate polygons, need filter out the smallest with identical attributes.

  • 16 September 2021
  • 1 reply
  • 0 views

I have filtered out polygons and in several cases when using snapper turned two polygon into a new one which lays on top of the old ones. Attached is a workspace and data and an example is an polygon with "externid" "0331>JULMYRA>1:33>1>>>>1" which there are two of but one is a combination of two polygon (mentioned before+"0331>JULMYRA>1:63>1" and hence covers a larger area, (33k sqm vs 15k sqm). I would like to be able to filter out the duplicates and save the smaller polygons.


1 reply

Userlevel 5
Badge +25

The Duplicates output port of the DuplicateFilter contains all duplicate features encountered after the first one. So if you sort on externid and _area before the DuplicateFilter it should output the smallest ones through the Unique port.

Reply