Skip to main content
Solved

PNG-writer prints out extra PNG-files

  • September 21, 2018
  • 1 reply
  • 8 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.

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

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.


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