|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.cv.Adapters org.geotools.gc.Adapters
Provide methods for interoperability with OpenGIS GC package.
All methods accept null argument. This class has no default instance, since the
org.geotools.gp.Adapters
implementation cover this case.
Adapters.getDefault()
Field Summary |
Fields inherited from class org.geotools.cv.Adapters |
CTS |
Constructor Summary | |
protected |
Adapters(Adapters CTS)
Deprecated. Default constructor. |
Method Summary | |
protected org.opengis.cv.CV_Coverage |
doExport(Coverage coverage)
Deprecated. Performs the wrapping of a Geotools object. |
protected Coverage |
doWrap(org.opengis.cv.CV_Coverage coverage)
Deprecated. Performs the wrapping of an OpenGIS's interface. |
org.opengis.gc.GC_GridCoverage |
export(GridCoverage coverage)
Deprecated. Returns an OpenGIS interface for a grid coverage. |
org.opengis.gc.GC_GridGeometry |
export(GridGeometry geometry)
Deprecated. Returns an OpenGIS interface for a grid geometry. |
org.opengis.gc.GC_GridRange |
export(GridRange range)
Deprecated. Returns an OpenGIS interface for a grid range. |
GridCoverage |
wrap(org.opengis.gc.GC_GridCoverage coverage)
Deprecated. Returns a grid coverage from an OpenGIS's interface. |
GridGeometry |
wrap(org.opengis.gc.GC_GridGeometry geometry)
Deprecated. Returns a grid geometry from an OpenGIS's interface. |
GridRange |
wrap(org.opengis.gc.GC_GridRange range)
Deprecated. Returns a grid range from an OpenGIS's interface. |
Methods inherited from class org.geotools.cv.Adapters |
export, export, export, export, getPropertySource, wrap, wrap, wrap, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Adapters(Adapters CTS)
Adapters
can
be obtained with Adapters.getDefault()
.
CTS
- The adapters from Coordinate Transformation Services
(package org.geotools.ct
).Method Detail |
public org.opengis.gc.GC_GridRange export(GridRange range)
range
- The Geotools object.
public org.opengis.gc.GC_GridGeometry export(GridGeometry geometry)
geometry
- The Geotools object.
public org.opengis.gc.GC_GridCoverage export(GridCoverage coverage) throws java.rmi.RemoteException
coverage
- The Geotools object.
java.rmi.RemoteException
- if the OpenGIS object can't be exported.protected org.opengis.cv.CV_Coverage doExport(Coverage coverage) throws java.rmi.RemoteException
Adapters.export(Coverage)
and export(GridCoverage)
if an
OpenGIS object is not already presents in the cache.
doExport
in class Adapters
coverage
- The Geotools object.
java.rmi.RemoteException
- if the OpenGIS object can't be exported.public GridRange wrap(org.opengis.gc.GC_GridRange range) throws java.rmi.RemoteException
range
- The OpenGIS object.
java.rmi.RemoteException
- if an operation failed while querying the OpenGIS object.public GridGeometry wrap(org.opengis.gc.GC_GridGeometry geometry) throws java.rmi.RemoteException
geometry
- The OpenGIS object.
java.rmi.RemoteException
- if an operation failed while querying the OpenGIS object.public GridCoverage wrap(org.opengis.gc.GC_GridCoverage coverage) throws java.rmi.RemoteException
coverage
- The OpenGIS object.
java.rmi.RemoteException
- if an operation failed while querying the OpenGIS object.protected Coverage doWrap(org.opengis.cv.CV_Coverage coverage) throws java.rmi.RemoteException
Adapters.wrap(CV_Coverage)
and wrap(GC_GridCoverage)
if a Geotools
object is not already presents in the cache.
doWrap
in class Adapters
coverage
- The OpenGIS object.
java.rmi.RemoteException
- if an operation failed while querying the OpenGIS object.GridCoverage.Remote.getInterpolation()
and invoke
GridCoverageProcessor.doOperation("Interpolate", ...), but
the later would introduce a dependency to the "gp" package. The current
design is to override this method in org.geotools.gp.Adapters
., TODO: Implement a RenderedImage
constructing tiles uppon request
by invoking GC_GridCoverage.getPackedDataBlock(org.opengis.gc.GC_GridRange)
. It would be
used when a SerializableRenderedImage
is not available., TODO: Localize the error message in the catch (IOException)
block.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |