> Hi all,
> 
> I just noticed a strange behaviour when trying to render 8-Bit PNGs:
> Mapnik seems to stop drawing features when it runs out of colors (or at
> least that is my interpretation so far).

OK I just found the documentation on

http://trac.mapnik.org/wiki/OutputFormats

I did Google around yesterday but somehow didn't find this. Sorry for
the noise.

Flo


> 
> It's best illustrated with the attached tiles - the first was saved as
> 24-Bit PNG, the other one as 8-Bit using
> 
> mapnik.Image.save(uri, 'png256')
> 
> (in the context of OSM's generate_tiles.py)
> 
> I would have expected the latter to be dithered or otherwise distorted,
> but I cannot explain to myself why parts of distinctive layers (roads
> and rivers in the upper part of the image) are omitted, especially given
> that the colors used there are present in the rest of the image.
> 
> Can anyone explain to me what is going on here? Or even better give some
> hints or pointers to code how this could be fixed/avoided.
> 
> Best,
> 
> Flo
> 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to