Skip to content

Collection of Raster enumerations. More...

Header: #include <RasterTypes.h>

Types

(since Esri::ArcGISRuntime 100.1) enum class AddRastersParametersType { AddRastersParameters, FrameCameraAddRastersParameters }
(since Esri::ArcGISRuntime 100.9) enum class MosaicMethod { None, Center, Northwest, Nadir, Viewpoint, …, Seamline }
(since Esri::ArcGISRuntime 100.9) enum class MosaicOperation { First, Last, Min, Max, Mean, …, Sum }
(since Esri::ArcGISRuntime 100.0) enum class PansharpenType { None, Ihs, Brovey, Mean, Esri, GramSchmidt }
(since Esri::ArcGISRuntime 100.1) enum class PixelType { Unknown, Uint1, Uint2, Uint4, Uint8, …, Float64 }
(since Esri::ArcGISRuntime 100.0) enum class PresetColorRampType { None, Elevation, DemScreen, DemLight, BathymetricScale, …, Cividis }
(since Esri::ArcGISRuntime 100.0) enum class RasterRendererType { BlendRenderer, ColormapRenderer, HillshadeRenderer, RgbRenderer, StretchRenderer }
(since Esri::ArcGISRuntime 300.0) enum class RasterResamplingType { Automatic, NearestNeighbor, BilinearInterpolation }
(since Esri::ArcGISRuntime 100.0) enum class RasterType { Raster, MosaicDatasetRaster, GeoPackageRaster, ImageServiceRaster, Unknown }
(since Esri::ArcGISRuntime 100.0) enum class SlopeType { None, Degree, PercentRise, Scaled }
(since Esri::ArcGISRuntime 100.0) enum class StretchParametersType { Unknown, MinMaxStretchParameters, StandardDeviationStretchParameters, HistogramEqualizationStretchParameters, PercentClipStretchParameters }

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:

ConstantValueDescription
AddRastersParametersType::AddRastersParameters0The add rasters parameters.
AddRastersParametersType::FrameCameraAddRastersParameters1The 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:

ConstantValueDescription
MosaicMethod::None0Orders rasters based on the order (ObjectID) in the mosaic dataset attribute table. Mosaic results are view-independent.
MosaicMethod::Center1Orders rasters based on the distance between each raster's center and the view center. Mosaic results are view-dependent.
MosaicMethod::Northwest2Orders rasters based on the distance between each raster's center and the northwest point of the service. Mosaic results are view-independent.
MosaicMethod::Nadir3Orders 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.
MosaicMethod::Viewpoint4Orders rasters based on the distance between each raster's center and a user defined view point. Mosaic results are view-independent.
MosaicMethod::Attribute5Orders 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::ArcGISRuntime::MosaicRule::sortField and the value is specified by Esri::ArcGISRuntime::MosaicRule::sortValue. Mosaic results are view-independent.
MosaicMethod::LockRaster6Displays only the selected rasters specified in Esri::ArcGISRuntime::MosaicRule::lockRasterIds. Mosaic results are view-independent.
MosaicMethod::Seamline7Orders rasters based on the predefined seamline. The Esri::ArcGISRuntime::MosaicRule::isAscending property is defined by the seamline so is not applicable anymore. Only two mosaic operations are applicable as listed below. Mosaic results are view-independent. Mosaic dataset seamlines

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:

ConstantValueDescription
MosaicOperation::First0First.
MosaicOperation::Last1Last.
MosaicOperation::Min2Min.
MosaicOperation::Max3Max.
MosaicOperation::Mean4Mean.
MosaicOperation::Blend5Blend.
MosaicOperation::Sum6Sum.

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:

ConstantValueDescription
PansharpenType::None-1No pan-sharpening.
PansharpenType::Ihs0IHS pan-sharpening.
PansharpenType::Brovey1Brovey pan-sharpening.
PansharpenType::Mean2Mean pan-sharpening.
PansharpenType::Esri3Esri pan-sharpening.
PansharpenType::GramSchmidt4Gram 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:

