|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.coverage.processing.AbstractProcessor org.geotools.coverage.processing.DefaultProcessor org.geotools.coverage.processing.AbstractGridCoverageProcessor
AbstractProcessor
, which is more general. There is no GeoAPI
interface right now for , but the
interface is not ready anyway. GeoAPI's Coverage interfaces are work in progress and not
yet aligned on ISO 19123.
Base class for grid coverage processor implementations. Processors allow for different ways of accessing the grid coverage values. Using one of these operations to change the way the grid is being accessed will not affect the state of the grid coverage controlled by another operations. For example, changing the interpolation method should not affect the number of sample dimensions currently being accessed or value sequence.
This base class provides a default implementation for all methods except
doOperation(Operation, ParameterValueGroup)
.
Field Summary |
Fields inherited from class org.geotools.coverage.processing.AbstractProcessor |
LOGGER, OPERATION |
Constructor Summary | |
AbstractGridCoverageProcessor()
Deprecated. Constructs a grid coverage processor. |
|
AbstractGridCoverageProcessor(javax.media.jai.PropertySource source,
java.util.Map properties)
Deprecated. This constructor ignores the properties. |
Method Summary | |
org.opengis.coverage.processing.GridAnalysis |
analyze(org.opengis.coverage.grid.GridCoverage gridCoverage)
Deprecated. This method is not yet implemented, and may not be there in a future release of GeoAPI interfaces. |
org.opengis.coverage.grid.GridCoverage |
doOperation(org.opengis.coverage.processing.Operation operation,
org.opengis.parameter.ParameterValueGroup parameters)
Deprecated. Replaced by DefaultProcessor.doOperation(ParameterValueGroup) . |
org.opengis.coverage.grid.GridCoverage |
doOperation(java.lang.String operationName,
org.opengis.parameter.GeneralParameterValue[] parameters)
Deprecated. Use doOperation(Operation, ParameterValueGroup) instead. |
org.opengis.coverage.grid.GridCoverage |
doOperation(java.lang.String operationName,
org.opengis.coverage.grid.GridCoverage source)
Deprecated. Convenience method applying a process operation with default parameters. |
org.opengis.coverage.grid.GridCoverage |
doOperation(java.lang.String operationName,
org.opengis.coverage.grid.GridCoverage source,
java.lang.String argumentName1,
java.lang.Object argumentValue1)
Deprecated. Convenience method applying a process operation with one parameter. |
org.opengis.coverage.grid.GridCoverage |
doOperation(java.lang.String operationName,
org.opengis.coverage.grid.GridCoverage source,
java.lang.String argumentName1,
java.lang.Object argumentValue1,
java.lang.String argumentName2,
java.lang.Object argumentValue2)
Deprecated. Convenience method applying a process operation with two parameters. |
org.opengis.coverage.grid.GridCoverage |
doOperation(java.lang.String operationName,
org.opengis.coverage.grid.GridCoverage source,
java.lang.String argumentName1,
java.lang.Object argumentValue1,
java.lang.String argumentName2,
java.lang.Object argumentValue2,
java.lang.String argumentName3,
java.lang.Object argumentValue3)
Deprecated. Convenience method applying a process operation with three parameters. |
java.lang.String[] |
getMetadataNames()
Deprecated. This class do not stores any properties. |
java.lang.String |
getMetadataValue(java.lang.String name)
Deprecated. This class do not stores any properties. |
int |
getNumOperations()
Deprecated. Returns the number of operations supported by this grid coverage processor. |
org.opengis.coverage.processing.Operation |
getOperation(int index)
Deprecated. Retrieve a grid processing operation information. |
Methods inherited from class org.geotools.coverage.processing.DefaultProcessor |
addOperation, doOperation, getOperation, getOperations, getRenderingHint, scanForPlugins |
Methods inherited from class org.geotools.coverage.processing.AbstractProcessor |
getInstance, getLocale, listOperations, main, printOperations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.coverage.processing.GridCoverageProcessor |
getOperations |
Constructor Detail |
public AbstractGridCoverageProcessor()
public AbstractGridCoverageProcessor(javax.media.jai.PropertySource source, java.util.Map properties)
source
- The source for this processor, or if none.properties
- The set of properties for this processor, or if there is none.Method Detail |
public int getNumOperations()
getNumOperations
in interface org.opengis.coverage.processing.GridCoverageProcessor
public org.opengis.coverage.processing.Operation getOperation(int index) throws java.lang.IndexOutOfBoundsException
getOperation
in interface org.opengis.coverage.processing.GridCoverageProcessor
index
- Index of the operation.
java.lang.IndexOutOfBoundsException
- if the specified index is out of bounds.public org.opengis.coverage.grid.GridCoverage doOperation(java.lang.String operationName, org.opengis.coverage.grid.GridCoverage source) throws org.opengis.coverage.processing.OperationNotFoundException
operationName
- Name of the operation to be applied to the grid coverage..source
- The source grid coverage.
org.opengis.coverage.processing.OperationNotFoundException
- if there is no operation named .doOperation(Operation,ParameterValueGroup)
public org.opengis.coverage.grid.GridCoverage doOperation(java.lang.String operationName, org.opengis.coverage.grid.GridCoverage source, java.lang.String argumentName1, java.lang.Object argumentValue1) throws org.opengis.coverage.processing.OperationNotFoundException, org.opengis.parameter.InvalidParameterNameException
operationName
- Name of the operation to be applied to the grid coverage..source
- The source grid coverage.argumentName1
- The name of the first parameter to set.argumentValue1
- The value for the first parameter.
org.opengis.coverage.processing.OperationNotFoundException
- if there is no operation named .
org.opengis.parameter.InvalidParameterNameException
- if there is no parameter with the specified name.doOperation(Operation,ParameterValueGroup)
public org.opengis.coverage.grid.GridCoverage doOperation(java.lang.String operationName, org.opengis.coverage.grid.GridCoverage source, java.lang.String argumentName1, java.lang.Object argumentValue1, java.lang.String argumentName2, java.lang.Object argumentValue2) throws org.opengis.coverage.processing.OperationNotFoundException, org.opengis.parameter.InvalidParameterNameException
operationName
- Name of the operation to be applied to the grid coverage..source
- The source grid coverage.argumentName1
- The name of the first parameter to set.argumentValue1
- The value for the first parameter.argumentName2
- The name of the second parameter to set.argumentValue2
- The value for the second parameter.
org.opengis.coverage.processing.OperationNotFoundException
- if there is no operation named .
org.opengis.parameter.InvalidParameterNameException
- if there is no parameter with the specified name.doOperation(Operation,ParameterValueGroup)
public org.opengis.coverage.grid.GridCoverage doOperation(java.lang.String operationName, org.opengis.coverage.grid.GridCoverage source, java.lang.String argumentName1, java.lang.Object argumentValue1, java.lang.String argumentName2, java.lang.Object argumentValue2, java.lang.String argumentName3, java.lang.Object argumentValue3) throws org.opengis.coverage.processing.OperationNotFoundException, org.opengis.parameter.InvalidParameterNameException
operationName
- Name of the operation to be applied to the grid coverage..source
- The source grid coverage.argumentName1
- The name of the first parameter to set.argumentValue1
- The value for the first parameter.argumentName2
- The name of the second parameter to set.argumentValue2
- The value for the second parameter.argumentName3
- The name of the third parameter to set.argumentValue3
- The value for the third parameter.
org.opengis.coverage.processing.OperationNotFoundException
- if there is no operation named .
org.opengis.parameter.InvalidParameterNameException
- if there is no parameter with the specified name.doOperation(Operation,ParameterValueGroup)
public org.opengis.coverage.grid.GridCoverage doOperation(java.lang.String operationName, org.opengis.parameter.GeneralParameterValue[] parameters)
doOperation(Operation, ParameterValueGroup)
instead.
doOperation
in interface org.opengis.coverage.processing.GridCoverageProcessor
public org.opengis.coverage.grid.GridCoverage doOperation(org.opengis.coverage.processing.Operation operation, org.opengis.parameter.ParameterValueGroup parameters)
DefaultProcessor.doOperation(ParameterValueGroup)
.
operation
- The operation to be applied.parameters
- Parameters required for the operation. The easiest way to construct them
is to invoke operation.getParameters
()
and to modify the returned group.
public org.opengis.coverage.processing.GridAnalysis analyze(org.opengis.coverage.grid.GridCoverage gridCoverage)
analyze
in interface org.opengis.coverage.processing.GridCoverageProcessor
public java.lang.String[] getMetadataNames()
getMetadataNames
in interface org.opengis.coverage.processing.GridCoverageProcessor
public java.lang.String getMetadataValue(java.lang.String name) throws org.opengis.coverage.MetadataNameNotFoundException
getMetadataValue
in interface org.opengis.coverage.processing.GridCoverageProcessor
name
- Metadata keyword for which to retrieve data.
org.opengis.coverage.MetadataNameNotFoundException
- if there is no value for the specified metadata name.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |