A browser-based tool for interactive 3D visualization of canopy height model (CHM) datasets, built entirely in JavaScript. It allows users to load and explore multiple CHM GeoTIFF tiles directly in the browser—no build tools required.
The visualization leverages Three.js to render GeoTIFF canopy height data as interactive 3D terrain. Each CHM tile is transformed into a detailed 3D mesh, with vertex elevations representing canopy heights and colors mapped along a gradient scale for intuitive interpretation. Seamless navigation between tiles is facilitated by an integrated minimap powered by Leaflet.
-
Interactive 3D CHM Visualization:
Explore a detailed, immersive and interactive 3D model of forest canopy structure. -
Multi-tile Support:
Seamlessly loads and visualizes multiple CHM GeoTIFF tiles -
Dynamic Height-Based Coloring:
Instantly interpret canopy heights with intuitive color gradients. -
Interactive Minimap Navigation:
Navigate between tiles using a convenient minimap. -
In-Depth Data Analysis:
View height distribution charts for any selected tiles. -
Customizable Display Options:
Adjust height exaggeration for enhanced perspective
Toggle wireframe mode for structural clarity
Switch between smooth and flat shading
Minimum height filtering
https://openforest4d.github.io/chm-3d-visualizer/
No build tools required! This project uses CDN-loaded libraries for simplicity.
-
Clone the repository
git clone https://github.com/OpenForest4D/chm-3d-visualizer
-
Copy chm-3d-visualizer folder to your web server directory.
-
Open your web browser at https://your_domain/chm-3d-visualizer
You can replace the sample data provided with your own:
- Replace the GeoTIFF files in the data folder with your CHM tiles
- Update the js/tile_meta_data.js file to reflect your filenames and corresponding UTM coordinates.
- If your data uses a different UTM zone, adjust the UTM zone setting in the utmToLatLng function accordingly.
The visualization expects GeoTIFF files with:
Single-band raster data representing canopy height in meters Standard no-data values (-9999 or 65535) UTM coordinate system (default is zone 11)
- This tool is developed as part of the OpenForest4D project funded by NSF awards 2409885, 2409886 & 2409887.
- CHM data from NSF funded National Ecological Observatory Network:
NEON (National Ecological Observatory Network). Ecosystem structure (DP3.30015.001), RELEASE-2025. https://doi.org/10.48443/jqqd-1n30. Dataset accessed from https://data.neonscience.org/data-products/DP3.30015.001/RELEASE-2025 on June 1, 2025. - three.js, geotiff.js and other open source libraries.