Software tools for efficient work

Useful applications to manage spatial data

Back to application list


Terrain-RGB-Mapbox raster generation

The application converts ArcInfo ASCII Grid files into TIFF files (Terrain-RGB), which contain elevation information encoded into RGB values according to the rules adopted in the Mapbox project: Mapbox Global elevation data

The height value for each pixel in the image can be taken using the formula: H = Elevation shift + (R * 256 * 256 + G * 256 + B) * Z resolution

Raster georeferencing is saved in *.tfw world files, which are also generated in the output folder.

ArcInfo ASCII Grid files must have square cells and center of bottom-left cell as the origin. These ArcInfo ASCII Grid files can be created automatically from LIDAR data using TerraScan.

ASCII file header example:

ncols 546
nrows 790
xllcenter 325484.750
yllcenter 6818819.750
cellsize 0.5000
nodata_value -9999


Download the app

Back to application list