Skip to main content
Solved

How do I get my FME output for tif files to be caps e.g. NN00_25kcrm_34.TIF rather than NN00_25kcrm_34.tif?

  • December 15, 2017
  • 5 replies
  • 24 views

Best answer by takashi

Hi @annmarie, a possible workaround is to write the resulting tif files into a temporary folder with the FetureWriter at first, and move them with file name containing capital extension to the final destination folder with the File Copy writer.

[Addition] Instead of the pair of VariableSetter/VariableRetriever, you can also use the FeatureMerger to merge the temporary path to the raster features unconditionally.

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.

5 replies

david_r
Celebrity
  • December 15, 2017

I'm curious, why do you need this? For most systems it shouldn't make any difference.


takashi
Celebrity
  • Best Answer
  • December 16, 2017

Hi @annmarie, a possible workaround is to write the resulting tif files into a temporary folder with the FetureWriter at first, and move them with file name containing capital extension to the final destination folder with the File Copy writer.

[Addition] Instead of the pair of VariableSetter/VariableRetriever, you can also use the FeatureMerger to merge the temporary path to the raster features unconditionally.


  • Author
  • December 18, 2017

Hi @annmarie, a possible workaround is to write the resulting tif files into a temporary folder with the FetureWriter at first, and move them with file name containing capital extension to the final destination folder with the File Copy writer.

[Addition] Instead of the pair of VariableSetter/VariableRetriever, you can also use the FeatureMerger to merge the temporary path to the raster features unconditionally.

Thank you so much. I'll give it a go.

 

 


david_r
Celebrity
  • December 18, 2017

Hi @annmarie, a possible workaround is to write the resulting tif files into a temporary folder with the FetureWriter at first, and move them with file name containing capital extension to the final destination folder with the File Copy writer.

0684Q00000ArKFPQA3.png

[Addition] Instead of the pair of VariableSetter/VariableRetriever, you can also use the FeatureMerger to merge the temporary path to the raster features unconditionally.

Another solution would be to use a SystemCaller after the FeatureWriter with something like:

 

rename @Value(_pathname)\*.ini *.INI
That way you won't have to use a temporary file location and the filecopy writer.

  • Author
  • December 19, 2017

Hi @annmarie, a possible workaround is to write the resulting tif files into a temporary folder with the FetureWriter at first, and move them with file name containing capital extension to the final destination folder with the File Copy writer.

[Addition] Instead of the pair of VariableSetter/VariableRetriever, you can also use the FeatureMerger to merge the temporary path to the raster features unconditionally.

This worked really well, thank you. David_r's idea was also good, but unfortunately didn't work for us in this instance, as we needed to fan out into folders.