Jorge Arévalo <mailto:[email protected]>
February 5, 2015 at 7:15 PM
- 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!
Hint: The problem is in swig/python/extensions/gdal_wrap.cpp, method
GDALDatasetShadow_WriteRaster, because Buf len = 196608, min buffer size
= 262144. So, I know the reason, but still doesn't know how to fix this
--
Jorge Arévalo
CartoDB
http://cartodb.com/
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev