net.simplace.processors.RasterCalculatorProcessor

Version: 1.0

This processor performs an (arithmetical) rule on every cell of a raster. For this purpose, references to corresponding cells of other rasters can be used (see de.schmitzm.geotools.data.RasterCalculator for details).
Required input parameters: Currently at least one existing grid is required in RasterList, also if it is not referenced in rule. It is needed as template (Size, geo-reference, ...) for the result grid. In the future it will be possible to indicate these grid characteristics also by in-channel.


public class RasterCalculatorProcessor extends
net.simplace.util.pipeline.FWProcessor {
// Public Constructors
public RasterCalculatorProcessor();

// Constants
public static final String RULE_KEY;
public static final String RESULTSTYLE_KEY;
public static final String RESULTKEY_KEY;
public static final String RESULTTYPE_KEY;
public static final String RESULTKEY_VALUE_DEFAULT;
// Protected Instance Variables
protected String iRule;
protected String iResultParamKey;
protected String iResultType;
protected String iResultStyleKey;

// Public Instance Methods
public boolean checkInParameterMap(); // Defines
net.simplace.util.pipeline.FWProcessor


Checks whether the in-channel contains all required parameters.

// Protected Instance Methods
protected void resetInternalVariables();

Resets all internal variables to null.
protected boolean process() throws PipeLineException; // Defines
net.simplace.util.pipeline.FWProcessor


Calculated the arithmetical rule specified by the in-channel parameters. First all in-channel parameters are checked.
returns ever {@code true}
protected ReadableGrid getReadableGridInParameter(String aKey)
throws PipeLineException;

Reads an object from the input parameter map and converts it to a de.schmitzm.geotools.data.ReadableGrid (if necessary)
returns an object from the input parameter map converted into a {@link ReadableGrid}
protected GridCoverage2D getGridCoverageInParameter(String aKey)
throws PipeLineException;

Reads an object from the input parameter map and converts it to a org.geotools.coverage.grid.GridCoverage2D (if necessary)
returns an object from the input parameter map converted into a {@link GridCoverage2D}
protected RasterFilter getRasterFilterInParameter(String aKey)
throws PipeLineException;

Reads an object from the input parameter map and converts it to a de.schmitzm.geotools.data.RasterFilter (if necessary)
returns an object from the input parameter map converted into a {@link RasterFilter}


}



Hierarchy: java.lang.Object - net.simplace.util.pipeline.FWProcessor - RasterCalculatorProcessor



Extended by: SubRasterCalculatorProcessor