Skip to main content

Crate geolith

Crate geolith 

Source
Expand description

geolith: the shared library of the geolith builders.

It holds what more than one builder needs: the source readers (Overture Parquet, OSM PBF, GeoJSON, shapefile, Natural Earth), conflation, the admin areas and the India outline, the GeoTIFF readers, the tile feature model, geometry, MVT encoding, and the PMTiles and MBTiles writers.

Re-exports§

pub use error::GeolithError;
pub use error::Result;

Modules§

admin
Admin hierarchy resolution by point-in-polygon lookup.
attribution
The credit every geolith output carries.
conflation
GERS-based conflation for deduplicating OSM and Overture features.
error
Typed error types for geolith library modules.
geometry
Geometry processing — coordinate transforms, simplification, clipping.
layer
Output layer identifiers for the protomaps basemap schema.
output
PMTiles output — archive writing, Hilbert encoding, deduplication.
progress
Progress bar helpers using indicatif.
source
Overture Maps Parquet data reading, filtering, and source routing.
terrain
The GeoTIFF readers: COG decoding, DEM reading, CRS transforms and tile ranges. Used by the raster datasets and by the terrain tiler.
tile
Tile encoding — MVT features, sort keys, and MVT protobuf encoding.