Class DirectEpsgFactory

All Implemented Interfaces:
AuthorityFactory, CRSAuthorityFactory, CSAuthorityFactory, DatumAuthorityFactory, Factory, CoordinateOperationAuthorityFactory, Factory, RegistrableFactory
Direct Known Subclasses:
FactoryUsingSQL

A coordinate reference system factory backed by the EPSG database tables.

The EPSG database is freely available at http://www.epsg.org. Current version of this class requires EPSG database version 6.6 or above.

This factory doesn't cache any result. Any call to a createFoo method will send a new query to the EPSG database. For caching, this factory should be wrapped in some buffered factory like ThreadedEpsgFactory.

This class is abstract - please see the subclasses for dialect specific implementations:

These factories accepts names as well as numerical identifiers. For example "NTF (Paris) / France I" and "27581" both fetchs the same object. However, names may be ambiguous since the same name may be used for more than one object. This is the case of "WGS 84" for example. If such an ambiguity is found, an exception will be thrown. If names are not wanted as a legal EPSG code, subclasses can override the isPrimaryKey(java.lang.String) method.
Since:
2.4
Author:
Yann Cézard, Martin Desruisseaux (IRD), Rueben Schulz, Matthias Basler, Andrea Aime