Nearest Neighbour
Copies the value from the nearest source pixel.
z(x,y)=z(xnearest,ynearest)
Best used when: class IDs or exact discrete values must be preserved.
Combine selected bands from one or more rasters into a single aligned multiband raster. It can also reorder or subset bands from one raster.
Remote Sensing CoreEnd-User DocumentationTheory + Formula + ParametersCombine selected bands from one or more rasters into a single aligned multiband raster. It can also reorder or subset bands from one raster.
Copies the value from the nearest source pixel.
Weighted average of the four surrounding source pixels.
Higher-order interpolation using a wider neighborhood.
Aggregates source pixels contributing to the destination cell.
| Input | Type | Requirement | Description |
|---|---|---|---|
| Input Rasters | raster_stack | Required | Add one or more rasters. For each raster, optionally specify the bands to keep. Band order in the output follows raster row order and the selected band order within each row. |
| Parameter | Default | Choices / Range | How to Use It |
|---|---|---|---|
| Reference Raster | 1 | 1 to — | 1-based input raster index used to define output CRS, extent, resolution, width, height, and pixel grid. Other rasters are aligned to this raster when necessary. |
| Alignment Resampling | nearest | Nearest Neighbour, Bilinear, Cubic, Lanczos, Average | Used only when an input raster does not match the reference grid. Nearest Neighbour preserves original pixel values and is the safest default. |
| Output Nodata | -9999.0 | — |
The result should be interpreted according to the selected method and the physical meaning of the input data. Preserve source units, coordinate reference information, NoData meaning, acquisition date, and preprocessing level when comparing results.