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:
can be run from the command line in order to gets the list of all registered math
transform, as in the example below:
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
alias can be specified as well. For example,
"EPSG:9804" or just
"9804" will produce the same result than above.
Interface Summary Interface Description LinearTransformInterface for linear
Class Summary Class Description AbstractCoordinateOperationEstablishes an association between a source and a target coordinate reference system, and provides a transform for transforming coordinates in the source CRS to coordinates in the target CRS. AbstractCoordinateOperationFactoryBase class for coordinate operation factories. AuthorityBackedFactoryA coordinate operation factory extended with the extra informations provided by an authority factory. BufferedCoordinateOperationFactoryCaches the coordinate operations created by an other factory. DefaultConcatenatedOperationAn ordered sequence of two or more single coordinate operations. DefaultConicProjectionBase class for conical map projections. DefaultConversionAn operation on coordinates that does not include any change of Datum. DefaultCoordinateOperationFactoryCreates coordinate operations. DefaultCylindricalProjectionBase class for cylindrical map projections. DefaultMathTransformFactoryLow level factory for creating math transforms. DefaultOperationA parameterized mathematical operation on coordinates that transforms or converts coordinates to another coordinate reference system. DefaultOperationMethodDefinition of an algorithm used to perform a coordinate operation. DefaultPassThroughOperationA pass-through operation specifies that a subset of a coordinate tuple is subject to a specific coordinate operation. DefaultPlanarProjectionBase class for for azimuthal (or planar) map projections. DefaultProjectionA conversion transforming (longitude,latitude) coordinates to cartesian coordinates (x,y). DefaultSingleOperationA single (not concatenated) coordinate operation. DefaultTransformationAn operation on coordinates that usually includes a change of Datum. DefiningConversionA conversion used for the definition of a derived CRS (including projections). MathTransformProviderAn operation method capable to creates a math transform from set of parameter values. MathTransformProvider.DelegateThe result of a call to
Exception Summary Exception Description TransformPathNotFoundExceptionThrown when a transformation can't be performed because no path from source CRS to target CRS has been found.