Skip to main content
Solved

PNG-writer prints out extra PNG-files

  • September 21, 2018
  • 1 reply
  • 22 views

Hi!

I am trying to tile some PNG:s with the WebMapTiler. My problem is when writing the data to PNG-format the writer put extra "_1" to some of the tiles.

The fanout is @Value(_zoom_level)/@Value(_tile_column) and when I inspect the objects just before the writer no object has any "_1" as fanout. But when the writer writes data to my folder it divides some of the PNG:s into two, like this:

1218.png

1218_1.png

1219.png

1220.png

1220_1.png

1221.png

Does someone know why the writer prints PNG:s with the "_1"-ending?

Best answer by david_r

My guess is that there are several rasters with the same fanout value hitting the PNG writer, which will make FME append a counter to the filename to avoid overwriting existing files.

Try passing all the fanout values through a DuplicateFilter and see what happens.

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
  • Best Answer
  • September 21, 2018

My guess is that there are several rasters with the same fanout value hitting the PNG writer, which will make FME append a counter to the filename to avoid overwriting existing files.

Try passing all the fanout values through a DuplicateFilter and see what happens.