[gdal-dev] Combining quantized png files in gdal2tiles
Even Rouault
even.rouault at mines-paris.org
Thu Jun 13 15:05:21 PDT 2013
Le jeudi 13 juin 2013 06:29:32, Phil Scadden a écrit :
> I was hacking gdal2tiles a bit by running pnqnq of a base tile
> immediately after creating it (I want to be able to run partial updates
> on a TMS which has been pngnq optimised). No problem with that, but
> updating the overview tiles produces issues. It does
> writeraster(......,readraster(....)) on those png files and in the
> output, then colour palette is more of grayscale (actually a readscale).
Not sure to completely follow you ...
>
> Does GDAL read quantized PNG properly but some intermediary processing
> needed (what??) or is there a problem with the driver?
I've just done some quick testing by running pngnq on a sample PNG, and the
GDAL PNG driver seems to handle the generated XXXXX-nq8.png file well.
--
Geospatial professional services
http://even.rouault.free.fr/services.html
More information about the gdal-dev
mailing list