Keyword causing format unrecognized (PDS)
|Reported by:||thare||Owned by:||warmerdam|
|Severity:||normal||Keywords:||PDS keyword read error, GDAL 1.7.0dev, FWTools 2.3.1|
A PDS keyword I have not seen before, MISSING_CONSTANT, is causing a format unrecognized error. The odd part is that it depends on where it is in the label. Thus if it is early in the "Object = Image" group it passes. If it is last in this group it fails. Note this is basically the same keyword as CORE_NULL thus it appears MISSING_CONSTANT = CORE_NULL. I don't think either of these keywords is actually propogated to the GDAL NULL value which is fine for now. If I remember, the GDAL NULL value is hardwired depending on the PDS bit type.
I have attached two PDS image labels with the keyword in different locations. The ".lbl" file works and the ".lab" file doesn't. The only difference is the location of the keyword MISSING_CONSTANT in the OBJECT = IMAGE group. I have not attached the large pixel file, "DTEEC_008669_1705_009025_1705_A01.img", which these labels point to and would be needed for a file conversion. gdalinfo can run on the labels without the pixel file.
My testing software is GDAL 1.7.0dev, FWTools 2.3.1