Expand description
geolith-tiles-builder: tiles from OSM and Overture Maps.
One module per output type:
- the vector tile build,
run, writes a protomaps-schemaPMTilesarchive from Overture Parquet and OSM, terrainwrites Terrain-RGBPMTilesfromGeoTIFFDEMs,rasterarchives a raster tile service asPMTiles,splatwrites an OGC 3D Tiles tileset from a Gaussian splat,reconstructturns drone video into a splat.
The vector build runs in four phases:
- Read + Process: discover Parquet files, read features, route to layer processors, project to world coordinates, clip to tiles, snap to tile-local integers, encode MVT geometry commands.
- External Sort: buffer
SortEntryitems, flush sorted chunks to disk when the buffer exceeds a threshold. - K-Way Merge: merge all sorted chunks into globally sorted order.
PMTilesWrite: group entries by tile, encode MVT tiles, gzip compress, write the archive in Hilbert order.
Re-exports§
pub use config::DEFAULT_MAX_GEOMETRY_FAILURES;pub use config::Reuse;pub use config::TilesConfig;
Modules§
- config
- What one tile build reads, writes and keeps.
- conflation
- GERS-based conflation for deduplicating OSM and Overture features.
- error
- Typed error types for geolith library modules.
- geometry
- Geometry processing — re-exports from geolith plus pipeline-specific extensions.
- layers
- Tile layer definitions and feature processing.
- output
PMTilesoutput — archive writing, Hilbert encoding, deduplication.- progress
- Progress bar helpers using
indicatif. - raster
- Raster basemap archiver: XYZ/WMTS tile endpoints →
PMTiles. - reconstruct
- Drone-video photogrammetry pipeline: video → 3D Gaussian Splatting → 3D Tiles.
- sort
- External merge sort engine for the tile pipeline.
- source
- Overture Maps Parquet data reading, filtering, and source routing.
- splat
- Gaussian splat pipeline: 3DGS PLY to OGC 3D Tiles.
- terrain
- Drone-capture terrain pipeline:
GeoTIFFDEM to Terrain-RGBPMTiles. - tile
- Tile encoding — re-exports from geolith plus pipeline-specific post-processing.
- timing
- Planetiler-style phase timing and formatting.
Enums§
- Tiles
Error - Why a vector tile build failed.
Functions§
- run
- Build the vector tile archive
configdescribes: read, sort, merge and write the protomaps-schemaPMTilesfile.