Skip to main content

Dear all,

I have a workbench for some data (feature) filtering inside and outside of some polygons. I'm stuck at final step where I need to remove duplicate features which are inside of one polygon. The problem is with this specific polygon where Duplicate filter is sending one feature that for sure doesn't have duplicate through DUPLICATE port while it should be unique. I've tried different polygon and different features and it worked fine but for this specific feature it's not working right. I've tried the MATCHER also and got the same result, it sent feature to the matched port while it should be not_matched. I've checked for all the possible differencies in attributes between this problematic feature and any else feature and didn't find anything different. The features are autocad_text_strings. I didn't expose any attributes.

I hope someone can suggest some other solution or what to check for this specific feature? I can send data if necessary.

Thanks in advance.

Hi @jjaksic22,

It would be very nice if you add the data and if possible the workspace, because now it is searching for a needle in a haystack.

 


Based on my own personal experience: If two different transformers give the same result, it's not a bug, it's your data.

Try setting a breakpoint and inspect the attribute values. Look out for case sensitivity and spaces, etc.


I've encountered a similar issue before (data not matching that visually appears to match) and it was down to non printing characters in some of the attribute values


Hi all, thanks for the quick response. Data is too big for upload so I've put it on the dropbox. Here's the link:

https://www.dropbox.com/s/h8lbph5fdcmcnsm/indications.zip?dl=0

Notice that the output data names starts with "30_...One is for the unique values and the other one is for the duplicates. Problematic feature (text) starts with 1562. Thanks for the help!

Best regards


Hi all, thanks for the quick response. Data is too big for upload so I've put it on the dropbox. Here's the link:

https://www.dropbox.com/s/h8lbph5fdcmcnsm/indications.zip?dl=0

Notice that the output data names starts with "30_...One is for the unique values and the other one is for the duplicates. Problematic feature (text) starts with 1562. Thanks for the help!

Best regards

Link does not seem to work.

 

 


Sorry, new link:

https://www.dropbox.com/s/1h74ukxgkt92ydv/INDICATIONS.zip?dl=0


Hi @jjaksic22,

I have been looking into the data you send and I think the solution is quite simple.

In the DuplicateFilter transformer you are checking the values of POSJEDNIK. Looking at your last remark you want to check the value of 'fme_text_string'. The attribute POSJEDNIK does not start with a number, whilst the attribute 'fme_text_string' does start with number values.


Thanks @lars_de_vries. Your solution is correct. Thanks for help!

Best regards


Reply