Opened 13 years ago
Closed 13 years ago
#4310 closed defect (duplicate)
gdalinfo unable to read NASA Planetary Data System label (LBL) file
Reported by: | yveSpacebel | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | 1.8.1 |
Severity: | blocker | Keywords: | gdalinfo |
Cc: |
Description
gdalinfo unable to read NASA Planetary Data System label (LBL) file
The error is located in pds/pdsdataset.cpp file. In the function PDSDataset::ParseUncompressedImage() when searching for a keyword in the LBL file in order to retrieve the corresponding value, the keyword tag used is incomplete. For example the keyword "IMAGE" must be replaced by "UNCOMPRESSED_FILE.IMAGE". This should be applied to all the keywords read by the function PDSDataset::ParseUncompressedImage().
This error has also an impact on gdalwarp, which is not able to reproject a NASA PDS map.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
To make a test, please download the file LDEM_875S_5M.LBL and LDEM_875S_5M.IMG from http://imbrium.mit.edu/DATA/LOLA_GDR/POLAR/IMG/ and execute the command "gdalinfo LDEM_875S_5M.LBL".
An error will be generated!
comment:3 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This works in GDAL 1.9.0dev. I believe this has been fixed in the following ticket : http://trac.osgeo.org/gdal/ticket/3943
Closing as duplicate
Please attach to this ticket a sample dataset that exhibits the issue (or provide a link to a public site where it can be found)