Skip to main content
Question

Identify identical geometries from two datasets I have two building datasets and I need to identify which buildings from dataset A exactly match the geometry of a building in dataset B. What's the best way to do this ?

  • May 13, 2021
  • 4 replies
  • 117 views

tim_bkr
Participant
Forum|alt.badge.img+5
Identify identical geometries from two datasets I have two building datasets and I need to identify which buildings from dataset A exactly match the geometry of a building in dataset B. What's the best way to do this ?

4 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • May 13, 2021

You can use a spatial relator, send dataset A to the Requestor and dataset B to the supplier and choose Requestor Equals Supplier as the test


tim_bkr
Participant
Forum|alt.badge.img+5
  • Author
  • Participant
  • 13 replies
  • May 14, 2021

Hi ebygomm,

For some reason this is not working. Although in ArcMap, I am able to identify 690 identical buildings, the _related_candidates attribute of the SpatialRelator outputs only 0 values.

I have kept only Shape_Area and Shape_Length attributes and also tried rounding theses attributes to 5 decimals. There's something I'm not getting !

 


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • May 14, 2021

I think there is no concept of tolerance in the spatialrelator so they would have to match absolutely exactly. I expect arc includes some sort of tolerance in its analysis of what matches.

 

You could try using a matcher instead, which will allow you to set a tolerance.

 

If you want to specifically only compare data between datasets and not within the same dataset I would create a dummy attribute of 1 on all data, use that as attribute to match and then use the dataset name as an attribute that must differ


tim_bkr
Participant
Forum|alt.badge.img+5
  • Author
  • Participant
  • 13 replies
  • May 14, 2021

Thanks ebygomm. matcher is working fine for me ! I'm indeed using a "Vector tolerance". ArcGIS certainly applies a tolerance.