Skip to content

Instantly share code, notes, and snippets.

@jkraemer
jkraemer / hillshade-transparent-overlay.md
Created October 4, 2018 03:16 — forked from cquest/hillshade-transparent-overlay.md
transparent hillshade cooking guide using gdal

Ingredients

  • a decent DEM
  • gdal
  • some computer

compute grayscale hillshade using gdaldem

gdaldem hillshade -compute_edges your_dem_file hillshade.tif

color-ramp to compute transparency (alpha channel)

In another bowl, prepare the following shade.ramp file: