public class JiffleProcess extends Object implements RasterProcess
Modifier and Type | Field and Description |
---|---|
static String |
IN_COVERAGE |
static String |
IN_DEST_NAME |
static String |
IN_OUTPUT_TYPE |
static String |
IN_SCRIPT |
static String |
IN_SOURCE_NAME |
static String |
OUT_RESULT |
static String |
OUTPUT_BAND_COUNT |
static String |
OUTPUT_BAND_NAMES |
static String |
TX_BANDS |
Constructor and Description |
---|
JiffleProcess() |
Modifier and Type | Method and Description |
---|---|
GeneralParameterValue[] |
customizeReadParams(String script,
String destName,
String[] sourceNames,
int[] usedBands,
GridCoverageReader reader,
GeneralParameterValue[] params)
This is called by the renderer to optimize the read, if possible, we'll customize the band
reading so that we read only what we know will be used by the script.
|
GridCoverage2D |
execute(GridCoverage2D[] coverages,
String script,
String destName,
String[] sourceNames,
Range.DataType dataType,
Integer outputBandCount,
String outputBandNames,
ProgressListener progressListener)
Executes a Jiffle raster algebra.
|
public static final String IN_COVERAGE
public static final String IN_SCRIPT
public static final String IN_DEST_NAME
public static final String IN_SOURCE_NAME
public static final String IN_OUTPUT_TYPE
public static final String OUTPUT_BAND_COUNT
public static final String OUTPUT_BAND_NAMES
public static final String OUT_RESULT
public static final String TX_BANDS
public GridCoverage2D execute(GridCoverage2D[] coverages, String script, String destName, String[] sourceNames, Range.DataType dataType, Integer outputBandCount, String outputBandNames, ProgressListener progressListener) throws ProcessException, JiffleException
DescribeParameter
annotations for a
description of the various argumentsProcessException
JiffleException
public GeneralParameterValue[] customizeReadParams(String script, String destName, String[] sourceNames, int[] usedBands, GridCoverageReader reader, GeneralParameterValue[] params)
Copyright © 1996–2023 Geotools. All rights reserved.