Ticket #761 (closed defect: worksforme)

Opened 8 years ago

Last modified 6 years ago

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) (diff)

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

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

Change History

Changed 8 years ago by packalen@…

Example GRID where the real data type is UInt16

Changed 8 years ago by warmerdam

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? 



Changed 6 years ago by warmerdam

  • status changed from assigned to closed
  • resolution set to worksforme
  • description modified (diff)

Closing ... no feedback.

Note: See TracTickets for help on using tickets.