Solved

File extensions understood by FME Readers

  • 22 January 2020
  • 3 replies
  • 2 views

Folks,

I need to scour some file shares with a python script to identify any data files.

I would like to exclude 'non data' files and it occurs to me that one way of doing this would be to compare file extensions with a list of format-specific file extensions that are used by FME Readers...

The Knowledge Base does list file formats (https://www.safe.com/fme/formats-matrix/ ) but doesn't specify the associated file extensions.

Does anyone know if there is a matrix that lists the file extensions associated with each FME Reader?

Many Thanks, Graham

icon

Best answer by redgeographics 22 January 2020, 15:18

View original

3 replies

Userlevel 5
Badge +25

Check the formats.db file in your FME installation directory (it's a csv), that has a list of all supported formats as well as their extensions.

Check the formats.db file in your FME installation directory (it's a csv), that has a list of all supported formats as well as their extensions.

Fabulous - Many Thanks!

Following redgeographics' tip, I have pushed a python script up to GitHub - this reads the FME formats.db file and produces a CSV file breaking out each of the file formats that can be read by FME in a digestible format.

 

https://github.com/spatialcase/Python-Misc

Reply