Skip to content

dem_detail

Adds the detail a GeoTIFF DEM has above its own low-pass, to restore measured relief over a raster source read with the same low_pass.

Key Type Default Range Unit Description
path string "" GeoTIFF DEM to take the detail from; relative paths resolve against the configuration's folder.
band integer 0 Band of the file to read, counting from 0.
resampling one of nearest, bilinear, cubic "cubic" Interpolation used between the DEM's cells.
scale number, optional null Factor each sample is multiplied by, replacing the band's scale from the file's GDAL metadata. Unset keeps the file's.
offset number, optional null m Added to each scaled sample, replacing the band's offset from the file's GDAL metadata. Unset keeps the file's.
low_pass number 50.0 (0, inf) m Standard deviation in metres of the Gaussian low-pass the detail is measured above; positive, and the same as the raster source's low_pass to restore the DEM whole.
weight number 1.0 Share of the detail added; 1 restores it whole, 0.5 halves it.
Every key with its default
{
    "type": "dem_detail",
    "path": "",
    "band": 0,
    "resampling": "cubic",
    "scale": null,
    "offset": null,
    "low_pass": 50.0,
    "weight": 1.0
}