Skip to main content
Question

Need SpatialFilter to get overlaps but not touches

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • 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
  • 1891 replies
  • 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.