[gdal-dev] GDAL Erdas LAN/GIS driver

Roger Bivand Roger.Bivand at nhh.no
Fri Aug 21 04:04:45 EDT 2009


Hi,

The code for the LAN/GIS driver uses GDT_Int16 for Pixel type 2, rather 
than GDT_UInt16. Is this justified? A user of rgdal has a case of unsigned 
16-bit data stored by "a forest landscape model", being treated by the 
driver as signed. The header does not seem to have a signed/unsigned flag. 
Is this a problem of ambiguity in use of a (closed?) specification, or 
should the driver be using GDT_UInt16?

I'm asking on the list first, because this may be ambiguity, not a bug.

Best wishes,

Roger

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the gdal-dev mailing list