Spatial Tools#
Georeferencer#
The Georeferencer tool lets you assign or correct the coordinate reference system (CRS) of a raster dataset and apply geometric transformations to align it with real-world coordinates.
Reference System Information#
A reference system (more commonly known as a spatial reference system (SRS) or coordinate reference system (CRS)) defines how the pixel coordinates of your raster image are translated into real-world coordinates.
Reference systems can be represented in several forms. Common representations include:
1. WKT Strings#
Example:
GEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
CS[ellipsoidal,2],
AXIS["latitude",north],
AXIS["longitude",east],
ID["EPSG",4326]]
2. PROJJSON Schemas#
{
"type": "GeographicCRS",
"name": "WGS 84",
"datum": {
"type": "GeodeticReferenceFrame",
"name": "World Geodetic System 1984",
"ellipsoid": {
"name": "WGS 84",
"semi_major_axis": 6378137,
"inverse_flattening": 298.257223563
}
},
"coordinate_system": {
"subtype": "ellipsoidal",
"axes": [
{
"name": "Latitude",
"direction": "north",
"unit": "degree"
},
{
"name": "Longitude",
"direction": "east",
"unit": "degree"
}
]
}
}
Reference System Creator#
Some datasets, planetary imagery in particular, use a coordinate reference system with no EPSG code, because no authority has cataloged it. The Reference System Creator (Tools ▸ Reference System Creator) builds one, and it stays available to the Georeferencer, the Mosaic tool and the dataset editor for the rest of the session.
It has two tabs.
From CRS String#
The quicker route when you already have a definition. Paste a WKT string, a
PROJ string, or an authority code such as EPSG:4326, give it a name,
and click Validate. WISER reports whether it can load the definition and
what it resolved to. If validation succeeds, Add to WISER registers it.
Use this to check a coordinate system string copied out of an ENVI header
before relying on it.
From Parameters#
Build a CRS field by field when you have the projection parameters but no string:
Field |
Meaning |
|---|---|
Starting Ref System |
An existing CRS to base yours on, so you only change what differs |
Ref System Name |
The name it will appear under in WISER |
Projection Type |
The map projection |
Shape |
The body’s figure — sphere or ellipsoid |
Semi-Major Axis |
The equatorial radius, in meters |
Semi-minor axis / inverse flattening / eccentricity |
The second axis parameter, in whichever form you have it |
Prime Meridian |
Longitude origin, in degrees |
Center Longitude |
The projection’s central meridian |
Central Lat / 90 deg |
The latitude of origin, or a pole for polar projections |
Scale Factor |
Scale at the projection origin (1.0 for most) |
Reset Fields clears the form back to the starting reference system; Create Reference System registers the result.
Tip
Building a Mars or Moon CRS is the usual reason to reach for this tab. Set the Shape and Semi-Major Axis to the body’s figure — 3396190 m for the Mars IAU 2000 ellipsoid, 1737400 m for the Moon — before choosing a projection.
Custom coordinate systems are saved in a project, so a
.wiserproj carries the CRS its datasets need.
How definitions are validated and stored: CRS Creator Internals.
Similarity Transform#
The similarity transform tool does two things: rotate/scale an image and translate an image’s coordinate system.
Rotating and Scaling#
The Rotate and Scale tab writes a rotated, scaled copy of a single-band or multi-band dataset. Interpolation Type offers Nearest and Linear.
Output pixels outside the rotated footprint, and pixels whose interpolated value would draw on a pixel outside the source or on a masked source pixel, are masked and written as the dataset’s data-ignore value (NaN for a floating-point dataset that has none). They are never recomputed from neighbouring valid pixels, so Linear leaves a narrow masked edge, about one source pixel wide, around the footprint and around masked source pixels, that Nearest does not. When there are such pixels, an integer dataset with no data-ignore value is refused, since it has no value to write them as.
The preview keeps its rotation and scale when you change the dataset, the display bands or the stretch.
Translating Coordinate System#
This section covers the Translate Coordinate Sys tool in the Similarity Transform dialog.
The tool translates the coordinate system by changing the upper-left coordinates of the geotransform, GT(0) and GT(3). GDAL’s geotransform tutorial explains what a geotransform is.
GT(0) corresponds to Lon/East and GT(3) corresponds to Lat/North. When the ‘Translate Lat/North’ and ‘Translate Lon/East’ fields are 0, the ‘New Upper Left Pixel Lat/North’ field will equal GT(3) and the ‘New Upper Left Pixel Lon/East’ field will equal GT(0). By entering values into the ‘Translate Lat/North’ and ‘Translate Lon/East’ editable fields, you will change the new upper left coordinate of your geotransform.
Click any pixel in the raster dataset to see the new spatial coordinate it will have, shown under the raster image. This works only with georeferenced datasets: ones that have both a spatial reference system and a geotransform.