Georeferencing API
    Preparing search index...

    Interface SaveEnvelope

    Immutable accepted-feature snapshot for host persistence. Replace only features belonging to documentId; omitted IDs represent deletions within that document.

    interface SaveEnvelope {
        diagnostics: { crs: string; definition: string; rmse: number };
        document: Document;
        documentId: string;
        documentRevision: number;
        engine: string;
        features: Features;
        requestId: string;
        semantics: "replace-document-features";
    }
    Index
    diagnostics: { crs: string; definition: string; rmse: number }

    Training residual summary for the accepted alignment.

    Type Declaration

    • crs: string

      Working CRS supplying the residual units.

    • definition: string

      Formula used for the reported training RMSE.

    • rmse: number

      Root mean squared forward residual in working-CRS units.

    document: Document

    Deep-frozen snapshot with source identity and per-feature provenance.

    documentId: string

    Stable document scope; never replace unrelated host features.

    documentRevision: number

    Exact submitted revision; completion must not acknowledge subsequent edits.

    engine: string

    Processing engine version for provenance.

    features: Features

    Accepted GeoJSON in longitude/latitude, sharing the snapshot feature collection.

    requestId: string

    Idempotency key reused when retrying the same revision and save kind.

    semantics: "replace-document-features"

    Host replacement contract, scoped exclusively to this document.