# TER — Terragen Terrain File

> TER (Terragen Terrain File): Chunked binary heightfield format of the Terragen landscape renderer, storing scaled 16-bit elevations. Specs, software and free sample files; convert TER to 50 formats online.

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



## What is a TER file?

The Terragen terrain file (.ter) is the native heightfield format of Terragen, the landscape rendering software developed by Planetside Software. It is used to create, exchange and render terrain for visualisation, film and game work. Other terrain generation tools often use it as an export format.

A file starts with the ASCII signature "TERRAGENTERRAIN ". A series of tagged chunks follows. SIZE and the optional XPTS/YPTS chunks give the grid dimensions. SCAL defines the spacing between points in metres. ALTW holds the elevation data, stored as signed 16-bit integers together with a height scale and base height that convert them into actual altitudes. The format holds a single elevation band and no compression. It has no notion of a real-world coordinate reference system, so terrain loaded into GIS software is not georeferenced. The 16-bit storage also limits vertical resolution relative to the height range covered.

TER files are usually exchanged by landscape artists, game developers and visualisation specialists who generate heightfields in Terragen or World Machine. When they are opened in GIS software, check the elevation scaling and the point spacing, because the file stores no coordinate reference system. Positioning has to be added separately, for example through a sidecar file or by assigning a CRS manually.

### Technical details

| | |
|---|---|
| Full name | Terragen Terrain File |
| Data type | Raster · Elevation & grid |
| File extension | .ter, .terrain |
| Files | Single file |
| Media type | — |
| Bands | Single-band elevation. |
| Pixel types | 16-bit int (scaled) |
| Compression | None |
| Coordinate system | Sidecar file (world file / .aux.xml) |
| Converter support | Read & write |
| Typical software | Terragen, GDAL/OGR, QGIS, World Machine |
| Specification | https://planetside.co.uk/wiki/index.php?title=Terragen_.TER_Format |

### Specifications & references

- https://planetside.co.uk/wiki/index.php?title=Terragen_.TER_Format
- https://gdal.org/en/stable/drivers/raster/terragen.html

### Sample TER files — free download

- [Elevation (30 m, UTM)](https://beta.mygeodata.cloud/static/landing/samples/v1/terragen/st-helena-dem.ter) — Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. Resampled to 30 m in UTM zone 30S (604×508 px). Terragen terrain file. (599.3 kB, EPSG:32730)

### Convert TER to other formats

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

## Frequently asked questions

### Why is my TER file not placed correctly on the map in GIS software?

The TER format has no coordinate reference system, so GIS software cannot know where the grid belongs. You need to assign a CRS and extent manually, or supply a sidecar file such as a world file or .aux.xml.

### Why do the elevation values look wrong after opening a TER file?

Elevations are stored as signed 16-bit integers that must be converted using the height scale and base height in the file. If software ignores these values, the heights appear as raw integers rather than real altitudes.

### How does TER differ from a GeoTIFF elevation raster?

TER is a simple single-band heightfield with 16-bit scaled integers and no built-in georeferencing. GeoTIFF can embed a CRS and supports other pixel types, so it is better suited to survey-grade elevation data.

### What is a TER file?

The Terragen terrain file (.ter) is the native heightfield format of Terragen, the landscape rendering software developed by Planetside Software. It is used to create, exchange and render terrain for visualisation, film and game work. Other terrain generation tools often use it as an export format.

A file starts with the ASCII signature "TERRAGENTERRAIN ". A series of tagged chunks follows. SIZE and the optional XPTS/YPTS chunks give the grid dimensions. SCAL defines the spacing between points in metres. ALTW holds the elevation data, stored as signed 16-bit integers together with a height scale and base height that convert them into actual altitudes. The format holds a single elevation band and no compression. It has no notion of a real-world coordinate reference system, so terrain loaded into GIS software is not georeferenced. The 16-bit storage also limits vertical resolution relative to the height range covered.

### How do I open a TER file?

TER files can be opened in Terragen, GDAL/OGR, QGIS and World Machine. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert TER to?

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

### How do I create a TER file?

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

