|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transforms geometry between spatial reference systems.
A transform has a source spatial reference system (SRS) and a target spatial reference system (SRS).
A transform is created by the SRManager and transfroms geometries from a source spatial reference system to a target spatial reference system.
Method Summary | |
SpatialReference |
getSourceSRS()
Returns the source spatial reference system of this transform. |
SpatialReference |
getTargetSRS()
Returns the target spatial reference system of this transform. |
boolean |
transform(double[] src,
double[] dst)
Transforms a pair of ordinates from source to target spatial reference system. |
Geometry |
transform(Geometry input)
Transforms input geometry to the target spatial reference system (SRS). |
Method Detail |
public SpatialReference getSourceSRS()
public SpatialReference getTargetSRS()
public Geometry transform(Geometry input) throws SRException
target
SRSpublic boolean transform(double[] src, double[] dst)
src
- pair of source ordinates ([x,y] or [lon, lat])dst
- pair of destination ordinates
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |