org.geotools.coverage.operation
Class Resampler2D

java.lang.Object
  extended byorg.geotools.coverage.operation.Resampler2D

Deprecated. No public replacement.

public final class Resampler2D
extends java.lang.Object

Resample a grid coverage using a different grid geometry.

Since:
2.1
Version:
$Id: Resampler2D.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Nested Class Summary
static class Resampler2D.Operation
          Deprecated. Replaced by Resample.
 
Method Summary
static GridCoverage2D reproject(GridCoverage2D sourceCoverage, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, GridGeometry2D targetGG, javax.media.jai.Interpolation interpolation, Hints hints)
          Deprecated. Creates a new coverage with a different coordinate reference reference system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reproject

public static GridCoverage2D reproject(GridCoverage2D sourceCoverage,
                                       org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
                                       GridGeometry2D targetGG,
                                       javax.media.jai.Interpolation interpolation,
                                       Hints hints)
                                throws org.opengis.referencing.FactoryException,
                                       org.opengis.referencing.operation.TransformException
Deprecated. 
Creates a new coverage with a different coordinate reference reference system.

Parameters:
sourceCoverage - The source grid coverage.
targetCRS - Coordinate reference system for the new grid coverage, or .
targetGG - The target grid geometry, or for default.
interpolation - The interpolation to use.
hints - The rendering hints. This is usually provided by GridCoverageProcessor2D. This method will looks for Hints.COORDINATE_OPERATION_FACTORY and Hints.JAI_INSTANCE keys.
Returns:
The new grid coverage, or if no resampling was needed.
Throws:
org.opengis.referencing.FactoryException - is a transformation step can't be created.
org.opengis.referencing.operation.TransformException - if a transformation failed.


Copyright © GeoTools. All Rights Reserved.