Skip to main content
Solved

Spatial Filter - Equals test not picking up matching polygons

  • October 18, 2017
  • 3 replies
  • 27 views

Forum|alt.badge.img

I have two polygon files. One is the original file and the other is an update of the original containing edits. I would like to filter out the polygons that have been updated spatially from the polygons that are unchanged. I have tried using Spatial Filter with 'Test to Perform' set to Equals but it seems not to be able to identify the matching polygons. I have tested the original against itself and the equals filter worked perfectly. Tested against the updated file (where I can see there are many unchanged polygons) and it doesn't work.

Best answer by mikemidd

I have resolved the problem by adding a Coordinate Rounder to each input feature class and selecting, 'yes' to Add Bounding Box in the Spatial Filter.

 

 

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.

3 replies

Forum|alt.badge.img
  • Author
  • 2 replies
  • Best Answer
  • October 18, 2017
I have resolved the problem by adding a Coordinate Rounder to each input feature class and selecting, 'yes' to Add Bounding Box in the Spatial Filter.

 

 


takashi
Celebrity
  • 7843 replies
  • October 18, 2017
I have resolved the problem by adding a Coordinate Rounder to each input feature class and selecting, 'yes' to Add Bounding Box in the Spatial Filter.

 

 

I agree that the CoordinateRounder would be effective to resolve tiny gaps between two geometries, which should be identical but there could be the gaps caused by unavoidable reason (e.g. computational error).

 

However, if you have set "Yes" to the Use Bounding Box parameter, it could bring unexpected results, since the SpatialFilter with this option just compares bounding boxes of input geometries.

 

 


Forum|alt.badge.img
  • Author
  • 2 replies
  • October 20, 2017
I agree that the CoordinateRounder would be effective to resolve tiny gaps between two geometries, which should be identical but there could be the gaps caused by unavoidable reason (e.g. computational error).

 

However, if you have set "Yes" to the Use Bounding Box parameter, it could bring unexpected results, since the SpatialFilter with this option just compares bounding boxes of input geometries.

 

 

I will set Use Bounding Box to "No". Thanks.