Skip to main content
Question

How to rename multiple rasters in FME


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

whkarto
Contributor
Forum|alt.badge.img+14
  • Contributor
  • January 15, 2019

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.


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • January 16, 2019

or just an attribute manager set to:


Forum|alt.badge.img+2
  • January 21, 2019

@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.


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