Quantcast

[gdal-dev] GDAL build without big tiff support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] GDAL build without big tiff support

Dmitry Baryshnikov-2
Hi,

it seem to me there is misprint here:

https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/gtiff/geotiff.cpp#L16195
instead of

 > else if( nCompression == COMPRESSION_JPEG

should be

 > else if( l_nCompression == COMPRESSION_JPEG


Without this fix I get such error in build without BIG TIFF Support:
error C2597: illegal reference to non-static member
'GTiffDataset::nCompression'

--
Best regards,
     Dmitry

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL build without big tiff support

Even Rouault-2

On mardi 16 mai 2017 01:27:15 CEST Dmitry Baryshnikov wrote:

> Hi,

>

> it seem to me there is misprint here:

>

> https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/gtiff/geotiff.cpp#L16195

> instead of

>

>  > else if( nCompression == COMPRESSION_JPEG

>

> should be

>

>  > else if( l_nCompression == COMPRESSION_JPEG

>

>

Indeed. Fixed per https://trac.osgeo.org/gdal/ticket/6890

 

As you may guess, this configuration hasn't been tested in a while at runtime too.

 

Even

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...