Skip to main content

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?

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.


Reply