ConstantValueDescription
PixelType::Unknown-1Unknown pixel type.
PixelType::Uint101-bit pixel type.
PixelType::Uint212-bit pixel type.
PixelType::Uint424-bit pixel type.
PixelType::Uint83Unsigned 8-bit integer pixel type.
PixelType::Int84Signed 8-bit integer pixel type.
PixelType::Uint165Unsigned 16-bit integer pixel type.
PixelType::Int166Signed 16-bit integer pixel type.
PixelType::Uint327Unsigned 32-bit integer pixel type.
PixelType::Int328Signed 32-bit integer pixel type.
PixelType::Float32932-bit floating point number pixel type.
PixelType::Float641064-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:

ConstantValueDescription
PresetColorRampType::None-1Color ramp type not defined.
PresetColorRampType::Elevation0Elevation color ramp. The minimum number of gradient steps for this preset is 10.
PresetColorRampType::DemScreen1DEM (for screen display) color ramp. The minimum number of gradient steps for this preset is 16.
PresetColorRampType::DemLight2DEM (light color) color ramp. The minimum number of gradient steps for this preset is 20.
PresetColorRampType::BathymetricScale3Bathymetric scale color ramp blending deep magenta through blue, aqua, green, yellow, and red. The minimum number of gradient steps for this preset is 5.
PresetColorRampType::HeatMap4Heat 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.
PresetColorRampType::Surface5Surface color ramp blending green through yellow, tan, and rose to off-white. The minimum number of gradient steps for this preset is 4.
PresetColorRampType::Precipitation6Precipitation color ramp blending dark red through orange, yellow, green, teal, and deep blue. The minimum number of gradient steps for this preset is 5.
PresetColorRampType::Temperature7Temperature 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.
PresetColorRampType::Inferno8Inferno 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.
PresetColorRampType::Magma9Magma 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.
PresetColorRampType::Plasma10Plasma 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.
PresetColorRampType::Viridis11Viridis 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.
PresetColorRampType::Cividis12Cividis 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:

ConstantValueDescription
RasterRendererType::BlendRenderer1A Esri::ArcGISRuntime::BlendRenderer.
RasterRendererType::ColormapRenderer2A Esri::ArcGISRuntime::ColormapRenderer.
RasterRendererType::HillshadeRenderer3A Esri::ArcGISRuntime::HillshadeRenderer.
RasterRendererType::RgbRenderer4A Esri::ArcGISRuntime::RGBRenderer.
RasterRendererType::StretchRenderer5A Esri::ArcGISRuntime::StretchRenderer.

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:

ConstantValueDescription
RasterResamplingType::Automatic0Resampling 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.

ConstantValueDescription
RasterResamplingType::NearestNeighbor1Uses 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).
RasterResamplingType::BilinearInterpolation2Uses 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:

ConstantValueDescription
RasterType::Raster0A standard file-based raster.
RasterType::MosaicDatasetRaster1A mosaic dataset raster.
RasterType::GeoPackageRaster2A GeoPackage raster.
RasterType::ImageServiceRaster3An image service raster.
RasterType::Unknown-1Unknown 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:

ConstantValueDescription
SlopeType::None-1No slope type.
SlopeType::Degree0The slope in degrees.
SlopeType::PercentRise1The slope in percent slope.
SlopeType::Scaled2The 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:

ConstantValueDescription
StretchParametersType::Unknown-1No stretch type.
StretchParametersType::MinMaxStretchParameters0Minimum maximum stretch type.
StretchParametersType::StandardDeviationStretchParameters1Standard deviation stretch type.
StretchParametersType::HistogramEqualizationStretchParameters2Histogram equalization stretch type.
StretchParametersType::PercentClipStretchParameters3Percent clip stretch type.

This enum was introduced in Esri::ArcGISRuntime 100.0.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.