Package org.geotools.referencing.factory.epsg

Authority factories for the EPSG database.

See:
          Description

Class Summary
AbstractEpsgFactory A coordinate reference system factory backed by the EPSG database tables.
AccessDataSource Deprecated. Replaced by FactoryOnAccess.
AccessDialectEpsgFactory This factory uses the MS-Access dialect of SQL.
AnsiDialectEpsgFactory An EPSG factory for the database generated by SQL scripts rather than the MS-Access one.
DefaultFactory Deprecated. Please use ThreadedEpsgFactory instead, the name DefaultFactory was viewed as confusing
DirectEpsgFactory A coordinate reference system factory backed by the EPSG database tables.
EsriExtension Extends the EPSG database with Coordinate Reference Systems defined by ESRI.
FactoryUsingAnsiSQL Deprecated. Please use AnsiDialectEpsgFactory.
FactoryUsingSQL Deprecated. Please use AccessDialectEpsgFactory.
FactoryUsingWKT Authority factory for Coordinate Reference Systems beyong the one defined in the EPSG database.
HsqlDialectEpsgMediator Mediator which delegates the creation of referencing objects to the HsqlDialectEpsgFactory.
HsqlEpsgDatabase This utility class knows everything there is to know about the care and feeding of our pet EPSG database.
LongitudeFirstEpsgDecorator An EPSG authority factory using (longitude, latitude) axis order.
LongitudeFirstFactory An EPSG authority factory using (longitude, latitude) axis order.
ThreadedAccessEpsgFactory Connection to the EPSG database in MS-Access format using JDBC-ODBC bridge.
ThreadedEpsgFactory Base class for EPSG factories to be registered in ReferencingFactoryFinder.
ThreadedHsqlEpsgFactory Connection to the EPSG database in HSQL database engine format using JDBC.
ThreadedPostgreSQLEpsgFactory Connection to the EPSG database in PostgreSQL database engine using JDBC.
UnnamedExtension Provides common Coordinate Reference Systems not found in the standard EPSG database.
 

Package org.geotools.referencing.factory.epsg Description

Authority factories for the EPSG database.

EPSG codes are numerical identifiers. For example "4326" is the EPSG identifier for the "WGS 84" geographic CRS. However, the default implementation accepts names as well as numeric identifiers. For example "NTF (Paris) / France I" and "27581" both fetchs the same object. Note that 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.

An EPSG authority factory is created using the following code:

CRSAuthorityFactory factory = ReferencingFactoryFinder.getCRSAuthorityFactory("EPSG", null);

This package provides the general framework for accessing an EPSG database, but the actual connection to a database requires the existence of an EPSG plugin in the classpath. Otherwise, a FactoryNotFoundException will be thrown. Available plugins are:

Required software Data source Plugin / JAR file Additional notes
MS-Access ODBC driver org.geotools.referencing.factory.epsg.FactoryOnAccess epsg-access See installation instructions
HSQL embedded database org.geotools.referencing.factory.epsg.FactoryOnHSQL epsg-hsql Note for module mainteners
PostgreSQL database org.geotools.referencing.factory.epsg.FactoryOnPostgreSQL epsg-postgresql Note for module mainteners



Copyright © 1996-2009 Geotools. All Rights Reserved.