Skip to main content
Solved

Filter in the Feature Reader parameters

  • September 23, 2024
  • 1 reply
  • 39 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I’m using the Feature Reader to read Sentinel images.

I would like to filter only the files (in a folder) that contain "B08" as part of the filename. There can be many files with "B08" in some part of the name.

How can I do that?

 

Thank´s

 

 

Best answer by hkingsbury

You can use the ‘*’ as a wildcard. So the filename can be ‘*B08*.tiff’ - This will find any file that start with anything (*) then cointain ‘B08’, then followed by anything, and end in ‘.tiff’.

There is some documentation on the wildcards here: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-ReadersWriters/path/PATH_reader.htm#CommonPathFilterIssues

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

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • Best Answer
  • September 23, 2024

You can use the ‘*’ as a wildcard. So the filename can be ‘*B08*.tiff’ - This will find any file that start with anything (*) then cointain ‘B08’, then followed by anything, and end in ‘.tiff’.

There is some documentation on the wildcards here: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-ReadersWriters/path/PATH_reader.htm#CommonPathFilterIssues


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