Opened 21 years ago

Last modified 21 years ago

#262 closed enhancement (fixed)

WISH: additional ENVI data types

Reported by: alessandro_amici@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: minor Keywords:
Cc:

Description

hi,

i'm using data with envi data type 6 corresponding to GDT_CFloat32.
apparently just adding:

  case 6:
      eType = GDT_CFloat32;
      break;

inside the atoi(CSLFetchNameValue(poDS->papszHeader,"data_type" )) switch
in envidataset.cpp around at line 644, works nicely.

since you are at it here are the other envi formats i know:
3	GDT_Int32
5	GDT_Float64
6	GDT_CFloat32
9	GDT_CFloat64
13	GDT_UInt32
14	64 bit integer
15	64 bit unsigned integer

i didn't test them, thou (only the GDT_CFloat32 case).

could you please add them?
thanks,
alessandro

Change History (1)

comment:1 by warmerdam, 21 years ago

new types (other than 64bit integers) added to envi driver.
Note: See TracTickets for help on using tickets.