Skip to main content
Question

Compare multiple fields after a spatial filter


pi_hellz
Contributor
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

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

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • July 27, 2017

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


pi_hellz
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 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

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.