[gdal-dev] [Qgis-developer] Large raster (ecw) identify very long

Even Rouault even.rouault at mines-paris.org
Thu Aug 23 05:42:26 PDT 2012


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

Seems reasonnable. Except I suggest using a string comparison function and not
== ;-)

Would you mind creating a ticket in GDAL trac about that ?

>
> Radim
>




More information about the gdal-dev mailing list