Enum RasterResamplingType
The resampling policy or method used when sampling or transforming raster data.
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum RasterResamplingType
Remarks
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 Automatic value is a sentinel indicating that the appropriate resampling method should be determined automatically based on the raster properties.
Fields
| Name | Description |
|---|---|
| Automatic | Resampling method is determined automatically. Sentinel value indicating that the appropriate resampling method should be determined automatically. By default, NearestNeighbor is applied, which preserves data values. For rasters that are known to be continuous in nature, BilinearInterpolation is applied to produce smoother visual transitions. The resampling method used will be determined when the raster data source is loaded or accessed. |
| BilinearInterpolation | 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. |
| NearestNeighbor | 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). |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |