Skip to main content
Question

Identify almost identical polygon

  • December 26, 2016
  • 4 replies
  • 177 views

Forum|alt.badge.img

Dear All ,

we are looking for a way to identify almost identical polygon with tolerance of one to three percent in shape and area between two different feature classes .

4 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 26, 2016

Calculate the area of each feature.

Then do an AreaonAreaOverlayer.

Recalculate the area and divide the recalcutated area by the original to get the percentage overlap.

That gives an indication which polygons are almost identical.


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • December 27, 2016

Next @erik_jan approach on how to use the area I would add the CircularityCalculator and its resulting attribute to the testing, so ensure the shape is also considered in the comparison.


redgeographics
Celebrity
Forum|alt.badge.img+49

In addition to the suggestions made by @erik_jan and @itay it might be useful, depending on how your source data is constructed to add a Snapper or AnchoredSnapper. If you store the geometry in an attribute beforehand (GeometryExtractor) then perform the snapping you can see which polygons were not snapped, these would have a high likelihood of not matching. Afterwards you can restore the original geometry using a GeometryReplacer.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • December 28, 2016

Area on Area is good beginning.

Comparing area difference is not necessarily so. (an apple with a stem would then be considered equal to one without. unless that is what you want.)

For instance you should check what absolute size 3% really is. A sliding scale the bigger the area the smaller the percentage would help.

Also doing following will yield some information:

Coercing the difference to lines and identify its border by the original object id's.

Then you could segment one and then snap the segments to the other and calculate the length's. Then pass the length's trough a statistic calculator and accept like 5% deviation.


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