PDS files often have the extension .img, sometimes with an associated .lbl (label) file. When a .lbl file exists it should be used as the dataset name rather than the .img file.
In addition to support for most PDS imagery configurations, this driver also reads georeferencing and coordinate system information as well as selected other header metadata.
Implementation of this driver was supported by the United States Geological Survey.
As a test (for GDAL versions 1.11.4 and higher), download both the label and image for the lunar LOLA DEM (digital elevation file) LOLA PDS label and LOLA PDS v3 image. Using gdalinfo, the reported centered should be perfectly at 0.0, 0.0 meters in Cartesian space without any configuration options.
$ gdalinfo ldem_4.lbl
Example conversion to GeoTiff:
$ gdal_translate ldem_4.lbl out_LOLA.tif
Example conversion and applying offset and multiplier values as defined in some PDS labels:
$ gdal_translate -ot Float32 -unscale ldem_4.lbl out_LOLA_32bit.tif
$ gdalinfo --config PDS_SampleProjOffset_Shift -0.5 --config PDS_LineProjOffset_Shift -0.5 megt90n000cb.lbl
Again with these optional parameters, the center should be perfectly 0.0, 0.0 meters in Cartesian space.
Example conversion for MOLA:
$ gdal_translate --config PDS_SampleProjOffset_Shift -0.5 --config PDS_LineProjOffset_Shift -0.5 megt90n000cb.lbl out_MOLA_4ppd.tif
Example conversion and applying offset and multiplier values as defined in some PDS labels:
$ gdal_translate -ot Float32 -unscale --config PDS_SampleProjOffset_Shift -0.5 --config PDS_LineProjOffset_Shift -0.5 megt90n000cb.lbl out_MOLA_4ppd_32bit.tif