custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

DEM Topographic Visualization

Show script or download it.

Description

Sentinel Hub supports Mapzen DEM and Copernicus DEM. Mapzen DEM is based on SRTM30 (Shuttle Radar Topography Mission) and other sources. Copernicus DEM is based on WorldDEM that is infilled on a local basis with the following DEMs: ASTER, SRTM90, SRTM30, SRTM30plus, GMTED2010, TerraSAR-X Radargrammetric DEM, ALOS World 3D-30m. More information can be found in our documentation.

This script returns a visualisation with green colours representing lowland elevations and earth colours as mountainous elevations. The script uses discrete classes rather than the continuous visualisations in the other DEM evalscripts in this repository.

dem topographic visualisation

Color table

Elevation range HTLM color code Color
Below Sea Level #0f0f8c
0-10m #175408
10-25m #1f5e14
25-50m #266921
50-75m #2e732e
75-100m #367d3b
100-200m #3d873d
200-300m #4d9440
300-400m #5ea354
400-500m #73b366
500-600m #7aba70
600-700m #85c27a
700-800m #96cf8f
800-900m #a6d69c
900-1000m #abdea1
1000-1500m #fcedbf
1500-2000m #ebd9b0
2000-2500m #d6c49e
2500-3000m #c2b08a
3000-3500m #ad9c75
3500-4000m #998761
4000-4500m #87734d
4500-5000m #736138
5000-5500m #5e4d26
5500-6000m #4a3812
6000-7000m #e6e6e6
7000-8000m #f2f2f2
8000m + #ffffff

Author of the script

William Ray