Skip to main content
Question

I have been trying to add file names into my shapefile using FilenamePartExtractor but it is not working...creating only blank records. Does it work on Mac.??

  • May 31, 2021
  • 1 reply
  • 9 views

Forum|alt.badge.img
I have been trying to add file names into my shapefile using FilenamePartExtractor but it is not working...creating only blank records. Does it work on Mac.??

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+50

What are you putting in to the source parameter of the FilenamePartExtractor?

 

There's two internal attributes that may be useful, you can expose these on the reader under the "Format Attributes" tab. They're fme_basename, which contains the filename (e.g. if you selected roads.shp fme_basename would hold the value roads) and fme_dataset, which contains the full path. If you put in fme_dataset as the input for the FilenamePartExtractor it will split that into its component parts (but if fme_basename already has what you want you don't need the FPE)


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