Opened 19 years ago

Closed 17 years ago

#761 closed defect (worksforme)

wrong GRID datatype

Reported by: packalen@… Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by warmerdam)

GDAL sees the datatype of GRID as Int16 even if the correct data type is 
UInt16. Tested with GDAL 1.2.5.0, released 2004/11/22.

Attachments (1)

m_zones.zip (310.6 KB ) - added by packalen@… 19 years ago.
Example GRID where the real data type is UInt16

Download all attachments as: .zip

Change History (3)

by packalen@…, 19 years ago

Attachment: m_zones.zip added

Example GRID where the real data type is UInt16

comment:1 by warmerdam, 19 years ago

Petteri,

I'm not sure why you say this is an unsigned 16bit dataset?  Internally 
all Arc/Info grids are 32bit integer (or 32bit float).  I just classify to 
a restricted dataset based on the min/max values to reduce disk space when
possible.  So while I *could* have easily classified this dataset as UInt16
it is equally value as Int16.  There is no values in the 32K to 64K range
for instance. 

So why do *you* feel it is UInt16? 



comment:2 by warmerdam, 17 years ago

Description: modified (diff)
Resolution: worksforme
Status: assignedclosed

Closing ... no feedback.

Note: See TracTickets for help on using tickets.