Geolocate raster layer
Geolocate a raster layer using geolocation arrays. See Geolocation Arrays in the GDAL documentation for details on the concept and parameters.
Parameters
- Raster layer [raster]
A raster layer to be geolocated.
- X locations raster layer [raster]
A raster layer containing the x geolocation array.
- Y locations raster layer [raster]
A raster layer containing the y geolocation array.
- Grid [raster]
The destination grid. If skipped, the grid CRS is set to the CRS of the geolocation arrays, extent and resolution is controlled by gdal.Warp defaults.
- Locations CRS [crs]
The coordinate reference system of the geolocation arrays. Default: <QgsCoordinateReferenceSystem: EPSG:4326>
- No data value [number]
Value used to fill no data regions introduced by warping.
- X locations band [band]
The x coordinates band.
- Y locations band [band]
- Pixel offset [number]
Pixel offset into geo-located data of left geolocation pixel. Default: 0
- Line offset [number]
Line offset into geo-located data of top geolocation pixel. Default: 0
- Pixel step [number]
Each geolocation pixel represents this many geolocated pixels. Default: 1
- Line step [number]
Each geolocation pixel represents this many geolocated lines. Default: 1
Outputs
- Output raster layer [rasterDestination]
Raster file destination.
Command-line usage
>qgis_process help enmapbox:GeolocateRasterLayer
:
----------------
Arguments
----------------
raster: Raster layer
Argument type: raster
Acceptable values:
- Path to a raster layer
xRaster: X locations raster layer
Argument type: raster
Acceptable values:
- Path to a raster layer
yRaster: Y locations raster layer
Argument type: raster
Acceptable values:
- Path to a raster layer
grid: Grid (optional)
Argument type: raster
Acceptable values:
- Path to a raster layer
crs: Locations CRS (optional)
Default value: EPSG:4326
Argument type: crs
Acceptable values:
- CRS as an auth ID (e.g. 'EPSG:3111')
- CRS as a PROJ4 string (e.g. 'PROJ4:…')
- CRS as a WKT string (e.g. 'WKT:…')
- Path to a layer. The CRS of the layer is used.
noDataValue: No data value (optional)
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
xBand: X locations band (optional)
Argument type: band
Acceptable values:
- Integer value representing an existing raster band number
yBand: Y locations band (optional)
Argument type: band
Acceptable values:
- Integer value representing an existing raster band number
pixelOffset: Pixel offset (optional)
Default value: 0
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
lineOffset: Line offset (optional)
Default value: 0
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
pixelStep: Pixel step (optional)
Default value: 1
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
lineStep: Line step (optional)
Default value: 1
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
outputGeolocatedRaster: Output raster layer
Argument type: rasterDestination
Acceptable values:
- Path for new raster layer
----------------
Outputs
----------------
outputGeolocatedRaster: <outputRaster>
Output raster layer