Skip to content

Rendering and Comparison (hillshade, contours, hypso) of Global TerrainRGB, Terrarium and COG terrain DEM/DSM/DTM open-data sources based on Maplibre

Notifications You must be signed in to change notification settings

Iconem/terrain-viewer

 
 

Repository files navigation

Terrain Visualization Modes

A comprehensive terrain visualization and downloading tool, built on top of MapLibre GL via react-map-gl. Explore different terrain visualization modes introduced in 2025 including hillshade, hypsometric tinting, contour lines, and more.

terrainn-viewer-screenshot

bring-your-own-data

demo screencast recording

Features

  • Multiple Terrain Sources: Mapterhorn, Mapbox, MapTiler, AWS Elevation Tiles (based on mapzen)
  • Visualization Modes:
  • Bring Your Own Data: Add terrain sources XYZ terrainrgb/terrarium or COG (wip, via titiler)
  • View Modes: 2D, 3D, and Globe projections
  • Split Screen: Compare two terrain sources side-by-side
  • Download: Export terrain as GeoTIFF via Titiler or screenshot canvas, and copy source URL for QGIS integration/gdal download (terrarium/terrainrgb encoding) + procedures
  • User configuration: Settings persisted to localStorage via jotai like titiler instance and maximum resolution, theme style switcher, API keys, additional terrain sources, and info

Getting Started

Installation

# Clone the repository
git clone https://github.com/iconem/elevation-terrain-visualizer.git
cd elevation-terrain-visualizer

pnpm install
pnpm run dev
pnpm run build # bundles to dist dir

Open http://localhost:5173 to view the app.

Technologies

Inspiration

This project was inspired by:

License

MIT License - feel free to use this project for any purpose.

About

Rendering and Comparison (hillshade, contours, hypso) of Global TerrainRGB, Terrarium and COG terrain DEM/DSM/DTM open-data sources based on Maplibre

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.8%
  • HTML 5.7%
  • CSS 0.5%