The {@linkplain org.geotools.referencing.operation.DefaultMathTransformFactory 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
{@link org.geotools.referencing.operation.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.