public class ShadedRelief extends OperationJAI
Creates a hillshade effect on a grid containing altitude measures.
Name: "ShadedRelief"
JAI operator: "ShadedRelief"
Parameters:
| Name | Class | Default value | Allowed values | Property name |
|---|---|---|---|---|
"Source" |
GridCoverage2D |
N/A | ||
"roi" |
javax.media.jai.ROI |
N/A | ||
"srcNoData" |
it.geosolutions.jaiext.range.Range |
|||
"dstNoData" |
double |
0.0 | ||
"resX" |
double |
1.0 | ||
"resY" |
double |
1.0 | ||
"zetaFactor" |
double |
1.0 | ||
"scale" |
double |
1.0 | ||
"altitude" |
double |
1.0 | JAI-EXT.shadedrelief.altitude | |
"azimuth" |
double |
1.0 | JAI-EXT.shadedrelief.azimuth | |
"algorithm" |
it.geosolutions.jaiext.shadedrelief.ShadedReliefAlgorithm |
COMBINED | ZEVENBERGEN_THORNE, ZEVENBERGEN_THORNE_COMBINED, COMBINED | JAI-EXT.shadedrelief.algorithm |
OperationJAI.Parameters| Modifier and Type | Field and Description |
|---|---|
static String[] |
CUSTOMIZABLE_PARAMS |
static String |
PARAM_ALGORITHM |
static String |
PARAM_ALTITUDE |
static String |
PARAM_AZIMUTH |
static String |
PARAM_DSTNODATA |
static String |
PARAM_RESX |
static String |
PARAM_RESY |
static String |
PARAM_ROI |
static String |
PARAM_SCALE |
static String |
PARAM_SRCNODATA |
static String |
PARAM_ZETA |
static String |
STATS_PROPERTY
ShadedRelief property name
|
operation, RENDERED_MODEPRIMARY_SOURCE_INDEX, SOURCE_0descriptor| Constructor and Description |
|---|
ShadedRelief() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the processing operation.
|
protected Map<String,?> |
getProperties(RenderedImage data,
CoordinateReferenceSystem crs,
InternationalString name,
MathTransform gridToCRS,
GridCoverage2D[] sources,
OperationJAI.Parameters parameters)
Prepares the properties to be given to the coverage created by the
deriveGridCoverage method. |
protected void |
handleJAIEXTParams(ParameterBlockJAI jaiParams,
ParameterValueGroup params)
Extension point for adding to the JAI
ParameterBlockJAI object the parameters defined
in the ParameterValueGroup, which can be read by the JAI-EXT operations. |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, extractSources, getJAI, getOperationDescriptor, getQuantitative, handleROINoDataInternal, handleROINoDataProperties, hashCode, prepareParameters, resampleToCommonGeometryextractSources, getFactorygetDescription, getDocURL, getNumSources, getParameters, getVendor, getVersion, toStringpublic static final String STATS_PROPERTY
public static final String PARAM_ROI
public static final String PARAM_SRCNODATA
public static final String PARAM_DSTNODATA
public static final String PARAM_RESX
public static final String PARAM_RESY
public static final String PARAM_ZETA
public static final String PARAM_SCALE
public static final String PARAM_ALTITUDE
public static final String PARAM_AZIMUTH
public static final String PARAM_ALGORITHM
public static final String[] CUSTOMIZABLE_PARAMS
public ShadedRelief()
throws OperationNotFoundException
OperationNotFoundExceptionpublic String getName()
AbstractOperationgetName in interface OperationgetName in class AbstractOperationprotected void handleJAIEXTParams(ParameterBlockJAI jaiParams,
ParameterValueGroup params)
OperationJAIParameterBlockJAI object the parameters defined
in the ParameterValueGroup, which can be read by the JAI-EXT operations.
Notice that if you are using JAI, the new parameters will not be accepted by the ParameterBlockJAI instance.
handleJAIEXTParams in class OperationJAIjaiParams - ParameterBlockJAI instance used by the current JAI-EXT/JAI
operationparams - ParameterValueGroup instance containing input operation parametersprotected Map<String,?> getProperties(RenderedImage data, CoordinateReferenceSystem crs, InternationalString name, MathTransform gridToCRS, GridCoverage2D[] sources, OperationJAI.Parameters parameters)
OperationJAIderiveGridCoverage method. The default implementation returns null.getProperties in class OperationJAIdata - The RenderedImage created by this operation.crs - The coordinate reference system assigned to the coverage this OperationJAI
will produce.name - The name assigned to the coverage this OperationJAI will produce.gridToCRS - The transform from grid to crs to be
assigned to the coverage this OperationJAI will produce.sources - The sources to be assigned to the coverage this OperationJAI will
produce.parameters - The parameters that were used by this OperationJAI.Map with the properties generated by this OperationJAI or null if
we haven't any.Copyright © 1996–2019 Geotools. All rights reserved.