pub struct TileMeta {
pub qa: Option<BTreeMap<String, (f64, f64)>>,
pub sorted: Option<bool>,
pub t0: Option<i64>,
pub vb: Option<u32>,
pub vt: Option<(i64, u32)>,
}Expand description
The per-tile-varying metadata a v2 frame carries in its TILE_META
section instead of the (now dataset-constant, template-resident) Arrow
schema metadata. Canonical serialization (design §4.3): JSON, keys sorted
— field order below IS alphabetical and the qa map is a BTreeMap — no
whitespace. Readers MUST ignore unknown keys (serde’s default here), so
the section can evolve additively. Presence rules: a key is present iff
the corresponding feature is (qa omits non-quantized columns entirely;
t0 iff a start-time column exists; vt iff delta-encoded vertex_time;
vb iff a value matrix).
Fields§
§qa: Option<BTreeMap<String, (f64, f64)>>Per-property attribute-quantization affines, column → [o, s]
(value = o + q*s) — the v1 stt:qa field metadata, hoisted.
sorted: Option<bool>Rows are stable-sorted by start_time (always true from this
writer; a flag so Stage III can demote the sort without a frame bump).
t0: Option<i64>The v1 stt:time_offset_ms schema key: minimum feature start-time.
vb: Option<u32>The v1 stt:vertex_value_buckets schema key.
vt: Option<(i64, u32)>The v1 stt:vertex_time_origin_ms / stt:vertex_time_step_ms pair,
as [origin_ms, step_ms].
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TileMeta
impl<'de> Deserialize<'de> for TileMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for TileMeta
impl RefUnwindSafe for TileMeta
impl Send for TileMeta
impl Sync for TileMeta
impl Unpin for TileMeta
impl UnsafeUnpin for TileMeta
impl UnwindSafe for TileMeta
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more