RasterResamplingType

The resampling policy or method used when sampling or transforming raster data. Resampling is the process of calculating pixel values when a raster is displayed or queried at a different resolution than its native cell size, or when it is transformed (for example, scaled or reprojected).

Most enumeration values represent resampling methods. The RasterResamplingType.Automatic value is a sentinel indicating that the appropriate resampling method should be determined automatically based on the raster properties.

Since

300.0.0

See also

Inheritors

Types

Link copied to clipboard

Resampling method is determined automatically. Sentinel value indicating that the appropriate resampling method should be determined automatically.

Link copied to clipboard

Uses bilinear interpolation resampling. Interpolates using adjacent cells to produce a smoother result than nearest neighbor. This is typically preferred for continuous surfaces (for example, elevation or temperature) where visual smoothness is more important than preserving original cell values.

Link copied to clipboard

Uses nearest-neighbor resampling. Chooses the value of the nearest source cell without interpolation. This preserves original cell values and is typically preferred for categorical or classified data (for example, land cover classes).