Skip to main content
Question

Compare multiple fields after a spatial filter


pi_hellz
Participant
Forum|alt.badge.img+1

I'm looking to compare the difference between multiple columns that is resulting from a feature merger.

example :

IDTypeYearCityStreet_type_year_city_street121999QCDuke21999MTLDuke232001MTLKing12002MTLThomas

I need to identify each difference and export them to a report. The problem I have is that another validation of the same benchmark might have too 8 columns to compared.

Thanks for your help

3 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • July 27, 2017

Are you not better to skip the featuremerge and use a matcher or a change detector to identify differences?


pi_hellz
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • July 27, 2017

Sorry I mean a spatial filter not a featureMerger. I tried the change and update dectetor and I did not get the expected result.

I was more looking for a python loop ?


jneujens
Forum|alt.badge.img
  • July 28, 2017

If this is just about identifying the features where the attributes are not equal to each other, you should try to use the matcher (or multiple matcher in a sequence).

 

 

Notice that the matcher uses regex to compare attributes.When you compare multiple attributes at the same time, they are all concatenated and compared. So, if only 1 of many attributes are different, it will not match.

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