Collection of Raster enumerations. More...
| Header | #include <Raster |
Types
(since Esri enum class | Add |
(since Esri enum class | Mosaic |
(since Esri enum class | Mosaic |
(since Esri enum class | Pansharpen |
(since Esri enum class | Pixel |
(since Esri enum class | Preset |
(since Esri enum class | Raster |
(since Esri enum class | Raster |
(since Esri enum class | Raster |
(since Esri enum class | Slope |
(since Esri enum class | Stretch |
Detailed Description
Type Documentation
[since Esri::ArcGISRuntime 100.1] enum class AddRastersParametersType
Enumerates the AddRastersParametersType used in a mosaic dataset raster.
The AddRastersParametersType can be one of:
| Constant | Value | Description |
|---|---|---|
Add | 0 | The add rasters parameters. |
Add | 1 | The frame camera parameters. |
This enum was introduced in Esri::ArcGISRuntime 100.1.
[since Esri::ArcGISRuntime 100.9] enum class MosaicMethod
Enumerates mosaic method types.
A mosaic method specifies how multiple rasters in a Esri::ArcGISRuntime::MosaicDatasetRaster are sorted.
An Esri::ArcGISRuntime::ImageServiceRaster may not support every mosaic method. Check the service's metadata for "Allowed Mosaic Methods" to see which methods are supported. Mosaic methods that are "view-dependent" order rasters based on where the camera is located while "view-independent" order rasters the same regardless of where the camera is located.
The MosaicMethod can be one of:
| Constant | Value | Description |
|---|---|---|
Mosaic | 0 | Orders rasters based on the order ( |
Mosaic | 1 | Orders rasters based on the distance between each raster's center and the view center. Mosaic results are view-dependent. |
Mosaic | 2 | Orders rasters based on the distance between each raster's center and the northwest point of the service. Mosaic results are view-independent. |
Mosaic | 3 | Orders rasters based on the distance between each raster's nadir position and view center. Mosaic results are view-dependent. Nadir is defined as the point on the ground vertically beneath the perspective center of the camera lens that captured the image. |
Mosaic | 4 | Orders rasters based on the distance between each raster's center and a user defined view point. Mosaic results are view-independent. |
Mosaic | 5 | Orders rasters based on the absolute distance between their values of an attribute and a base value. Only numeric or date fields are applicable. The attribute is specified by Esri |
Mosaic | 6 | Displays only the selected rasters specified in Esri |
Mosaic | 7 | Orders rasters based on the predefined seamline. The Esri |
This enum was introduced in Esri::ArcGISRuntime 100.9.
[since Esri::ArcGISRuntime 100.9] enum class MosaicOperation
Enumerates mosaic method types.
The MosaicOperation can be one of:
| Constant | Value | Description |
|---|---|---|
Mosaic | 0 | First. |
Mosaic | 1 | Last. |
Mosaic | 2 | Min. |
Mosaic | 3 | Max. |
Mosaic | 4 | Mean. |
Mosaic | 5 | Blend. |
Mosaic | 6 | Sum. |
This enum was introduced in Esri::ArcGISRuntime 100.9.
[since Esri::ArcGISRuntime 100.0] enum class PansharpenType
Enumerates various types of pan-sharpening for use in a RasterRenderer.
For detailed information on pan-sharpening, please consult the ArcGIS Desktop documentation.
The PansharpenType can be one of:
| Constant | Value | Description |
|---|---|---|
Pansharpen | -1 | No pan-sharpening. |
Pansharpen | 0 | IH |
Pansharpen | 1 | Brovey pan-sharpening. |
Pansharpen | 2 | Mean pan-sharpening. |
Pansharpen | 3 | Esri pan-sharpening. |
Pansharpen | 4 | Gram Shmidt pan-sharpening. |
This enum was introduced in Esri::ArcGISRuntime 100.0.
[since Esri::ArcGISRuntime 100.1] enum class PixelType
Enumerates various pixel type values.
The PixelType can be one of:
| Constant | Value | Description |
|---|---|---|
Pixel | -1 | Unknown pixel type. |
Pixel | 0 | 1-bit pixel type. |
Pixel | 1 | 2-bit pixel type. |
Pixel | 2 | 4-bit pixel type. |
Pixel | 3 | Unsigned 8-bit integer pixel type. |
Pixel | 4 | Signed 8-bit integer pixel type. |
Pixel | 5 | Unsigned 16-bit integer pixel type. |
Pixel | 6 | Signed 16-bit integer pixel type. |
Pixel | 7 | Unsigned 32-bit integer pixel type. |
Pixel | 8 | Signed 32-bit integer pixel type. |
Pixel | 9 | 32-bit floating point number pixel type. |
Pixel | 10 | 64-bit floating point number pixel type. |
This enum was introduced in Esri::ArcGISRuntime 100.1.
[since Esri::ArcGISRuntime 100.0] enum class PresetColorRampType
The list of predefined color ramp types.
The PresetColorRampType can be one of:
| Constant | Value | Description |
|---|---|---|
Preset | -1 | Color ramp type not defined. |
Preset | 0 | Elevation color ramp. The minimum number of gradient steps for this preset is 10. |
Preset | 1 | DE |
Preset | 2 | DE |
Preset | 3 | Bathymetric scale color ramp blending deep magenta through blue, aqua, green, yellow, and red. The minimum number of gradient steps for this preset is 5. |
Preset | 4 | Heat map color ramp blending cool teal and blue-purple through to warm red, orange, and yellow. The minimum number of gradient steps for this preset is 11. |
Preset | 5 | Surface color ramp blending green through yellow, tan, and rose to off-white. The minimum number of gradient steps for this preset is 4. |
Preset | 6 | Precipitation color ramp blending dark red through orange, yellow, green, teal, and deep blue. The minimum number of gradient steps for this preset is 5. |
Preset | 7 | Temperature color ramp blending white through magenta, violet, cyan, green, yellow, orange, and deep red-brown. The minimum number of gradient steps for this preset is 7. |
Preset | 8 | Inferno color ramp blending dark purples through magenta and orange to yellow-white, with a perceptually uniform, color-blind-friendly design. The minimum number of gradient steps for this preset is 11. |
Preset | 9 | Magma color ramp blending deep purple through magenta and rose to soft yellow, with a perceptually uniform, color-blind-friendly design. The minimum number of gradient steps for this preset is 12. |
Preset | 10 | Plasma color ramp blending deep purple through magenta and pink to bright yellow, with a perceptually uniform, color-blind-friendly design. The minimum number of gradient steps for this preset is 12. |
Preset | 11 | Viridis color ramp blending deep blue through green to yellow, with a perceptually uniform, color-blind-friendly design. The minimum number of gradient steps for this preset is 12. |
Preset | 12 | Cividis color ramp blending deep blue through muted green to yellow, with a perceptually uniform, color-blind-friendly design. The minimum number of gradient steps for this preset is 12. |
This enum was introduced in Esri::ArcGISRuntime 100.0.
[since Esri::ArcGISRuntime 100.0] enum class RasterRendererType
Enumerates various types of raster renderers.
The RasterRendererType can be one of:
| Constant | Value | Description |
|---|---|---|
Raster | 1 | A Esri |
Raster | 2 | A Esri |
Raster | 3 | A Esri |
Raster | 4 | A Esri |
Raster | 5 | A Esri |
This enum was introduced in Esri::ArcGISRuntime 100.0.
[since Esri::ArcGISRuntime 300.0] enum class 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.
The RasterResamplingType can be one of:
| Constant | Value | Description |
|---|---|---|
Raster | 0 | Resampling method is determined automatically. Sentinel value indicating that the appropriate resampling method should be determined automatically. |
By default, RasterResamplingType::NearestNeighbor is applied, which preserves data values. For rasters that are known to be continuous in nature, RasterResamplingType::BilinearInterpolation is applied to produce smoother visual transitions.
The resampling method used will be determined when the raster data source is loaded or accessed.
| Constant | Value | Description |
|---|---|---|
Raster | 1 | 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). |
Raster | 2 | 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. |
This enum was introduced in Esri::ArcGISRuntime 300.0.
[since Esri::ArcGISRuntime 100.0] enum class RasterType
Enumerates various types of rasters.
The RasterType can be one of:
| Constant | Value | Description |
|---|---|---|
Raster | 0 | A standard file-based raster. |
Raster | 1 | A mosaic dataset raster. |
Raster | 2 | A Geo |
Raster | 3 | An image service raster. |
Raster | -1 | Unknown raster. |
This enum was introduced in Esri::ArcGISRuntime 100.0.
[since Esri::ArcGISRuntime 100.0] enum class SlopeType
Enumerates various slope types.
The SlopeType can be one of:
| Constant | Value | Description |
|---|---|---|
Slope | -1 | No slope type. |
Slope | 0 | The slope in degrees. |
Slope | 1 | The slope in percent slope. |
Slope | 2 | The slope is scaled. |
This enum was introduced in Esri::ArcGISRuntime 100.0.
[since Esri::ArcGISRuntime 100.0] enum class StretchParametersType
Enumerates the StretchParametersType used in a raster renderer.
For detailed information on the different stretch types, please consult the ArcGIS Desktop documentation.
The StretchParametersType can be one of:
| Constant | Value | Description |
|---|---|---|
Stretch | -1 | No stretch type. |
Stretch | 0 | Minimum maximum stretch type. |
Stretch | 1 | Standard deviation stretch type. |
Stretch | 2 | Histogram equalization stretch type. |
Stretch | 3 | Percent clip stretch type. |
This enum was introduced in Esri::ArcGISRuntime 100.0.