deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.crs
Interface IGeoTransformer

All Known Implementing Classes:
GeoTransformer

public interface IGeoTransformer

Since:
2.0
Version:
$Revision: 7744 $, 1.0. $Revision: 7744 $, $Date: 2007-07-10 13:18:16 +0200 (Di, 10 Jul 2007) $
Author:
Andreas Poth, last edited by: $Author: jwanhoff $

Method Summary
 GridCoverage transform(AbstractGridCoverage coverage, int refPointsGridSize, int degree, javax.media.jai.Interpolation interpolation)
          transforms a GridCoverage into another coordinate reference system.
 Envelope transform(Envelope envelope, CoordinateSystem sourceCRS)
          transfroms a Envelope to the target crs of the GeoTransformer instance
 Envelope transform(Envelope envelope, String sourceCRS)
          transfroms a Envelope to the target crs of the GeoTransformer instance
 Feature transform(Feature feature)
          transforms all geometries contained within the passed
 FeatureCollection transform(FeatureCollection fc)
          transforms all geometries contained within the passed
 Geometry transform(Geometry geo)
          transforms the coodinates of a deegree geometry to the target coordinate reference system.
 

Method Detail

transform

Geometry transform(Geometry geo)
                   throws CRSTransformationException,
                          CRSException
transforms the coodinates of a deegree geometry to the target coordinate reference system.

Throws:
CRSTransformationException
CRSException

transform

Envelope transform(Envelope envelope,
                   String sourceCRS)
                   throws CRSTransformationException,
                          CRSException
transfroms a Envelope to the target crs of the GeoTransformer instance

Parameters:
envelope -
sourceCRS - CRS of the envelope
Returns:
Throws:
CRSTransformationException
CRSException

transform

Envelope transform(Envelope envelope,
                   CoordinateSystem sourceCRS)
                   throws CRSTransformationException,
                          CRSException
transfroms a Envelope to the target crs of the GeoTransformer instance

Parameters:
envelope -
sourceCRS - CRS of the envelope
Returns:
Throws:
CRSTransformationException
CRSException

transform

FeatureCollection transform(FeatureCollection fc)
                            throws CRSTransformationException,
                                   CRSException,
                                   GeometryException
transforms all geometries contained within the passed

Parameters:
fc -
Returns:
the transformed geometries in the Featurecollection
Throws:
GeometryException
CRSTransformationException
CRSException
See Also:
into the target CRS of a GeoTransformer instance

transform

Feature transform(Feature feature)
                  throws CRSTransformationException,
                         CRSException,
                         GeometryException
transforms all geometries contained within the passed

Parameters:
feature -
Returns:
the transformed geometries in the given Feauture.
Throws:
GeometryException
CRSTransformationException
CRSException
See Also:
into the target CRS of a GeoTransformer instance

transform

GridCoverage transform(AbstractGridCoverage coverage,
                       int refPointsGridSize,
                       int degree,
                       javax.media.jai.Interpolation interpolation)
                       throws CRSTransformationException,
                              CRSException
transforms a GridCoverage into another coordinate reference system.

Parameters:
coverage - grid coverage to transform
refPointsGridSize - size of the grid used to calculate polynoms coefficients. E.g. 2 -≶ 4 points, 3 -≶ 9 points ...
Must be ≶= 2. Accuracy of coefficients increase with size of the grid. Speed decreases with size of the grid.
degree - The degree of the polynomial is supplied as an argument.
interpolation - interpolation method for warping the passed coverage. Can be null. In this case 'Nearest Neighbor' will be used as default
Returns:
Throws:
CRSTransformationException
CRSException

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net