Skip to main content

utz_data_accurate/
lib.rs

1//! The μTZ `accurate` preset asset. Its recipe is dataset `all` (the full
2//! Comprehensive zone set), RDP ε=10 m with pop-density weight floor 1e-1,
3//! i32, a 0.5° grid, and brotli; it costs ~8.1 MB of flash, and peak
4//! decode RAM equals the decoded size (~10.6 MB).
5//!
6//! Regenerate (writes `data/accurate.utz`, gitignored) from the canonical
7//! recipe in `utz_common::presets`; the build script refuses assets that
8//! do not match it:
9//!
10//! ```text
11//! cargo run --release -p utz_build_cli -- gen-preset accurate
12//! ```
13
14#![no_std]
15
16/// The accurate asset bytes (outer header + brotli payload).
17pub static ACCURATE: &[u8] = include_bytes!("../data/accurate.utz");