Opened 15 years ago

Closed 8 years ago

#2662 closed defect (fixed)

Set default pixeltype to float if it's not defined

Reported by: onno Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:


Default pixeltype should be float when reading esri .bil file. raw/ehdrdataset.cpp,-.dem-and-.flt-Formats-td19150204.html

Change History (1)

comment:1 by Jukka Rahkonen, 8 years ago

Resolution: fixed
Status: newclosed

Implemented but not by using float as default. Instead, the pixel type can be set explicitly with a special field "pixeltype" "This driver does not always do well differentiating between floating point and integer data. The GDAL extension to the .hdr format to differentiate is to add a field named PIXELTYPE with values of either FLOAT, SIGNEDINT or UNSIGNEDINT. In combination with the NBITS field it is possible to described all variations of pixel types."

Note: See TracTickets for help on using tickets.