Opened 11 years ago
Closed 6 years ago
#4901 closed defect (fixed)
USGSDEM driver: file not properly decoded
Reported by: | Kosta | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.9.2 |
Severity: | normal | Keywords: | USGSDEM |
Cc: | bdiscoe |
Description (last modified by )
When reading values from certain DEM files (see attachment) GDAL runs into an infinite (or perhaps only a very-long running?) loop; e.g.:
gdal_translate -of GTiff Benicia.dem Benicia.tif
Other files of that format with the same file size only need seconds to be processed.
System: Win 7 Enterprise (64-bit)
Attachments (2)
Change History (11)
by , 11 years ago
Attachment: | Benicia.dem.zip added |
---|
by , 11 years ago
Attachment: | Novato.dem.zip added |
---|
sample file for which GDAL runs into an infinite loop
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Summary: | DEM driver: infinite loop → USGSDEM driver: infinite loop |
---|
comment:4 by , 11 years ago
Cc: | added |
---|---|
Keywords: | USGSDEM added |
The 4th profile of the Benicia.dem file claims to have 256 values but instead has on the order of 316 which seriously confuses the profile by profile reader.
Adding Ben Discoe who might have suggestions on how to cope with such a file.
comment:5 by , 11 years ago
comment:6 by , 9 years ago
The ticket was about GDAL going to infinite loop. If that does not happen any more, can the ticket be closed?
comment:7 by , 9 years ago
This should fix the infinie loop, but the file will not be properly decoded.
comment:8 by , 6 years ago
Summary: | USGSDEM driver: infinite loop → USGSDEM driver: file not properly decoded |
---|
comment:9 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
sample file for which GDAL runs into an infinite loop