Skip to main content
Question

Compare multiple fields after a spatial filter

  • July 27, 2017
  • 3 replies
  • 59 views

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

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+49
  • 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
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.