Hey Mikel,

0.6.1 is pretty much trunk, so Jon's fix should be included.

Seems like generally a problem with Mapnik's png256 format when used with styles like you have. png256 is the default format used in renderd, so you'd just recompile renderd after changing that from "png256" --> "png":

http://trac.openstreetmap.org/browser/applications/utils/mod_tile/gen_tile.cpp#L429

Dane


On Jul 24, 2009, at 1:20 PM, Mikel Maron wrote:

Yes, it's 0.6.1

As Chris suggested, is it possible to adjust the color map size without recompiling mapnik?

If not, I'll svn up and recompile everything, but would rather try to avoid that right now :)

From: Jon Burgess <[email protected]>
To: Mikel Maron <[email protected]>
Cc: Mapnik users mailing-list <[email protected]>; Artem Pavlenko <[email protected]>
Sent: Friday, July 24, 2009 12:07:56 PM
Subject: Re: [Mapnik-users] weird colored tiles

On Fri, 2009-07-24 at 17:27 +0100, Artem Pavlenko wrote:
> Hi Mikel,
>
> I believe this has been fixed in trunk (perhaps even in 0.6.2) . What
> version are you running ?


If it only effects PNG files with 16 colormap entries then this could be
the fix:


$ svn log include/mapnik/png_io.hpp  | more
------------------------------------------------------------------------
r1179 | jburgess777 | 2009-06-13 19:27:44 +0100 (Sat, 13 Jun 2009) | 1
line

Fix reduce_4() to make it consistent with reduce_8(). This was breaking tiles which were compressing down to a 16 entry colormap. All the pixels
were being set to the alpha index.



    Jon


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

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

Reply via email to