What is georeferencing?
Georeferencing is the process that aligns an unreferenced raster or vector layer to a known coordinate system by using ground control points.
How it works
A scanned map, an image or a drawing has no real-world position. To place it, you find points on the layer whose coordinates you can determine accurately. These are ground control points (GCPs). Each GCP pairs a position in the source layer with a known position in the target coordinate system.
The software then calculates a transformation from the GCPs and applies it to the layer. It lists the error of each GCP as a root mean square (RMS) error. You also choose the target coordinate reference system. The result is a layer that overlays on other georeferenced data.
QGIS can georeference raster layers and vector layers. A scanned plan is a raster layer. A drawing is a vector layer. A georeferenced plan is a plan that went through this step.
Types of georeferencing
There are two methods.
- Indirect georeferencing uses ground control points. You measure or pick points with known coordinates and fit the data to them. The sections below describe this method.
- Direct georeferencing uses the position and attitude of the sensor at the moment of capture. On a drone, a GNSS receiver with real time kinematic (RTK) or post-processing kinematic (PPK) corrections records the position. An inertial measurement unit (IMU) records the attitude. Together they give the exterior orientation of each image. This can reduce the need for ground reference points.
Direct georeferencing has its own error sources. These include angular misalignment between the instruments and time synchronization between the camera and the IMU. In one peer-reviewed study of a fixed-wing drone, the researchers still used four GCPs to remove a systematic positional offset. The result is for one site, so treat it as an example and not as a general figure.
Ground control points
A good control point is small, recognizable and symmetrical, with a distinct boundary. The FAA gives these examples of well-defined points:
- the well-defined junction of intersecting features, such as roads or sidewalks
- the corner of a clear, well-defined feature, such as a parking lot or a tennis court
The FAA also sets a test for the number and placement of control points. They must be enough to georeference the imagery to the accuracy that the project needs. The QGIS manual advises at least four points and says that more points give a better result.
Transformation types
The transformation type decides how much the layer can bend. A type that bends the layer more needs more GCPs. QGIS gives these minimum numbers.
| Transformation | What it allows | Minimum GCPs |
|---|---|---|
| Linear | Translation and uniform scaling, no rotation | 2 |
| Helmert | Linear, plus rotation | 2 |
| Polynomial 1 | Affine, with a uniform shear | 3 |
| Projective | A central projection between two non-parallel planes | 4 |
| Polynomial 2 | A second-degree polynomial | 6 |
| Polynomial 3 | A third-degree polynomial | 10 |
| Thin Plate Spline | Local polynomials that match every GCP | 10, and usually more |
All types except Thin Plate Spline fit their parameters so that the overall residual error is as small as possible. Thin Plate Spline matches every GCP exactly.
The EPSG guidance note says that the affine transformation is commonly used to rectify digitised maps. Polynomial transformations of degree 2, 3 or higher approximate distortions where the source system is not uniform in orientation and scale.
How to check the result
Read the RMS error of each GCP in the GCP table. QGIS shows the residual in pixels or in map units. The FAA defines root mean square error (RMSE) as the square root of the mean of the squared errors of a sample.
A low error at the GCPs does not prove that the whole layer is right. Test the result at independent check points. The FAA requires check points that are not part of the georeferencing solution. For aerial imagery on airport survey projects, it requires at least five check points in the project area. That AC is mandatory for projects that Airport Improvement Program or Passenger Facility Charge funds pay for.
Coordinate reference system
The target of the transformation is a coordinate reference system. WGS 84 (EPSG:4326) is a geographic 2D system that GPS uses.
For aeronautical data, ICAO Annex 14 sets WGS-84 as the horizontal reference system. EASA states that WGS-84 is the system ICAO requires for georeferencing aeronautical information.
Output files
GeoTIFF is the OGC standard that adds geographic referencing to TIFF images. QGIS exports a georeferenced raster as GeoTIFF. For raster layers, it can also write a world file, but only for the Linear and Helmert transformations. QGIS exports a georeferenced vector layer in a format such as GeoPackage or Shapefile.
Frequently Asked Questions
- What is georeferencing?
- Georeferencing is the process that aligns an unreferenced raster or vector layer to a known coordinate system. You find points on the layer with known coordinates, and software calculates a transformation from them. A layer with no position, such as a scanned plan, then has a position on the Earth.
- What is a georeferenced plan?
- A georeferenced plan is a plan or drawing that you aligned to a known coordinate reference system. Its features then overlay on other georeferenced data. QGIS can georeference both raster layers, such as a scanned plan, and vector layers, such as a drawing.
- What are the types of georeferencing?
- There are two main methods. Indirect georeferencing uses ground control points with known coordinates. Direct georeferencing uses the position and attitude of the sensor, which a GNSS receiver and an inertial measurement unit record during capture.
- What is direct georeferencing?
- Direct georeferencing places images without ground control by using the measured position and orientation of the camera at each exposure. A GNSS receiver with RTK or PPK corrections gives the position, and an inertial measurement unit gives the attitude. One study with post-processed data still used four ground control points to remove a systematic offset.
- What is a ground control point?
- A ground control point (GCP) is a point on the layer whose real-world coordinates you can determine accurately. Each GCP links a position in the source layer to a known position in the target coordinate system. A good point is small, recognizable and has a distinct boundary.
- How many ground control points does georeferencing need?
- It depends on the transformation. QGIS needs at least 2 for Linear and Helmert, 3 for Polynomial 1, 4 for Projective, 6 for Polynomial 2 and 10 for Polynomial 3. Thin Plate Spline needs at least 10, and usually more. The QGIS manual advises at least four points and says that more points give a better result.
- How do you check the accuracy of a georeferenced layer?
- Read the RMS error of each ground control point, then test the result against independent check points. The FAA requires check points that are not part of the georeferencing solution. For aerial imagery on airport survey projects, it requires at least five check points in the project area.
- Which reference system does aeronautical data use?
- WGS 84. ICAO Annex 14 requires WGS-84 as the horizontal reference system, and reported aeronautical geographical coordinates must be expressed in it.
References
- qgis-georeferencer
- Georeferencer, QGIS Documentation QGIS Project
- epsg-gn7-2
- Geomatics Guidance Note 7, part 2: Coordinate Conversions and Transformations including Formulas (July 2012) IOGP, EPSG
- epsg-4326
- EPSG:4326, WGS 84 EPSG Registry, via epsg.io
- icao-annex-14-v1
- Annex 14 to the Convention on International Civil Aviation, Aerodromes, Volume I, 9th edition (July 2022) ICAO
- easa-ear-aerodromes
- Easy Access Rules for Aerodromes (Regulation (EU) No 139/2014) EASA
- ogc-geotiff
- OGC GeoTIFF Standard, version 1.1 (OGC 19-008r4) Open Geospatial Consortium
- faa-ac-150-5300-17c
- AC 150/5300-17C, Change 1, Standards for Using Remote Sensing Technologies in Airport Surveys FAA
- stocker-2017-direct-georeferencing
- Quality assessment of combined IMU/GNSS data for direct georeferencing in the context of UAV-based mapping ISPRS Archives, vol. XLII-2/W6 (UAV-g 2017), Stocker, Nex, Koeva and Gerke
This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.
