Skip to main content

Georeferencing

The georeferencing toolbar is used to align raster, CAD, and image data with real-world map coordinates.

Preparation

ToolDescriptionGeometric meaningRecommended use
MoveTranslates the entire raster on the map canvas.Translation matrix: x' = x + tx, y' = y + tyMove imagery roughly into the correct area before adding control points. This does not change scale or orientation.
ScaleChanges the raster size.Scaling matrix: x' = sx x, y' = sy yCorrect scale differences from scanned data. Uniform scaling is recommended.
RotateRotates the raster around its center by any angle.Rotation matrix: x' = x cosθ - y sinθ, y' = x sinθ + y cosθRoughly rotate the raster close to the target orientation before fine-tuning with control points.
Flip - Horizontal flipMirrors the raster from left to right.Transformation: x' = -x, y' = yCorrect scanned imagery that is reversed horizontally. Use with care because an incorrect flip can prevent control points from matching.
Flip - Vertical flipMirrors the raster from top to bottom.Transformation: x' = x, y' = -yCorrect scanned imagery that is reversed vertically. Recheck orientation and symbols after flipping.
Fixed rotation - Rotate leftRotates the raster 90° counterclockwise.90° rotation matrix: x' = -y, y' = xQuickly correct a scanned image with portrait/landscape orientation reversed.
Fixed rotation - Rotate rightRotates the raster 90° clockwise.270° rotation matrix: x' = y, y' = -xSimilar to Rotate left. Use it to quickly correct orientation.

Correction

ToolDescription
Add control pointSelects a control point from the layer and adds it to the map.
SelectSelects and highlights control points within a specified area.
Zoom toCenters the view on the selected control point and zooms in.
DeleteDeletes the selected control point link.
Delete allDeletes all added control point links.

Transformation types

  • Affine transformation: A linear transformation that maps source image coordinates to the target coordinate system by using translation, rotation, scaling, and skewing. It usually requires at least 3 control points.
  • Translation transformation: The simplest geometric transformation. It only shifts data in the X and Y directions and does not apply scaling, rotation, or skewing. It usually requires only 1 control point.
  • Similarity transformation: A transformation that preserves geometric similarity. It allows translation, rotation, and uniform scaling, but does not include shear or non-uniform deformation. It requires at least 2 control points.

Workflow example

The following workflow uses a scanned or image-based raster as an example and avoids relying on screenshots.

  1. For JPG, PNG, or similar image formats, set the project coordinate system to EPSG:3857 if that is the coordinate system used by your reference map and it helps with positioning.

  2. Add the image or raster layer to the project so it appears in the Layers list.

  3. Select the image or raster layer, then open the Georeferencing tab on the toolbar.

  4. Use Add control point. First add the source point on the image, then locate the matching target point on the reference map. You can enter longitude and latitude values or click directly on the map. Add 3 to 5 control points in sequence.

  5. Review the residuals in the control point list. If a residual is too large, delete that control point and select it again until all residuals are within an acceptable range.

  6. Review the final georeferencing result and confirm that the raster aligns correctly with the reference data.