|
deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.tools.crs.CoordinateTransform
@Tool(value="Convert a point or a list of points from one SRS to another.") public class CoordinateTransform
The DemoCRSTransform is a sa(i)mple application for using deegree coordinate systems and their
transformations.
| Constructor Summary | |
|---|---|
CoordinateTransform(org.deegree.crs.CRS sourceCRS,
org.deegree.crs.CRS targetCRS)
Construct a demo crs with following coordinate systems. |
|
| Method Summary | |
|---|---|
void |
doTransform(double[] coordinate,
boolean withInverse)
This method transforms the given coordinate (in the sourceCRS) into a coordinate of the targetCRS and back. |
static void |
main(String[] args)
a starter method to transform a given point or a serie of points read from a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinateTransform(org.deegree.crs.CRS sourceCRS,
org.deegree.crs.CRS targetCRS)
sourceCRS - targetCRS - | Method Detail |
|---|
public void doTransform(double[] coordinate,
boolean withInverse)
throws IllegalArgumentException,
org.deegree.crs.exceptions.TransformationException,
org.deegree.crs.exceptions.UnknownCRSException
coordinate - to be transformed.withInverse - true if the inverse has to be calculated.
org.deegree.crs.exceptions.TransformationException
IllegalArgumentException
org.deegree.crs.exceptions.UnknownCRSException
public static void main(String[] args)
throws org.deegree.crs.exceptions.UnknownCRSException,
IOException
args -
org.deegree.crs.exceptions.UnknownCRSException
IOException - if the buffered reader could not read from the file
|
deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||