Expand description
geolith — core pipeline for generating protomaps-schema PMTiles
from Overture Maps Parquet data.
The pipeline 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 buffer exceeds threshold. - K-Way Merge — merge all sorted chunks into globally-sorted order.
PMTilesWrite — group entries by tile, encode MVT tiles, gzip compress, write toPMTilesarchive in Hilbert order.
Re-exports§
pub use geolith_dataset_builder as dataset;pub use geolith_search_builder as geocoding;
Modules§
- cli
- Top-level command dispatch.
- config
- CLI configuration via clap.
- 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§
- CliError
- Why a
geolithcommand failed. - Pipeline
Action - Pipeline action selected from the configured output format.
Functions§
- exit_
code - The process exit code of an error: the code of a
dataset::exit::Exit, else1. - run
- Run the command selected by the process arguments.
- run_
command - Dispatch an already-parsed
cli::Commandto its pipeline. - run_
raster - Run the raster basemap archiver for a parsed
cli::RasterArgs. - run_
reconstruct - Run the drone-video photogrammetry pipeline for a parsed
cli::ReconstructArgs. - run_
splat_ tiles - Build an OGC 3D Tiles tileset from a trained Gaussian splat PLY.
- run_
terrain - Build Terrain-RGB
PMTilesfrom aGeoTIFFDEM. - run_
with_ config - Execute the pipeline with a pre-built
Config. - select_
action - Decide which pipeline action a config selects without executing it.