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: | |
Cc: |
Description
Default pixeltype should be float when reading esri .bil file. raw/ehdrdataset.cpp
http://www.nabble.com/Problems-Reading-ESRI-hdr-(.bil)-,-.dem-and-.flt-Formats-td19150204.html
Note:
See TracTickets
for help on using tickets.
Implemented but not by using float as default. Instead, the pixel type can be set explicitly with a special field "pixeltype"
http://www.gdal.org/frmt_various.html "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."