org.geotools.data.postgis.referencing
Class PostgisAuthorityFactory
Object
JDBCAuthorityFactory
PostgisAuthorityFactory
- All Implemented Interfaces:
- AuthorityFactory, CRSAuthorityFactory, Factory
public class PostgisAuthorityFactory
- extends JDBCAuthorityFactory
Access CRS informationj from the PostGIS SPATIAL_REF_SYS table.
- Author:
- Jesse Eichar
- Module:
modules/plugin/postgis (gt-postgis.jar)
Methods inherited from class JDBCAuthorityFactory |
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createObject, createProjectedCRS, createTemporalCRS, createVerticalCRS, getAuthority, getAuthorityCodes, getDescriptionText, getObjectFactory, getVendor |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostgisAuthorityFactory
public PostgisAuthorityFactory(DataSource pool)
- Construct
PostgisAuthorityFactory
.
- Parameters:
pool
-
createCRS
public CoordinateReferenceSystem createCRS(int srid)
throws FactoryException,
IOException
- Throws:
FactoryException
IOException
createFromWKT
protected CoordinateReferenceSystem createFromWKT(ResultSet result)
throws DataSourceException,
FactoryException
- Throws:
DataSourceException
FactoryException
createFromAuthority
protected CoordinateReferenceSystem createFromAuthority(String authName,
int srid)
throws DataSourceException,
FactoryException
- Throws:
DataSourceException
FactoryException
Copyright © 1996-2010 Geotools. All Rights Reserved.