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.
Page 1 / 1
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 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.
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 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.