Skip navigation links

Package org.geotools.referencing.operation

Coordinate operation implementation.

See: Description

Package org.geotools.referencing.operation Description

Coordinate operation implementation. An explanation for this package is provided in the OpenGIS® javadoc. The remaining discussion on this page is specific to the Geotools implementation.

How to know the available math transforms

The math transform factory search for all math transforms in the class path, not just Geotools implementations. To be found, math transforms must be registered as services in its JAR file, more specifically in the following JAR entry:

META-INF/services/org.geotools.referencing.operation.MathTransformProvider

DefaultMathTransformFactory can be run from the command line in order to gets the list of all registered math transform, as in the example below:

java org.geotools.referencing.operation.DefaultMathTransformFactory

This will print a table with the name of all math transforms. If a name from this list is specified as a command-line argument, then the parameters expected by the nammed math transform will be listed. The example below prints the arguments expected by the "Mercator 1SP" map projection:

java org.geotools.referencing.operation.DefaultMathTransformFactory Mercator_1SP

Note that instead of the "Mercator_1SP" argument, alias can be specified as well. For example, "EPSG:9804" or just "9804" will produce the same result than above.

Skip navigation links

Copyright © 1996–2019 Geotools. All rights reserved.