[gdal-dev] Unable to read PDS3 (img + lbl) Moon DEM

GrJo gregor.jochmann at rt.rif-ev.de
Thu Jul 10 01:33:23 PDT 2014


I've tried to access a lunar elevation model, but gdalinfo and gdal_translate
give me a strange error message.

"Error1: Sample_bits of 0 is not supported in this gdal PDS reader"

The elevation model is a PDS3 pair (.img with seperate .lbl file), and
pointing gdalinfo to the lbl file gives me the above error message (pointing
to the .img directly gives "not a recognized file format"):
IMG (binary)
<http://imbrium.mit.edu/DATA/LOLA_GDR/CYLINDRICAL/IMG/LDEM_256_00N_90N_000_180.IMG>  
LBL (plaintext label)
<http://imbrium.mit.edu/DATA/LOLA_GDR/CYLINDRICAL/IMG/LDEM_256_00N_90N_000_180.LBL>  

the strange thing is - the label file explicitely specifies says "   
SAMPLE_BITS           = 16" in line 52.

Is this a bug in the reader, an invalid label file or am i doing something
wrong?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Unable-to-read-PDS3-img-lbl-Moon-DEM-tp5150432.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list