You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster conversion Free for small files

Convert SGI to HF2

Start here

Output: HF2
No file at hand? Try a sample SGI

No account needed — files are deleted automatically.

Convert SGI Image (IRIS RGB) (SGI) to HF2/HFZ Heightfield (HF2) right in your browser — layers, attributes and the coordinate system are handled for you.

  • No install, works on any device
  • 11,000+ coordinate systems
  • Batch files and ZIP archives
  • Secure, files deleted automatically

How to convert SGI to HF2

To convert SGI (SGI Image (IRIS RGB)) to HF2 (HF2/HFZ Heightfield), upload the SGI data to the MyGeodata Cloud Converter, select HF2 as the output format and download the result — online, without installing GIS software.

Output coordinate system
Any — your choice
Free credits
3 every 30 days
Input files
.rgb
Output files
.hf2

What happens when you convert SGI to HF2

Facts about both formats — so you know what the result will look like before you start.

Keep or change the coordinate system

The coordinate system of your SGI data is detected automatically. Keep it, or reproject the HF2 output to any of 11,000+ coordinate systems (EPSG, ESRI, IGNF).

Georeferencing inside the file

Unlike SGI, HF2 stores the coordinate system and position inside the file, so no sidecar files are needed.

Pixel types in HF2

HF2 supports 32-bit float (scaled). Values that do not fit the output type are reported before the conversion.

Bands

Single-band elevation.

Compression

HF2 uses: None, gzip (.hfz).

Reprojection with resampling

When you change the coordinate system, the raster is warped and resampled; the original pixels stay untouched if you keep it.

Convert SGI to HF2 in 4 steps

  1. 1

    Upload your SGI data

    Drag and drop your SGI file into the Converter — or several files at once.

  2. 2

    Check the input

    The Converter detects layers, attributes and the coordinate system and shows an overview. If the coordinate system is missing, you can assign it.

  3. 3

    Choose HF2 and options

    Select HF2 as the output format. Keep the coordinate system or pick another one. Optional settings let you pick layers, attributes and HF2-specific options.

  4. 4

    Download the result

    See the price in credits before you start, run the conversion and download the HF2 result.

SGI vs. HF2 — technical comparison

Property SGI · input HF2 · output
Full name SGI Image (IRIS RGB) HF2/HFZ Heightfield
Data type Raster · Image & imagery Raster · Elevation & grid
File extension .rgb, .sgi, .rgba, .bw .hf2, .hfz
Files Single file Single file
Media type image/x-sgi —
Bands 1–4 (gray to RGBA). Single-band elevation.
Pixel types 8/16-bit unsigned 32-bit float (scaled)
Compression None, RLE None, gzip (.hfz)
Coordinate system Sidecar file (world file / .aux.xml) Any (georeferenced)
Converter support Read & write Read & write
Typical software GDAL/OGRQGISImageMagickGIMPXnView MP L3DTGDAL/OGRQGIS
Specification gdal.org/en/release-3.10/drivers/raster/sgi.html gdal.org/en/stable/drivers/raster/hf2.html

Input format

What is SGI?

The SGI image format, also known as IRIS RGB, was introduced by Silicon Graphics for its IRIS workstations and the IRIX operating system. Files commonly use the .rgb, .rgba, .sgi or .bw extensions. Each file begins with a 512-byte header whose first two bytes contain the big-endian magic number 474, followed by fields describing dimensions, channel count and bytes per channel.

The format supports one to four channels, ranging from grayscale to RGBA with alpha, using 8-bit or 16-bit unsigned samples. Pixel data is stored channel by channel, either uncompressed or with run-length encoding. It was widely used for textures and images in 3D graphics, visualisation and simulation software of its era and still appears in older datasets. The format carries no coordinate or projection information, so geospatial use requires world files and .prj sidecars to place the image on the map.

Typical software

  • GDAL/OGR
  • QGIS
  • ImageMagick
  • GIMP
  • XnView MP

Output format

What is HF2?

HF2 is a binary heightfield format designed by Bundysoft for terrain data exchange and is primarily associated with the L3DT terrain generation software. It stores digital elevation models for terrain modelling, game and simulation content, and visualisation. The .hfz extension denotes the same structure wrapped in gzip compression.

A file begins with a header containing the HF2 signature, grid dimensions, tile size, vertical precision and horizontal scale. Optional extended header blocks can carry georeferencing or projection information. The elevation grid is divided into square tiles. Each tile stores its own scale and offset, and heights are encoded as compact integer differences, so values are reconstructed as 32-bit floating point with quantisation limited to the declared vertical precision. This scheme makes files considerably smaller than raw floating-point grids. Only a single elevation band is supported, and coordinate reference system information is optional.

Typical software

  • L3DT
  • GDAL/OGR
  • QGIS

Free sample SGI files

Real OpenStreetMap, Copernicus and Sentinel data of Saint Helena — download a SGI sample or convert it to HF2 with one click.

All samples →
Preview of the sample data: Saint Helena shaded relief st-helena-relief.rgb

Shaded relief (RGB)

Colour shaded relief of Saint Helena (hypsometric tint × multidirectional hillshade) from Copernicus DEM, 20 m, 8-bit RGB, UTM zone 30S. SGI image (no georeference).

  • 3 bands · Byte
  • 906 × 762 px
  • 20 m
  • EPSG:32730
  • 945.3 kB

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA · © OpenStreetMap contributors, ODbL 1.0

Frequently asked questions

Open the Converter, drop your SGI files, check the detected layers and coordinate system, choose HF2 as the output and download the result. Everything runs in your browser — there is no software to install.

GeoCzech API

Automate SGI to HF2 conversions

The same engine is available as a REST API — convert files from scripts, ETL pipelines or your own application. Results are identical to the web Converter.

Read the Converter API docs →
cURL
curl -X POST "https://api.geoczech.dev/v2/tool/converter" \
  -H "X-API-Key: $GEOCZECH_API_KEY" \
  -F "files=@data.rgb" \
  --form-string 'params={"output": {"format": "hf2"}}' \
  -F "wait=true"

Ready to get your HF2 file?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.