[R-sig-Geo] Rgdal and unsigned integers

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Aug 20 23:44:49 CEST 2009

On Thu, Aug 20, 2009 at 9:57 PM, Jonathan
Thompson<jthomps at fas.harvard.edu> wrote:

> gdalinfo:
> Band 1 Block=1758x1 Type=Int16, ColorInterp=Undefined
>  Min=0.000 Max=48499.000

>> Arcgis:
>> Pixel Type  = unsigned integer
>> Pixel Depth = 16 bit

Arcgis is saying 'unsigned integer' but gdalinfo says 'Int16'. But
then gdalinfo says the max is 48499 - which shouldn't be possible with
(signed) Int16 values (they go from -32k to +32k).

 So something is very odd...


More information about the R-sig-Geo mailing list