# PDS4 — NASA Planetary Data System v4 (PDS4)

> PDS4 (NASA Planetary Data System v4 (PDS4)): NASA Planetary Data System archive format pairing an XML label with binary array data files. Specs, software and free sample files; convert PDS4 to 50 formats online.

- Page: https://beta.mygeodata.cloud/formats/pds4



## What is a PDS4 file?

PDS4 is the current generation of the archive standard used by NASA's Planetary Data System (PDS) to preserve data from planetary missions. Each product consists of an XML label that conforms to the PDS4 Information Model and its XML schemas, plus one or more data files that the label references by name. For raster data, the label describes arrays (for example Array_2D or Array_3D elements) with their dimensions, data type, byte order and offset in a binary file, typically with an .img or .dat extension.

The format is used for planetary imagery, digital terrain models and other gridded science data from orbiters, landers and rovers. Map projection and georeferencing are recorded in a Cartography section of the label using planetary coordinate systems for bodies such as Mars or the Moon. Supported pixel types include signed and unsigned integers and 32- or 64-bit floating point. Because the label is plain XML, products are self-describing and can be validated against the published schemas.

PDS4 products are usually delivered by planetary science teams, mission archives and researchers working with orbiter, lander or rover data. The XML label and the binary data file must stay together, because the label points to the data by file name and holds the array layout. Check the data type, byte order and planetary coordinate system before combining the data with Earth-based GIS layers.

### Technical details

| | |
|---|---|
| Full name | NASA Planetary Data System v4 (PDS4) |
| Data type | Raster · Scientific & multidimensional |
| File extension | .xml |
| Files | Several files: .xml, .img and .dat |
| Media type | — |
| Bands | 1–N bands (arrays). |
| Pixel types | 8/16/32-bit int, 32/64-bit float |
| Compression | None |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | GDAL/OGR, QGIS, USGS ISIS, PDS4 Viewer |
| Specification | https://pds.nasa.gov/datastandards/documents/ |

### Specifications & references

- https://pds.nasa.gov/datastandards/documents/
- https://gdal.org/en/stable/drivers/raster/pds4.html

### Sample PDS4 files — free download

- [Elevation (Float32)](https://beta.mygeodata.cloud/static/landing/samples/v1/pds4/st-helena-dem-pds4.zip) — Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. 631×505 px, 1 arc-second (≈30 m) grid, WGS 84. PDS4 label .xml + .img. (403.8 kB, EPSG:4326)

### Convert PDS4 to other formats

- [PDS4 to HFA](https://beta.mygeodata.cloud/converter/pds4-to-hfa)
- [PDS4 to JPG](https://beta.mygeodata.cloud/converter/pds4-to-jpg)
- [PDS4 to TIF](https://beta.mygeodata.cloud/converter/pds4-to-tif)
- [PDS4 to BIL](https://beta.mygeodata.cloud/converter/pds4-to-bil)
- [PDS4 to DEM](https://beta.mygeodata.cloud/converter/pds4-to-dem)
- [PDS4 to GeoPDF raster](https://beta.mygeodata.cloud/converter/pds4-to-geopdf-raster)
- [PDS4 to GRD](https://beta.mygeodata.cloud/converter/pds4-to-grd)
- [PDS4 to JP2](https://beta.mygeodata.cloud/converter/pds4-to-jp2)
- [PDS4 to KMZ raster](https://beta.mygeodata.cloud/converter/pds4-to-kmz-raster)
- [PDS4 to MBTiles raster](https://beta.mygeodata.cloud/converter/pds4-to-mbtiles-raster)
- [PDS4 to PNG](https://beta.mygeodata.cloud/converter/pds4-to-png)
- [PDS4 to XYZ](https://beta.mygeodata.cloud/converter/pds4-to-xyz)
- [PDS4 to AAIGrid](https://beta.mygeodata.cloud/converter/pds4-to-aaigrid)
- [PDS4 to BMP](https://beta.mygeodata.cloud/converter/pds4-to-bmp)
- [PDS4 to ENVI](https://beta.mygeodata.cloud/converter/pds4-to-envi)
- [PDS4 to GIF](https://beta.mygeodata.cloud/converter/pds4-to-gif)
- [PDS4 to GPKG raster](https://beta.mygeodata.cloud/converter/pds4-to-gpkg-raster)
- [PDS4 to netCDF raster](https://beta.mygeodata.cloud/converter/pds4-to-netcdf-raster)

## Frequently asked questions

### Why does my PDS4 data file not open on its own?

A .img or .dat file is raw binary without a header. Dimensions, data type, byte order and georeferencing are stored only in the XML label, so open the .xml label and keep the data file in the same folder under the name the label references.

### How does PDS4 differ from PDS3?

PDS3 labels use a keyword-value text syntax, often embedded in or attached to the data file. PDS4 uses XML labels governed by an Information Model and schemas, which allows formal validation. Software that reads PDS3 does not automatically read PDS4 labels.

### Why does a PDS4 raster appear in the wrong place in my GIS?

PDS4 products use planetary coordinate systems for bodies such as Mars or the Moon, not Earth datums. Check that the software treats the coordinate system as a planetary one and that the Cartography section of the label was read correctly.

### What is a PDS4 file?

PDS4 is the current generation of the archive standard used by NASA's Planetary Data System (PDS) to preserve data from planetary missions. Each product consists of an XML label that conforms to the PDS4 Information Model and its XML schemas, plus one or more data files that the label references by name. For raster data, the label describes arrays (for example Array_2D or Array_3D elements) with their dimensions, data type, byte order and offset in a binary file, typically with an .img or .dat extension.

The format is used for planetary imagery, digital terrain models and other gridded science data from orbiters, landers and rovers. Map projection and georeferencing are recorded in a Cartography section of the label using planetary coordinate systems for bodies such as Mars or the Moon. Supported pixel types include signed and unsigned integers and 32- or 64-bit floating point. Because the label is plain XML, products are self-describing and can be validated against the published schemas.

### How do I open a PDS4 file?

PDS4 files can be opened in GDAL/OGR, QGIS, USGS ISIS and PDS4 Viewer. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert PDS4 to?

Popular conversions are HFA, JPG, TIF, BIL, DEM and GeoPDF raster. In total the Converter writes PDS4 data to 50 formats.

### How do I create a PDS4 file?

Convert existing data to PDS4 — for example from HFA, JPG, TIF, KMZ raster and BIL. Upload the file, choose PDS4 as output and download the result.

### Which files belong to a PDS4 dataset?

A PDS4 dataset needs .xml, .img and .dat. An XML label (.xml) plus the data file it references by name (.img or .dat); upload both together.

