On Wed, Aug 22, 2012 at 8:34 PM, Even Rouault
<[email protected]> wrote:
>> > I suppose your workaround in QGIS will be to read 1x2 pixel or something
>> > like that.
>>
>> Yes, I have used 2x2.
>
> Hum, I humbly suggest that the fix should be done in the ECW driver rather
> than
> in QGIS. The issue with the 2x2 workaround is that if other GDAL drivers have
> optimizations for the 1x1 pixel use case (which would be reasonable), they
> will be unused now.
Until it get fixed in GDAL we can use
if ( GDALGetDriverShortName() == "ECW")
and once you fix that
#if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM < x.x
if ( GDALGetDriverShortName() == "ECW")
Radim
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer