Question

Need SpatialFilter to get overlaps but not touches

  • 16 February 2018
  • 2 replies
  • 16 views

I am trying to use SpatialFilter to get polygons that overlap but it also includes polygons that touch the edges since I am using the "Filter Intersects Candidate" option. Has anyone found a workaround for this issue since there isn't an option to only test for overlaps?

Thanks


2 replies

Userlevel 2
Badge +17

Hi @amanda,

In the SpatialFilter, please set Support Mode to Support All Predicates. This will expose more predicates in Spatial Predicates to Test, including 'Filter Overlaps Candidate'.

When the Support Mode is set Support All Predicates, the SpatialFilter will reject any aggregate geometries, so it may be a good idea to place a Deaggregator before it.

Badge +2

The documentation on Spatial Relations Defined might help clarify some of the pre-defined relationships. You can select multiple predicates, so for "polygons that overlap", if this includes polygons the lie inside another polygon, you might need to include both Overlaps and Contains predicates.

Reply