Jorge,

> - 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

This messages comes from the WriteRaster() Python bindings, when it is passed 
a buffer that isn't large enough regarding the advertized buffer dimensions. 
Perhaps due to the fact that JPEG only supports 3 bands and PNG 4, although 
this is just a guess without deeper inspection.

> - Apply a color to nodata value of generated tiles. Tried passing -a
> "200,0,0" to gdal2tiles, but it was ignored.

The doc of -a suggests that it only applies to the input dataset, not the 
output

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to