> From: Jason Roberts [mailto:jason.robe...@duke.edu]
> Sent: Wednesday, September 23, 2009 4:18 PM
> To: 'gdal-dev'
> Subject: RE: [gdal-dev] GetStatistics and signed 8-bit IMGs and GeoTIFFs
>
>
>
> Someone suggested that I try this with 1.6.2 without saying whether it
or unsigned
> 8-bit?
>
>
>
> Thanks again,
>
> Jason
>
>
>
> From: gdal-dev-boun...@lists.osgeo.org
> [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jason Roberts
> Sent: Wednesday, September 23, 2009 3:11 PM
> To: 'gdal-dev'
> Subject: [gd
y, September 23, 2009 4:18 PM
To: 'gdal-dev'
Subject: RE: [gdal-dev] GetStatistics and signed 8-bit IMGs and GeoTIFFs
Someone suggested that I try this with 1.6.2 without saying whether it might
be a bug or by design. The behavior is the same with 1.6.2, using binaries
produced by Tam
7;
Subject: [gdal-dev] GetStatistics and signed 8-bit IMGs and GeoTIFFs
Is band.GetStatistics() supposed to work with signed 8-bit integer rasters
with the HFA or GTiff driver?
With GDAL 1.6.0, I can successfully create a signed 8-bit raster with the
HFA or GTiff driver using the PIXELTYPE=
Is band.GetStatistics() supposed to work with signed 8-bit integer rasters
with the HFA or GTiff driver?
With GDAL 1.6.0, I can successfully create a signed 8-bit raster with the
HFA or GTiff driver using the PIXELTYPE=SIGNEDBYTE option:
>>> a = numpy.array([[-128, -1, 0, 1, 127]], dtype='i