Question

How to rename multiple rasters in FME

  • 15 January 2019
  • 3 replies
  • 2 views

Hi, I have many rasters in file gdb with lower case file names. I need to rename them by adding a prefix to all file names and also change their names from lower case to upper case. My goal is move them to ArcSDE after renaming them.


3 replies

Badge +11

User the StringCaseChanger to force your fme_basename attribute to UPPERCASE and an AttributeManager to add your desired prefix to the same attribute. Then do a dataset fanout on your desired writer and point at the previously created file name attribute.

Badge +16

or just an attribute manager set to:

Badge +2

@jasper If you just want to rename files, without actually reading the data, then you can use a combination of the Directory and File Pathnames reader, AttributeManager to add the prefix and change case and then File Copy writer.

Reply