[gdal-dev] Different results when reading a GeoTIFF with GDAL 2.1.2 vs 3.x

Even Rouault even.rouault at spatialys.com
Sun Dec 29 10:27:43 PST 2019


>      I was stunned to discover a difference in the values of a GeoTIFF
> file when read with GDAL 2.1.2 (official Debian stretch build) and GDAL
> 3.1.0 (official Docker image)

Which Docker image exactly ? With the ones of
https://github.com/OSGeo/gdal/tree/master/gdal/docker , I get the same result 
as with 2.1.2:

$ docker run --rm -v /home:/home osgeo/gdal gdalinfo --version
GDAL 3.1.0dev-7652d752281951e989687c0270ce1c2d9b4219dd, released 2019/12/29

$ docker run --rm -v /home:/home osgeo/gdal gdallocationinfo $PWD/2.tiff 9 0
Report:
  Location: (9P,0L)
  Band 1:
    Value: 16
  Band 2:
    Value: 130


$ docker run --rm -v /home:/home osgeo/gdal gdallocationinfo $PWD/2.tiff 10 0
Report:
  Location: (10P,0L)
  Band 1:
    Value: 14
  Band 2:
    Value: 163

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list