Skip to content

Georeferencer: control-point fits with residuals, a side-by-side window, and COG output #609

Open

Description

@ryanjshields

I'd like to grow RustGIS's georeferencer into a full workflow and contribute it as a series of small PRs. Today raster.georeference fits a north-up scale and shift, and a raw scan with no tie point can't be opened. The plan:

  1. raster.gcpFit: similarity, affine, projective, polynomial 2 and 3, and thin plate spline fits, with residuals in pixels and map units (QGIS's definition), RMSE, leave-one-out error, and a comparison that recommends a transform
  2. Open TIFF, JPEG and PNG scans that have no tie point
  3. Warp to a north-up grid in any EPSG, with a native COG writer
  4. Read and write QGIS .points and IIIF Georeference Annotations
  5. A Georeferencer window: image and map panes side by side, a loupe, residual arrows, a point table, synced panes
  6. A transform picker with plain-language descriptions and a spread meter
  7. Drag to fit: move, scale and rotate a scan over the basemap before placing points
  8. Other output formats through GDAL when it's installed
  9. Optional: cut-lines and masks for sheets with several maps
  10. Optional: a Suggest Points plugin that matches against a reference image

Everything below the UI stays wasm-safe, with no new dependencies. PR 1 is ready. Would you take this series? Any preferences on where the window should live, or on a native COG writer versus GDAL, would shape the later PRs.

Activity

  1. added
    enhancement
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions