Expand description
Drone-capture terrain pipeline: GeoTIFF DEM to Terrain-RGB PMTiles.
Consumes the DEM produced by a photogrammetry toolchain (drone video →
frame extraction → OpenDroneMap --dsm/--dtm) and emits raster-dem
PMTiles that MapLibre renders through setTerrain and hillshade.
Modules§
- clip
- Polygon mask for terrain tiles: pixels outside the polygon become nodata and tiles that miss it are not written.
- cog
- Windowed reader for tiled or stripped
GeoTIFFs, including Cloud OptimizedGeoTIFFoverviews. - crs
- Coordinate reference system transforms for DEM reprojection.
- dem
GeoTIFFdigital elevation model reader.- encoding
- Elevation-to-RGB encodings for
raster-demtiles. - mosaic
- A set of
GeoTIFFsrendered as one elevation surface, read window by window so memory follows the output tile instead of the input size. - source
- Elevation sources the terrain tiler can render: one in-memory
Demor a mosaic ofGeoTIFFsread window by window (CogMosaic). - tiler
- Render a DEM into Terrain-RGB raster tiles and pack them into
PMTiles.
Structs§
- Clip
Mask - A polygon mask in WGS84 longitude/latitude.
- Cog
- A
GeoTIFFopened for windowed reads. - CogMosaic
GeoTIFFsrendered as one elevation surface.- Dem
- An elevation raster with its georeferencing.
- Terrain
Tile Stats - Summary of a completed terrain tiling run.
- Terrain
Tiler Options - Options controlling terrain tile generation.
Enums§
- Crs
- A supported coordinate reference system.
- Terrain
Encoding - Elevation encoding for
raster-demtiles.
Traits§
- Elevation
Source - Elevation data the terrain tiler samples per output tile.
Functions§
- run
- Build Terrain-RGB
PMTilesfrom theGeoTIFFDEMs indems. - write_
terrain_ pmtiles - Render
sourceacross the configured zoom range into aPMTilesarchive.
Type Aliases§
- Bounds
- Geographic bounds as
(min_lon, min_lat, max_lon, max_lat).