[gdal-dev] Are those 2 things possible using gdal2tiles?

Jorge Arévalo jorge at cartodb.com
Thu Feb 5 10:15:41 PST 2015


- Generate JPEG tiles instead of PNG. Tried just replacing the driver's 
name (PNG) with JPEG. Didn't work. Base tiles are generated, but 
overview tiles are not. Getting this error instead: ERROR 1: Buffer too 
small
- Apply a color to nodata value of generated tiles. Tried passing -a 
"200,0,0" to gdal2tiles, but it was ignored.


Log file, with GDAL_DEBUG=On, where you can see the first problem 
(buffer too small): 
https://dl.dropboxusercontent.com/u/6599273/errors/gdal/gdal2tiles_error.log
Modified version of gdal2tiles, to generate xyz caches instead of tms 
ones: 
https://dl.dropboxusercontent.com/u/6599273/errors/gdal/gdal2tiles_modified.py
tif tile for testing (same error with other ones): 
https://dl.dropboxusercontent.com/u/6599273/gis_data/katrina.tif

Many thanks!

-- 
Jorge Arévalo

CartoDB
http://cartodb.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150205/1a8e4504/attachment.html>


More information about the gdal-dev mailing list