[Tilecache] Patch for PNG256 support

Martijn van Oosterhout kleptog at gmail.com
Mon May 26 08:14:44 EDT 2008


I needed PNG256 support in tilecache for mapnik so I added it. See
attached patch. all you need to do is set extension=png256. This does
mean the URLs will look like /zoom/x/y.png256. It doesn't bother me
bit it might bother others.

Requires that your version of mapnik supports this (which should be
any reasonably recent version).

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: png256.patch
Type: text/x-patch
Size: 2988 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20080526/c16aab07/png256.bin


More information about the Tilecache mailing list