Skip to main content
Solved

Load files from path location stored in csv

  • June 14, 2022
  • 2 replies
  • 64 views

Looking for a way to load in files using their path stored in a csv column. I have several different file formats (.mif, .tab, .dem, .grd) that I need to reproject in FME. I've generated a csv that contains the full path location of each file on a new row. I'm wondering if it is possible to import these files directly from the csv, preferably separated by their file extension. I'm a complete beginner, so appreciate any advice. Cheers, Angus

Best answer by tomfriedl

  • Read CSV
  • Extract fileextention (FilenamePartExtractor)
  • Use AttributeFilter
  • Read your source with FeatureReader
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.

2 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • 177 replies
  • Best Answer
  • June 14, 2022
  • Read CSV
  • Extract fileextention (FilenamePartExtractor)
  • Use AttributeFilter
  • Read your source with FeatureReader

  • Author
  • 5 replies
  • June 14, 2022

Thanks Tom, this is exactly what I needed.