# MRF — Meta Raster Format (MRF)

> MRF (Meta Raster Format (MRF)): Tiled raster format from NASA JPL that splits data into an XML metadata file, a tile data file and a binary tile index. Specs, software and free sample files; convert MRF to 50 formats online.

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



## What is a MRF file?

The Meta Raster Format (MRF) is a tiled raster format developed at the NASA Jet Propulsion Laboratory. It is designed for fast access to very large images and is used in NASA's Global Imagery Browse Services (GIBS) together with the OnEarth tile server. It is also used for cloud-hosted raster storage, because individual tiles can be read with simple byte-range requests.

An MRF dataset consists of three parts. A small XML file (.mrf) describes the raster size, bands, data type, tiling, compression and coordinate reference system. A data file holds the compressed tiles; its extension reflects the codec, such as .pjg for JPEG, .ppg for PNG or .lrc for LERC. A binary index file (.idx) stores the offset and size of every tile. The format supports multiple bands, integer and floating-point pixel types, and internal overview levels. Compression options include JPEG, PNG, Deflate/zlib and LERC, which provides controlled-error compression for elevation and other continuous data.

MRF datasets are mostly exchanged by people working with NASA Earth observation imagery, satellite mosaics and tile servers, and by teams that store large rasters in cloud object storage. The dataset is several files, so the .mrf XML, the .idx index and the data file must be kept together and stay in the same folder. If one is missing or renamed, the raster cannot be read.

### Technical details

| | |
|---|---|
| Full name | Meta Raster Format (MRF) |
| Data type | Raster · Tiles & pyramids |
| File extension | .mrf |
| Files | Several files: .mrf, .idx, .ppg and .pjg |
| Media type | — |
| Bands | 1–N bands. |
| Pixel types | 8/16-bit int, 32-bit float |
| Compression | PNG, JPEG, LERC, ZLIB |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | GDAL/OGR, QGIS, ArcGIS Pro, OnEarth |
| Specification | https://github.com/nasa-gibs/mrf |

### Specifications & references

- https://github.com/nasa-gibs/mrf
- https://gdal.org/en/stable/drivers/raster/marfa.html

### Sample MRF files — free download

- [Sentinel-2 true colour (10 m)](https://beta.mygeodata.cloud/static/landing/samples/v1/mrf/st-helena-sentinel2-rgb-mrf.zip) — Sentinel-2 L2A true-colour image of Saint Helena from 20 April 2024 (S2A_29LRC_20240420_0_L2A), 8-bit RGB with a contrast stretch, 10 m pixels (1812×1524), UTM zone 30S. Meta Raster Format with JPEG tiles (.mrf + .idx + .pjg). (492.7 kB, EPSG:32730)

### Convert MRF to other formats

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

## Frequently asked questions

### Why does my MRF file open as an empty or broken raster?

The .mrf file is only a small XML descriptor. The .idx index and the data file (for example .ppg, .pjg or .lrc) must be present alongside it, with matching names, or the tiles cannot be located and decoded.

### How is MRF different from GeoTIFF?

A GeoTIFF is normally a single file, while MRF splits metadata, tile index and tile data into separate files. This makes it easy to read single tiles by byte range and to use different codecs, but it also means more files to manage.

### Which compression should I expect inside an MRF?

The data file extension indicates the codec: .pjg for JPEG, .ppg for PNG and .lrc for LERC. JPEG suits photographic imagery, PNG suits lossless imagery, and LERC suits elevation or other continuous data where a small error is acceptable.

### What is a MRF file?

The Meta Raster Format (MRF) is a tiled raster format developed at the NASA Jet Propulsion Laboratory. It is designed for fast access to very large images and is used in NASA's Global Imagery Browse Services (GIBS) together with the OnEarth tile server. It is also used for cloud-hosted raster storage, because individual tiles can be read with simple byte-range requests.

An MRF dataset consists of three parts. A small XML file (.mrf) describes the raster size, bands, data type, tiling, compression and coordinate reference system. A data file holds the compressed tiles; its extension reflects the codec, such as .pjg for JPEG, .ppg for PNG or .lrc for LERC. A binary index file (.idx) stores the offset and size of every tile. The format supports multiple bands, integer and floating-point pixel types, and internal overview levels. Compression options include JPEG, PNG, Deflate/zlib and LERC, which provides controlled-error compression for elevation and other continuous data.

### How do I open a MRF file?

MRF files can be opened in GDAL/OGR, QGIS, ArcGIS Pro and OnEarth. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert MRF to?

Popular conversions are HFA, TIF, JPG, JP2, KMZ raster and GRD. In total the Converter writes MRF data to 50 formats.

### How do I create a MRF file?

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

### Which files belong to a MRF dataset?

A MRF dataset needs .mrf, .idx, .ppg and .pjg. An .mrf XML header plus a tile index (.idx) and a data file (.ppg for PNG, .pjg for JPEG, .lrc for LERC tiles); upload all files together.

