Expand description
Library facade for the stt-build crate.
The CLI binary lives at src/main.rs; this lib target exposes the
same modules so integration tests under tests/ and external probes
can drive the pipeline programmatically.
Re-exports§
pub use tiler::encode_single_tile;pub use tiler::encode_single_tile_counted;
Modules§
- build_
options - Shared flag → config parsing (
--temporal-bucket,--vector-group,--quantize-*, per-tile budgets, attribute filters) used by both thestt-buildCLI and thestt-servedynamic server, so a live-served tile is configured byte-identically to one built offline. Shared flag → config parsing used by BOTH thestt-buildCLI and thestt-servedynamic server. - clip
- Trajectory clipping for spatiotemporal tile distribution
- columnar
- Build Arrow
ColumnarLayers from parsed features and clipped segments. - input
- GeoParquet input parsing and feature loading
- quadbin
- CARTO Quadbin cell encoding — the build-side inverse of the TS decoder
in
packages/deck.gl/src/quadbin-cell.ts. - simplify
- Line simplification for lower zoom levels
- style_
hints - Build-time
style_hintscollection (--style-hints): bounded per-property value sampling + layer-kind counting over the loaded features, feeding the generic profiler instt_optimize::analysis::properties. Build-timestyle_hintscollection (stt-build --style-hints). - summary
- Build the server-aggregated summary tier alongside the raw tier.
- tiler
- Tile generation: clip trajectories, bucket features spatially and
temporally, and emit Arrow
ColumnarLayers per tile.