Skip to main content

Hi All, I want to filter my datasets for features which are closed polygons with surface area>0. I assume I need a filter but which one and how to set it right?

 

TY

You can use a GeometryFilter to filter out polygons, they should already have an area > 0 but if you want to be extra sure you can then use an AreaCalculator to calculate the area and a TestFilter or Tester to filter on that (or the @Area() function within a Tester/Testfilter)


thank you but how can I be secure that the polygons are closed is this ensured if I choose "Area" in the parameters?


thank you but how can I be secure that the polygons are closed is this ensured if I choose "Area" in the parameters?

A polygon is essenially a line that has at minimun 4 vertices with the first and last vertices having the same coordinates. If the polygon is not 'closed' then it is a line


A polygon is essenially a line that has at minimun 4 vertices with the first and last vertices having the same coordinates. If the polygon is not 'closed' then it is a line

Makes Sense, Thank you


Reply