Description
User Story
As a map maker/owner, I would like to have multiple options when choosing the hill-shade/relief-shade type that MapLibre renders using my terrain-RGB tiles so that I can deliver high-quality cartographic products.
Rationale
Currently, only a standard hill-shade is available which is a great general hillshade.
By introducing three additional algorithms for rendering hill-shades from terrain RGB tiles, MapLibre will be increasingly useful for advanced cartography. GDAL currently allows 'Combined', 'Multidirectional' and 'Igor', among others. Choosing from these three options when using terrain RGB tiles would allow map makers to select the right theme and feel for their project.
Further explanation of hill-shade types:
- Combined combined shading, a combination of slope and oblique shading.
- Multidirectional multidirectional shading, a combination of hillshading illuminated from 225 deg, 270 deg, 315 deg, and 360 deg azimuth. Multidirectional hill-shading applies the formula of http://pubs.usgs.gov/of/1992/of92-422/of92-422.pdf.
- Igor shading, which tries to minimize effects on other map features beneath. Igor's hill-shading uses a formula from Maperitive http://maperitive.net/docs/Commands/GenerateReliefImageIgor.html.
GDAL’s alternate hillshade algorithms — from top to bottom: multidirectional, combined, and igor. Images derived from the USGS National Map.