This renderer displays continuous raster cell values across a gradual ramp of colors. Use this renderer to draw a single band of continuous data. This renderer works well when you have a large range of values to display, such as with imagery or scientific data.

Referenced by: Raster Renderers

Properties

PropertyDetails
colorRampA colorRamp object is used to specify a range of colors that are applied to a group of symbols.
computeGammaIndicates if gamma values should be computed by default.
draIndicates if Dynamic Range Adjustment should be applied.
gamma[]The list of Gamma value(s).
maxThe current maximum output value.
maxPercentThe current maximum percent value.
minThe current minimum output value.
minPercentThe current minimum percent value.
numberOfStandardDeviationsThe number of standard deviations for standard deviation stretch.
sigmoidStrengthLevelSet this from (1 to 6) to adjust the curvature of Sigmoid curve used in color stretch.
statistics[]The custom raster stretch statistics.
stretchTypeThe stretch types for stretch raster function.
Valid values: histogramEqualization, minMax, none, percentClip, sigmoid, standardDeviation
typeSpecifies the type of renderer used.
Valid value of this property rasterStretch
useGammaIndicates if the renderer applies Gamma stretch.

Additional information

For each stretchType there are specific sets of requirements that are as follows:
none: does not require other parameters.
standardDeviation: requires numberOfStandardDeviations, statistics, or dra.
histogramEqualization: requires the source dataset to have histograms or additional dra.
minMax: requires statistics or dra.
percentClip: requires minPercent, maxPercent, and dra.
sigmoid: does not require other parameters. Optionally, set the sigmoidStrengthLevel (1 to 6) to adjust the curvature of Sigmoid curve used in color stretch.

Example

{
"type": "rasterStretch",
"statistics": [
[
22.5,
10.5,
15,
1
]
]
}