Skip to main content

Hi everyone,

I am using a ChangeDetector, only on one attribute "parcelle", to compare differences between polygon layers, but there is a problem because all of the polygons are detected as "changed" (then they should not, because values of "parcelle" attributes are the same in the two layers) :

Port 1 (Added) :

Port 2 (Deleted) :

I thought that the problem was because of the encoding of these attributes. So I have tried to use the AttributeEncoder Transformer, but it changes nothing :

I also have tried a FeatureMerger on these attributes and it works.

Thank you.

Aurélien

The AttributeTrimmer suggested yesterday would've fixed your problem.
Yes, it works. I didn't try it yesterday (i had seen only suggestion about StringFormatter, sorry)

 

 


Hello @arxit,

 

Are you able to attach your workspace or a sample of the data(1feature from each source to an FFS file would work)?

 

 

Secondly, on one of the images, 'pict-1.png' it almost appears that there is whitespace at the end of the value so rather than '1391' it looks like it could be '1391 '. Are you able to just verify this? I think I may just be seeing things/stretching it.
I guess the next question is should the featuremerger merge when one attribute has a trailing space and one doesn't....

 

 


Reply