org.geotools.data.postgis.referencing
Class PostgisAuthorityFactory

Object
  extended by JDBCAuthorityFactory
      extended by 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:

Field Summary
 
Fields inherited from class JDBCAuthorityFactory
dataSource, factory
 
Constructor Summary
PostgisAuthorityFactory(DataSource pool)
          Construct PostgisAuthorityFactory.
 
Method Summary
 CoordinateReferenceSystem createCRS(int srid)
           
protected  CoordinateReferenceSystem createFromAuthority(String authName, int srid)
           
protected  CoordinateReferenceSystem createFromWKT(ResultSet result)
           
 
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
 

Constructor Detail

PostgisAuthorityFactory

public PostgisAuthorityFactory(DataSource pool)
Construct PostgisAuthorityFactory.

Parameters:
pool -
Method Detail

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-2009 Geotools. All Rights Reserved.