Skip to main content
Solved

Categorizing data based on external table with unique lookup min/max values


gcarmich
Participant
Forum|alt.badge.img+1

I have two tables. One with input data the other with unique high/low lookup ranges to categorize the input data. The lookup ranges and input data are numeric values. How can I append the associated data in the lookup ranges table to the input data based on where it falls between the min/max values? I considered AttributeRangeMapper but that will not allow comparison between two tables. Thank you, Gil

Best answer by gcarmich

I found an answer on the FME Knowledge Base.

https://community.safe.com/s/question/0D54Q000080hTQTSA2/merging-2-csv-files-based-on-a-number-range

This approach joins the two tables the uses TestFilter to identify which values fall into the range.

Worked as needed.

View original
Did this help you find an answer to your question?

2 replies

gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • Best Answer
  • January 23, 2023

I found an answer on the FME Knowledge Base.

https://community.safe.com/s/question/0D54Q000080hTQTSA2/merging-2-csv-files-based-on-a-number-range

This approach joins the two tables the uses TestFilter to identify which values fall into the range.

Worked as needed.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • January 23, 2023

write small python program and call using pythoncaller

2nd approach inline querier(fme transformer)

 

python program is faster than inlinequerier.

 

Thanks

Kemminje

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings