Georeferencing API
    Preparing search index...

    Function fitTransform

    • Fit one of the seven supported models using enabled point pairs.

      All targets must already be in the same working CRS: this numerical function does not convert Gcp.crs. The worker engine performs that conversion. Validate the full image domain with validateDomain before rendering.

      Parameters

      • gcps: Gcp[]

        Canonical image coordinates paired with working-CRS target coordinates.

      • model: Model

        Exact model to fit; no fallback is performed.

      Returns Fit

      Coefficients and training residuals for enabled points.

      "@georeferencing/core".GeoreferenceError For insufficient, duplicate, nonfinite, degenerate or ill-conditioned input.