The Interpolation operator artificially increases the resolution of a raster by interpolating the values of the input raster. If the operator is queried with a resolution that is coarser than the input resolution, the interpolation is not applied but the input raster is returned unchanged. Unless a particular input resolution is specified, the resolution of the input raster is used, if it is known.
Interpolation
interpolation
InterpolationMethod
inputResolution
InputResolution
The following describes the types used in the parameters.
The operator supports the following interpolation methods:
nearestNeighbor
biLinear
The operator supports the following input resolutions:
{"type": "source"}
{"type": "value", "x": 0.1, "y": 0.1}
The Interpolation operator expects exactly one raster input.
source
SingleRasterSource
If the input resolution is set as "source" but the resolution of the input raster is not known, an error will be thrown.
{ "type": "Raster", "operator": { "type": "Interpolation", "params": { "interpolation": "biLinear", "inputResolution": { "type": "source" } }, "sources": { "raster": { "type": "GdalSource", "params": { "data": "ndvi" } } } } }