| org.geotools.coverage.grid.GridCoverage2D org.geotools.coverage.processing.operation.Resampler2D
Resampler2D | final class Resampler2D extends GridCoverage2D (Code) | | Implementation of the
Resample operation. This implementation is provided as a
separated class for two purpose: avoid loading this code before needed and provide some
way to check if a grid coverages is a result of a resample operation.
since: 2.2 version: $Id: Resampler2D.java 28130 2007-11-29 11:26:25Z afabiani $ author: Martin Desruisseaux |
reproject | public static GridCoverage2D reproject(GridCoverage2D sourceCoverage, CoordinateReferenceSystem targetCRS, GridGeometry2D targetGG, Interpolation interpolation, Hints hints) throws FactoryException, TransformException(Code) | | Creates a new coverage with a different coordinate reference reference system. If a
grid geometry is supplied, only its
and
transform are
taken in account.
Parameters: sourceCoverage - The source grid coverage. Parameters: targetCRS - Coordinate reference system for the new grid coverage, or null . Parameters: targetGG - The target grid geometry, or null for default. Parameters: interpolation - The interpolation to use. Parameters: hints - The rendering hints. This is usually provided byAbstractProcessor. This method will looks forHints.COORDINATE_OPERATION_FACTORY andHints.JAI_INSTANCE keys. The new grid coverage, or sourceCoverage if no resampling was needed. throws: FactoryException - if a transformation step can't be created. throws: TransformException - if a transformation failed. |
Methods inherited from org.geotools.coverage.grid.GridCoverage2D | protected GridCoverage2D createGeophysics(boolean geo)(Code)(Java Doc) public synchronized boolean dispose(boolean force)(Code)(Java Doc) public Object evaluate(DirectPosition point) throws CannotEvaluateException(Code)(Java Doc) public byte[] evaluate(DirectPosition coord, byte[] dest) throws CannotEvaluateException(Code)(Java Doc) public int[] evaluate(DirectPosition coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc) public float[] evaluate(DirectPosition coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc) public double[] evaluate(DirectPosition coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc) public int[] evaluate(Point2D coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc) public float[] evaluate(Point2D coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc) public double[] evaluate(Point2D coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc) public GridCoverage2D geophysics(boolean geo)(Code)(Java Doc) public CoordinateReferenceSystem getCoordinateReferenceSystem2D()(Code)(Java Doc) public synchronized String getDebugString(DirectPosition coord)(Code)(Java Doc) public Envelope getEnvelope()(Code)(Java Doc) public Envelope2D getEnvelope2D()(Code)(Java Doc) public GridGeometry getGridGeometry()(Code)(Java Doc) public Interpolation getInterpolation()(Code)(Java Doc) public int getNumSampleDimensions()(Code)(Java Doc) public int[] getOptimalDataBlockSizes()(Code)(Java Doc) public RenderableImage getRenderableImage(int xAxis, int yAxis)(Code)(Java Doc) public RenderedImage getRenderedImage()(Code)(Java Doc) public SampleDimension getSampleDimension(int index)(Code)(Java Doc) public GridSampleDimension[] getSampleDimensions()(Code)(Java Doc) public boolean isDataEditable()(Code)(Java Doc) public void prefetch(Rectangle2D area)(Code)(Java Doc) public void show(String title, int xAxis, int yAxis)(Code)(Java Doc) public void show(String title)(Code)(Java Doc)
|
|
|