Interface CanonicalFeature<T>

Canonical feature shape used by edit envelopes. Mirrors the canonical HonuaTypedFeature<T> (attributes + optional geometry) so the same value an adapter returns from query() may be fed back into applyEdits().

interface CanonicalFeature<T> {
    attributes: T;
    geometry?: null | Record<string, unknown>;
    id?: FeatureId;
}

Type Parameters

  • T = Record<string, unknown>

Properties

attributes: T
geometry?: null | Record<string, unknown>

Optional row identity. Required for updates and deletes.