Re: [gdal-dev] Improving usage of GDAL in Mapnik

2014-11-02 Thread Robert Coup
Hi Even, On Fri, Oct 31, 2014 at 1:01 PM, Even Rouault wrote: > > * Favouring dataset.RasterIO() over band.RasterIO() to prevent up to 4x > > raster reads > > If the size of the image (or your requested window) is below the GDAL block > cache maximum size (default is 40 MB), then most drivers sh

Re: [gdal-dev] Improving usage of GDAL in Mapnik

2014-10-30 Thread Even Rouault
Le jeudi 30 octobre 2014 20:55:11, Robert Coup a écrit : > Hi team, > > Fixing a bug in the Mapnik GDAL code ( > https://github.com/mapnik/mapnik/tree/master/plugins/input/gdal) where the > return value of RasterIO() isn't checked (so eg. if a component TIFF in a > VRT is unavailable it just truck

[gdal-dev] Improving usage of GDAL in Mapnik

2014-10-30 Thread Robert Coup
Hi team, Fixing a bug in the Mapnik GDAL code ( https://github.com/mapnik/mapnik/tree/master/plugins/input/gdal) where the return value of RasterIO() isn't checked (so eg. if a component TIFF in a VRT is unavailable it just trucks right along rendering blank images without error) and it appears to