Skip to main content
Solved

Filter in the Feature Reader parameters

  • September 23, 2024
  • 1 reply
  • 50 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

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.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+65
  • 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