Skip to main content
Solved

I am trying to use the transformer TestFilter with FME Desktop 2020. BUT . . . I do NOT have a list of logic statements under the logic column. My lecturer has a long list, but when I click on the box, I have only one option NOT. All others are mis


I am being trained in FME by my university. I am trying to use the transformer TestFilter with FME Desktop 2020. BUT . . . I do not have a list of logis statements under the logic column. My lecturer has a long list, but when I click on the box, I have only one word to choose from "NOT". I do not have OR or AND, etc.

 

How can I get FME to offer these logic words?

Best answer by fme-phile

Hi @tonyv​ 

When using the 'TestFilter' transformer, you will only have a few logic values to choose.

Image1

It's not until you add another test clause where you will have more options

In the example below, I required the 'four_wheel'drive_tracks' and the 'vehicular_tracks' to be grouped together and pass through the Output port which I have called 'Tracks' therefore have used the logic 'OR'

Image2

Hope this helps

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

3 replies

fme-phile
Forum|alt.badge.img+1
  • Best Answer
  • August 22, 2020

Hi @tonyv​ 

When using the 'TestFilter' transformer, you will only have a few logic values to choose.

Image1

It's not until you add another test clause where you will have more options

In the example below, I required the 'four_wheel'drive_tracks' and the 'vehicular_tracks' to be grouped together and pass through the Output port which I have called 'Tracks' therefore have used the logic 'OR'

Image2

Hope this helps


mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • August 24, 2020

I suspect the AND and OR clauses only appear once you have more than one clause defined. If you only have one clause, like a = 5, then there is no AND/OR possible. But if you have a=5, b=7, now you can start to add AND or OR.

Also note that you can type into the Logic field, so you can type AND, OR, NOT, and any brackets you might need, without selecting them from the list.


  • Author
  • August 25, 2020
mark2atsafe wrote:

I suspect the AND and OR clauses only appear once you have more than one clause defined. If you only have one clause, like a = 5, then there is no AND/OR possible. But if you have a=5, b=7, now you can start to add AND or OR.

Also note that you can type into the Logic field, so you can type AND, OR, NOT, and any brackets you might need, without selecting them from the list.

Thank you very much for this reply. Yes I now realise my lack of knowledge is the problem rather than a software issue. Thank you again

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