Skip to main content
Solved

Unable to write output of ChartGenerator to file in batch process

  • January 14, 2019
  • 1 reply
  • 20 views

Forum|alt.badge.img

Hi all,

Today I stumbled upon an issue with the ChartGenerator.

 

I'm using it to create histograms of data from 17 data sets. I'm using a workspace runner to batch process and create the histograms with the ChartGenerator transformer, but writing the output to file using fme_basename is not possible. Can anyone guide me to a solution where the 17 generated histograms are written to unique png-files?

 

Best answer by david_r

Usually I would expect that you would have to include fme_basename in the Group By-setting of the ChartGenerator to preserve it, but that does indeed not seem to work. It might be a bug and you should consider reporting it to Safe.

As a workaround you can incorporate something like a Counter after the ChartGenerator to help you generate new and unique output filenames for each resulting raster.

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.

1 reply

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • January 14, 2019

Usually I would expect that you would have to include fme_basename in the Group By-setting of the ChartGenerator to preserve it, but that does indeed not seem to work. It might be a bug and you should consider reporting it to Safe.

As a workaround you can incorporate something like a Counter after the ChartGenerator to help you generate new and unique output filenames for each resulting raster.