Skip to main content
Solved

Filtering data with the value from another reader

  • May 13, 2024
  • 2 replies
  • 295 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

I have a SHP file with geometry. It has an attribute called 'id_alt.' I would like to extract only the values of this attribute. Is there any way to convert these values into variables that I can use the value use with TESTER after UUIDGenerator to filter my data? Alternatively, what is the most efficient method to achieve this with FME

 

 

Best answer by havmoejbv

I’m not quite sure what you are trying to achieve, but if I get this right: You have a set of features with an attribute “id_alt” and you want to filter the features coming from UUIDGenerator_3 that have the same value as ane id_alt?

If so, you could try a FeatureJoiner and join on the id in question. The joined features would be those with a matching id_alt.

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.

2 replies

havmoejbv
Contributor
Forum|alt.badge.img+16
  • Contributor
  • Best Answer
  • May 13, 2024

I’m not quite sure what you are trying to achieve, but if I get this right: You have a set of features with an attribute “id_alt” and you want to filter the features coming from UUIDGenerator_3 that have the same value as ane id_alt?

If so, you could try a FeatureJoiner and join on the id in question. The joined features would be those with a matching id_alt.


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • May 13, 2024

"id_alt" has the value "Poly0001", and I would like to use this value to filter the output of UUIDGenerator_3 with the tester EDVKT = Poly0001

FeatureJoiner is an option thank you. I was just thinking whether there is a way making a value kind of global variable. I saw there is a transformer but i think it is smt else t