org.geotools.demo.referencing
Class TransformationConsole
java.lang.Object
org.geotools.demo.referencing.TransformationConsole
public class TransformationConsole
- extends java.lang.Object
An example of application reading points from the standard input, transforming
them and writting the result to the standard output. This class can be run from
the command-line using the following syntax:
java TransformationConsole [classification]
Where [classification] is the the classification name of the projection to perform.
The default value is "Mercator_1SP". The list of supported classification name is
available here:
http://docs.codehaus.org/display/GEOTOOLS/Coordinate+Transformation+Parameters
To exit from the application, enter "exit".
- Version:
- $Id: TransformationConsole.java 34132 2009-10-12 07:45:46Z mbedward $
- Author:
- Martin Desruisseaux
Method Summary |
static void |
main(java.lang.String[] args)
The program main entry point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformationConsole
public TransformationConsole()
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
org.opengis.referencing.FactoryException,
org.opengis.referencing.operation.TransformException
- The program main entry point.
- Parameters:
args
- Array of command-line arguments. This small demo accept only
one argument: the classification name of the projection to
perform.
- Throws:
java.io.IOException
- if an error occured while reading the input stream.
org.opengis.referencing.FactoryException
- if a coordinate system can't be constructed.
org.opengis.referencing.operation.TransformException
- if a transform failed.
Copyright © 1996-2010 Geotools. All Rights Reserved.