Changes between Initial Version and Version 3 of Ticket #1573


Ignore:
Timestamp:
Apr 11, 2007, 12:48:43 PM (17 years ago)
Author:
warmerdam
Comment:

The problem is related to initialization when the NBITS keyword is missing from the .hdr file. In 1.4.0 a bunch of new code was introduced for NBITS < 8, but it also added a dependency on having the keyword present.

The workaround is to add "NBITS 8" in the .hdr file.

Fix is to default to 8 in the code. The fix has been committed in trunk, and 1.4 branch and it should be released in 1.4.2.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1573

    • Property Status newclosed
    • Property Component defaultGDAL_Raster
    • Property Version unspecified1.4.0
    • Property Milestone1.4.2
    • Property Keywords ehdr added
    • Property Resolutionfixed
  • Ticket #1573 – Description

    initial v3  
    11I'm trying to import an ESRI flt raster into Grass 6.3.cvs using r.in.gdal. Using fresh gdal 1.4.1 from today, and fresh Grass 6.3 cvs update from today on Ubuntu 7.04 Beta.
    22
     3{{{
    34$ gdalinfo -mm 45_18_N_66_06_W_BACKSCATTER.flt
    45
     
    1819
    1920  Aborted (core dumped)
     21}}}
    2022
    2123~ Eric.