On Fri, Oct 17, 2008 at 04:07:16AM -0700, spillocaster wrote:
> 
> Hi list,
> 
> I have defined a very nice map with MapNik, which I provide with TileCache.
> I used a XML-configuration (based on the 
> http://trac.mapnik.org/wiki/XMLGettingStarted XMLGettingStarted-Tutorial ).
> 
> Now I want to change the output format to a paletted PNG with alpha
> transparency using the 'PNG256'-parameter. The filesize of the 32bit PNG is
> a bit too big. Where do I have to define it? In the python script, in the
> XML or in TileCache? 

In TileCache; and the answer to "What should I change" is "You can't":
TileCache doesn't have support for this at this time. (Or rather, "You'd
need to write a patch.")

> I tried this:
> 
> render_to_file(m, map_output,'png256')
> 
> and I added this:
> 
> m.save('test.png','png256')
> 
> to the python script, but no success. 

It's note clear to me what Python script you're changing that you think
will have an effect on TileCache...

> Is it also possible to switch the
> renderer from AGG to CAIRO? I also want to experiment with the vector output
> formats.

Not within TileCache...

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

Reply via email to