org.geotools.referencing.operation |
package org.geotools.referencing.operation
{@linkplain org.geotools.referencing.operation.AbstractCoordinateOperation Coordinate operation} implementation.
An explanation for this package is provided in the {@linkplain org.opengis.referencing.operation OpenGIS® javadoc}.
The remaining discussion on this page is specific to the Geotools implementation.
How to know the available {@linkplain org.opengis.referencing.operation.MathTransform math transforms}
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.
|
Java Source File Name | Type | Comment |
AbstractCoordinateOperation.java | Class | Establishes an association between a source and a target coordinate reference system,
and provides a
for transforming coordinates in
the source CRS to coordinates in the target CRS. |
AbstractCoordinateOperationFactory.java | Class | Base class for coordinate operation factories. |
AuthorityBackedFactory.java | Class | A
extended with the extra
informations provided by an
.
Such authority factory may help to find transformation paths not available otherwise (often
determined from empirical parameters). |
BufferedCoordinateOperationFactory.java | Class | Caches the
created by an other factory.
Those coordinate operations may be expensive to create. |
CoordinateOperationFactoryTest.java | Class | Test the default coordinate operation factory.
NOTE: Some tests are disabled in the particular case when the
CoordinateOperationFactory is actually an
AuthorityBackedFactory instance. |
DefaultConcatenatedOperation.java | Class | An ordered sequence of two or more single coordinate operations. |
DefaultConicProjection.java | Class | Base class for conical map projections. |
DefaultConversion.java | Class | An operation on coordinates that does not include any change of Datum. |
DefaultCoordinateOperationFactory.java | Class | Creates
. |
DefaultCylindricalProjection.java | Class | Base class for cylindrical map projections. |
DefaultMathTransformFactory.java | Class | Low level factory for creating
.
Many high level GIS applications will never need to use this factory directly;
they can use a
instead. |
DefaultOperation.java | Class | A parameterized mathematical operation on coordinates that transforms or converts
coordinates to another coordinate reference system. |
DefaultOperationMethod.java | Class | Definition of an algorithm used to perform a coordinate operation. |
DefaultPassThroughOperation.java | Class | A pass-through operation specifies that a subset of a coordinate tuple is subject to a specific
coordinate operation. |
DefaultPlanarProjection.java | Class | Base class for for azimuthal (or planar) map projections. |
DefaultProjection.java | Class | A
transforming
(longitude,latitude) coordinates to cartesian coordinates
(x,y). |
DefaultSingleOperation.java | Class | A single (not
) coordinate operation. |
DefaultTransformation.java | Class | An operation on coordinates that usually includes a change of Datum. |
DefiningConversion.java | Class | A conversion used for the definition of a
(including projections). |
LinearConversionTest.java | Class | Tests some operation steps involved in coordinate operation creation. |
LinearTransform.java | Interface | Interface for linear
MathTransform s. |
MathTransformProvider.java | Class | An
capable to creates a
from set of
.
Implementations of this class should be listed in the following file:
META-INF/services/org.geotools.referencing.operation.MathTransformProvider
The
will parse this file in order
to gets all available providers on a system. |
ProjectionAnalyzer.java | Class | Returns a conversion from a source to target projected CRS, if this conversion
is representable as an affine transform. |
TestTransform.java | Class | Base class for transform test cases. |
Transform3DTest.java | Class | Tests of the
createProjectedCRS(...) setting up the CRS with a 3D cartesian output for
one test, and using a 2D + vertical CRS compound for the second test. |
TransformPathNotFoundException.java | Class | Thrown when a transformation can't be performed because no path from
to
has been found.
This exception usually wraps an
OperationNotFoundException thrown
by an
.
This exception is sometime used in order to collapse a
throws FactoryException, TransformException
clause (in method signature) into a single
throws TransformException
clause, i.e. |