|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.model.crs.GeoTransformer
public class GeoTransformer
class for transforming deegree geometries to new coordinate reference systems.
------------------------------------------------------------
Constructor Summary | |
---|---|
GeoTransformer(CoordinateSystem targetCRS)
Creates a new GeoTransformer object. |
|
GeoTransformer(CoordinateSystem targetCRS,
String csAccess)
Creates a new GeoTransformer object. |
|
GeoTransformer(String targetCS)
Creates a new GeoTransformer object. |
|
GeoTransformer(String targetCS,
String csAccess)
Creates a new GeoTransformer object. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoTransformer(String targetCS) throws CRSException
targetCS
-
CRSException
public GeoTransformer(CoordinateSystem targetCRS) throws CRSException
targetCRS
-
CRSException
public GeoTransformer(String targetCS, String csAccess) throws CRSException
targetCS
-
CRSException
public GeoTransformer(CoordinateSystem targetCRS, String csAccess) throws CRSException
targetCRS
-
CRSException
Method Detail |
---|
public Geometry transform(Geometry geo) throws CRSTransformationException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
CRSTransformationException
CRSException
public Envelope transform(Envelope envelope, String sourceCRS) throws CRSTransformationException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
sourceCRS
- CRS of the envelope
CRSTransformationException
CRSException
public Envelope transform(Envelope envelope, CoordinateSystem sourceCRS) throws CRSTransformationException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
sourceCRS
- CRS of the envelope
CRSTransformationException
CRSException
public FeatureCollection transform(FeatureCollection fc) throws CRSTransformationException, GeometryException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
CRSTransformationException
GeometryException
CRSException
into the target CRS of a GeoTransformer instance
public Feature transform(Feature feature) throws CRSTransformationException, GeometryException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
CRSTransformationException
GeometryException
CRSException
into the target CRS of a GeoTransformer instance
public GridCoverage transform(AbstractGridCoverage coverage, int refPointsGridSize, int degree, javax.media.jai.Interpolation interpolation) throws CRSTransformationException, CRSException
IGeoTransformer
transform
in interface IGeoTransformer
coverage
- grid coverage to transformrefPointsGridSize
- size of the grid used to calculate polynoms coefficients. E.g. 2 -≶ 4 points, 3
-≶ 9 points ...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
CRSTransformationException
CRSException
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net