Package org.geotools.referencing

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

This package provides implementations for general positioning, coordinate reference systems (CRS), and coordinate transformations. Coordinates can have any number of dimensions. So this implementation can handle 2D and 3D coordinates, as well as 4D, 5D, etc.

This package provides a special implementation of identifier, which is also a generic name. By implementing those two interfaces, it is possible to use the same kind of object for specifying both the main identifier and the aliases of an identified object.

All factory methods are capable to find an object using an unscoped (or local) name. However, in order to avoid potential conflict, it is recommanded to use scoped name when possible. For example even if both can work, prefer "EPSG:9624" instead of "9624" for the affine transform in order to avoid potential conflict with an other authority using the same code number.

Command-line tools

A set of command lines tools is provided for performing queries. The tools are implemented in the main method of some key classes. The tools are:

FactoryFinder  Lists registered factories found in the class path (not only Geotools implementations).
DefaultMathTransformFactory  Lists registered math transforms found in the class path.
CRS  Prints some informations about objects specified by their authority codes.
Console  A command-line tool for testing transformations.