Skip to content
bdeff84
Compare
Choose a tag to compare

Changes:

  • geotiff.h: more precise signature for GTIFDirectoryInfo()
  • applygeo.c/geotifcp.c: use uint16/32_t instead of old libtiff non _t custom types
  • Bump CMake min to 3.0.0 and remove apparently unneeded cmake_policy() declarations
  • CMake: remove libjpeg and libz from linking of libgeotiff itself.
  • geo_config.h: prefix HAVE_xxx and restrict it to GEOTIFF_HAVE_STRINGS_H (fixes #61)
  • GTIFPrintDefn(): avoid potential nullptr deref. CID 1469240
  • CMake: use variable for installation subdirectories, and make sure INTERFACE_INCLUDE_DIRECTORIES is exported (fixes #67)
  • ReadKey(): only allow reading a key with TIFFTagLocation=0 that has a count of 1 to avoid reading an illegal address (and crashing) when using GTIFKeyGet() or PrintKey() (fixes #66)
  • ReadKey(): add extra warning messages
  • CMake: avoid INTERFACE_LINK_LIBRARIES vs LINK_INTERFACE_LIBRARIES_DEBUG warning about TIFF
  • CMake: Fix dllexport
  • CMake: Revise exported cmake config wrt BUILD_SHARED_LIBS
  • CMake: Revise exported cmake config wrt dependencies
  • CMake: Respect _FIND_QUIETLY
7da5bac
Compare
Choose a tag to compare

Changes:

  • Add CoordinateEpochGeoKey = 5120 of type DOUBLE to store coordinate epoch of tie points / geotransform matrix for dynamic CRS.
    See opengeospatial/geotiff#99
  • geo_normalize.h/c: rename variables to please codespell
  • GTIFGetGCSInfoEx(): use proj_crs_get_datum_forced() for PROJ >= 8 to avoid issues with datum ensembles (fixes #54)
  • GTIFGetGCSInfoEx(): remove dead code (GDAL Coverity CID 1432690)
  • geo_normalize.c: follow-up to e06625c to avoid look up of user-defined GeogGeodeticDatumGeoKey that cause PROJ warnings (fixes #41)
8b1a8f5
Compare
Choose a tag to compare

New features:

  • Add support for OGC GeoTIFF 1.1
  • Expose GTIFGetPCSInfoEx(), GTIFGetProjTRFInfoEx(), GTIFGetGCSInfoEx(), GTIFGetDatumInfoEx(), GTIFGetEllipsoidInfoEx(), GTIFGetPMInfoEx(), GTIFGetUOMLengthInfoEx() and GTIFGetUOMAngleInfoEx() so that users can specify their own PROJ context
  • Add GTIFKeyGetASCII(), GTIFKeyGetSHORT() and GTIFKeyGetDOUBLE() as safer variants of
    GTIFKeyGet() with type checking
  • autotools build: enable build in a separate tree from source (#37) (fixes #28)
  • Use pkg-config for libtiff detection

Bug fixes:

  • GTIFDecToDMS(): fix rounding issue (refs #16)
  • geo_names.c: Silence warning in GetNameFromDatabase
  • cpl_serv.h: add parenthesis in macro definitions
  • Fix spelling errors
  • geo_normalize.c: set UOMLength from GeogLinearUnits (for geocentic CRS) (GDAL #1595)
  • testlistgeo: remove hardcoded path in test output (fixes #16 (comment))
  • Adapt test script for PROJ 6.2 EPSG database (fixes #22)
  • Use unix EOL for cmake related files (fixes #14)
  • configure.ac: drop dead code
  • geo_normalize.c: avoid look up of user-defined geokeys that cause PROJ warnings (fixes GDAL #2321)
  • listgeo: fix corner coordinates for images with RasterPixelIsPoint (#36)
6bcf438
Compare
Choose a tag to compare
1.4.3
0dba341
Compare
Choose a tag to compare