Skip to content

Hypsometric Tint from terrain-RGB tiles #5666

Open
@JBLINZ

Description

@JBLINZ

User Story

As a map maker/owner, I would like to render a hypsometric tint using my terrain-RGB tiles in MapLibre to deliver high-quality cartographic products.

Rationale

Currently, I cannot render anything other than a hillshade using my terrain-RGB tiles, although there are many common outputs from this type of elevation data that could be useful.

By introducing hypsometric tint rendering from terrain RGB tiles, similar to GDAL’s “color-relief”, MapLibre can extend its usefulness for advanced cartography, visualisation and basic analysis.

Ideally, users could display terrain tiles with a hypsometric tint or any other customised relief shading in MapLibre GL JS using the map style. The new terrain display algorithm could be similar to color-relief in GDAL.

This command outputs a 3-band (RGB) or 4-band (RGBA) raster with values are computed from the elevation and a text-based color configuration file, containing the association between various elevation values and the corresponding wished color. By default, the colors between the given elevation values are blended smoothly and the result is a nice colorized DEM

Here is a basic example combined with a dynamic hill-shade:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneed more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions