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

2015-02-06 Thread Homme Zwaagstra
Hello Jorge, If I've got it right the attached VRT should apply the nodata values you require to katrina.tif, assuming you save it in the same directory. I didn't use gdal2tiles but instead used this VRT with the ctb-tile utility (which makes heavy use of GDAL -

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

2015-02-05 Thread Even Rouault
Le jeudi 05 février 2015 20:15:47, Jukka Rahkonen a écrit : Jorge Arévalo jorge at cartodb.com writes: - 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:

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

2015-02-05 Thread Jukka Rahkonen
Jorge Arévalo jorge at cartodb.com writes: - 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 There is a patch included

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

2015-02-05 Thread Jorge Arévalo
Jorge Arévalo mailto:jo...@cartodb.com 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

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

2015-02-05 Thread Even Rouault
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

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

2015-02-05 Thread Jorge Arévalo
- 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

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

2015-02-05 Thread Jorge Arévalo
Wow, we answered at same time. So, I'll include my findings here Even Rouault mailto:even.roua...@spatialys.com February 5, 2015 at 7:30 PM 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