Skip to main content
Question

Need SpatialFilter to get overlaps but not touches

  • February 16, 2018
  • 2 replies
  • 88 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

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 16, 2018

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.


Forum|alt.badge.img+2
  • February 26, 2018

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings