Skip to main content
Solved

Unable to write output of ChartGenerator to file in batch process

  • January 14, 2019
  • 1 reply
  • 10 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.

View original
Did this help you find an answer to your question?

1 reply

david_r
Evangelist
  • 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.


Reply


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