Skip to content

GDAL 1.11.5 with fixes for Visual Studio 2015 and stable TIFF functionality

Notifications You must be signed in to change notification settings

ShinNoNoir/gdal-1.11.5-vs2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

GDAL - Geospatial Data Abstraction Library

GDAL is an open source X/MIT licensed translator library for raster and vector geospatial data formats. This is a mirror of the GDAL Subversion repository.

GDAL 1.11.x modifications for Visual Studio 2015

GDAL 1.11.x does not compile under Visual Studio 2015 out of the box. This fork includes changes to fix that, namely:

  • Disabling of a conflicting preprocessor macro (snprintf).
  • Inclusion of legacy_stdio_definitions.lib for ODBC support.

Relevant pull request

GDAL 1.11.x modifications for LibTIFF

TIFF functionality is GDAL 1.11.x seems to be subpar. For some input, the following simplified example would result in a crash (Access Violation) when linked against GDAL:

TIFF* img = TIFFOpen(inputPath, "r");
unsigned char *buffer = new unsigned char[TILESIZE*TILESIZE];
auto result = TIFFReadRawTile(img, tilenumber, buffer, TILESIZE*TILESIZE);

Linking the same code against LibTIFF would work as expected. Therefore, this fork of GDAL includes a separate copy of LibTIFF and uses that instead of the internal TIFF functionality.

Relevant pull request

About

GDAL 1.11.5 with fixes for Visual Studio 2015 and stable TIFF functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published