|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.ct.GeoTransformer
class for transforming deegree geometries to new coordinate reference systems.
------------------------------------------------------------
Field Summary | |
private ConvenienceCSFactory |
csFactory
|
private CoordinateSystem |
targetCS
|
private CS_CoordinateSystem |
targetOGCCS
|
Constructor Summary | |
GeoTransformer(CoordinateSystem targetCS)
Creates a new GeoTransformer object. |
|
GeoTransformer(CS_CoordinateSystem targetCS)
Creates a new GeoTransformer object. |
|
GeoTransformer(java.lang.String targetCS)
Creates a new GeoTransformer object. |
Method Summary | |
CS_CoordinateSystem |
getTargetCS()
returns the target CRS of the GeoTransformer |
void |
setTargetCS(CoordinateSystem targetCS)
sets the target coordinate reference system of the Transformer |
void |
setTargetCS(CS_CoordinateSystem targetCS)
sets the target coordinate reference system of the Transformer |
GM_Object |
transform(GM_Object geo)
transforms the coodinates of a deegree geometry to the target coordinate reference system. |
private GM_Object |
transformCurve(GM_Curve geo,
MathTransform trans)
transforms the submitted curve to the target coordinate reference system |
GM_Envelope |
transformEnvelope(GM_Envelope envelope,
CoordinateSystem sourceCRS)
transfroms a GM_Envelope to the target crs of the GeoTransformer instance |
GM_Envelope |
transformEnvelope(GM_Envelope envelope,
CS_CoordinateSystem sourceCRS)
transfroms a GM_Envelope to the target crs of the GeoTransformer instance |
GM_Envelope |
transformEnvelope(GM_Envelope envelope,
java.lang.String sourceCRS)
transfroms a GM_Envelope to the target crs of the GeoTransformer instance |
private GM_Object |
transformMultiCurve(GM_MultiCurve geo,
MathTransform trans)
transforms the submitted multi curve to the target coordinate reference system |
private GM_Object |
transformMultiPoint(GM_MultiPoint geo,
MathTransform trans)
transforms the submitted multi point to the target coordinate reference system |
private GM_Object |
transformMultiSurface(GM_MultiSurface geo,
MathTransform trans)
transforms the submitted multi surface to the target coordinate reference system |
private GM_Object |
transformPoint(GM_Point geo,
MathTransform trans)
transforms the submitted point to the target coordinate reference system |
private GM_Position[] |
transformPositions(GM_Position[] pos,
MathTransform trans)
transfroms an array of GM_Positions to the target coordinate reference system |
private GM_Object |
transformSurface(GM_Surface geo,
MathTransform trans)
transforms the submitted surface to the target coordinate reference system |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private CS_CoordinateSystem targetOGCCS
private ConvenienceCSFactory csFactory
private CoordinateSystem targetCS
Constructor Detail |
public GeoTransformer(java.lang.String targetCS) throws java.lang.Exception
targetCS
-
java.lang.Exception
public GeoTransformer(CoordinateSystem targetCS) throws java.lang.Exception
targetCS
-
java.lang.Exception
public GeoTransformer(CS_CoordinateSystem targetCS) throws java.lang.Exception
targetCS
-
java.lang.Exception
Method Detail |
public void setTargetCS(CS_CoordinateSystem targetCS) throws java.lang.Exception
java.lang.Exception
public void setTargetCS(CoordinateSystem targetCS) throws java.lang.Exception
java.lang.Exception
public CS_CoordinateSystem getTargetCS()
public GM_Object transform(GM_Object geo) throws java.lang.Exception
java.lang.Exception
private GM_Object transformPoint(GM_Point geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Object transformCurve(GM_Curve geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Object transformSurface(GM_Surface geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Object transformMultiPoint(GM_MultiPoint geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Object transformMultiCurve(GM_MultiCurve geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Object transformMultiSurface(GM_MultiSurface geo, MathTransform trans) throws java.lang.Exception
java.lang.Exception
private GM_Position[] transformPositions(GM_Position[] pos, MathTransform trans) throws java.lang.Exception
java.lang.Exception
public GM_Envelope transformEnvelope(GM_Envelope envelope, java.lang.String sourceCRS) throws java.lang.Exception
envelope
- sourceCRS
- CRS of the envelope
java.lang.Exception
public GM_Envelope transformEnvelope(GM_Envelope envelope, CoordinateSystem sourceCRS) throws java.lang.Exception
envelope
- sourceCRS
- CRS of the envelope
java.lang.Exception
public GM_Envelope transformEnvelope(GM_Envelope envelope, CS_CoordinateSystem sourceCRS) throws java.lang.Exception
envelope
- sourceCRS
- CRS of the envelope
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |