org.geotools.referencing.crs
Class AUTOCRSAuthorityFactory

java.lang.Object
  extended byorg.geotools.referencing.crs.AUTOCRSAuthorityFactory
All Implemented Interfaces:
org.opengis.referencing.AuthorityFactory, org.opengis.referencing.crs.CRSAuthorityFactory, org.opengis.referencing.Factory

Deprecated. Moved to AutoCRSFactory.

public class AUTOCRSAuthorityFactory
extends java.lang.Object
implements org.opengis.referencing.crs.CRSAuthorityFactory

Generate Automatic Projections (dynamic projections) based on code and location. Automatic Projections are defined in Annex E of OGC-01-068r3 (Web Map Service Implementation Specification).

The lon0/lat0 are provided by the SRS parameter of the map request (see Section 6.5.5.2 of OGC 01-068r3)

This is a first-attempt CoordinateSystemAuthority to me and is not up to the usual high standards of the rest of this package. Please aid in improving this class with bug reports etc...

Version:
$Id: AUTOCRSAuthorityFactory.java 17661 2006-01-18 07:55:11Z desruisseaux $
Author:
Jody Garnett, Rueben Schulz

Constructor Summary
AUTOCRSAuthorityFactory()
          Deprecated. Construct CRSAUTOFactory.
AUTOCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory)
          Deprecated. Construct a authority factory backed by the specified factory.
 
Method Summary
 org.opengis.referencing.crs.CompoundCRS createCompoundCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code)
          Deprecated.  
 org.opengis.referencing.crs.DerivedCRS createDerivedCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.GeographicCRS createGeographicCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.ImageCRS createImageCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.IdentifiedObject createObject(java.lang.String code)
          Deprecated.  
 org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(java.lang.String code)
          Deprecated.  
 org.opengis.referencing.crs.TemporalCRS createTemporalCRS(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.crs.VerticalCRS createVerticalCRS(java.lang.String str)
          Deprecated.  
 org.opengis.metadata.citation.Citation getAuthority()
          Deprecated.  
 java.util.Set getAuthorityCodes(java.lang.Class clazz)
          Deprecated. Provide a complete set of the known codes provided by this authority.
static org.opengis.referencing.crs.CRSAuthorityFactory getDefault()
          Deprecated. Returns a default coordinate system factory backed by the EPSG property file.
 org.opengis.util.InternationalString getDescriptionText(java.lang.String str)
          Deprecated.  
 org.opengis.referencing.ObjectFactory getObjectFactory()
          Deprecated. This method was required by old GeoAPI interfaces, but is not required anymore.
 org.opengis.metadata.citation.Citation getVendor()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AUTOCRSAuthorityFactory

public AUTOCRSAuthorityFactory()
Deprecated. 
Construct CRSAUTOFactory.


AUTOCRSAuthorityFactory

public AUTOCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory)
Deprecated. 
Construct a authority factory backed by the specified factory.

Parameters:
factory - The underlying factory used for objects creation.
Method Detail

getDefault

public static org.opengis.referencing.crs.CRSAuthorityFactory getDefault()
Deprecated. 
Returns a default coordinate system factory backed by the EPSG property file.

Returns:
The default factory.

createCoordinateReferenceSystem

public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code)
                                                                                      throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createCoordinateReferenceSystem in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createObject

public org.opengis.referencing.IdentifiedObject createObject(java.lang.String code)
                                                      throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createObject in interface org.opengis.referencing.AuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createProjectedCRS

public org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(java.lang.String code)
                                                            throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createProjectedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

getAuthority

public org.opengis.metadata.citation.Citation getAuthority()
Deprecated. 
Specified by:
getAuthority in interface org.opengis.referencing.AuthorityFactory

getAuthorityCodes

public java.util.Set getAuthorityCodes(java.lang.Class clazz)
                                throws org.opengis.referencing.FactoryException
Deprecated. 
Provide a complete set of the known codes provided by this authority.

Note. this implementation should provide a leading "AUTO:" prefix, but the result provided does work with the EPSG assumption maintained by CRSService. The result may provide this prefix in the future.

Specified by:
getAuthorityCodes in interface org.opengis.referencing.AuthorityFactory
Returns:
Set of know codes.
Throws:
org.opengis.referencing.FactoryException

getObjectFactory

public org.opengis.referencing.ObjectFactory getObjectFactory()
Deprecated. This method was required by old GeoAPI interfaces, but is not required anymore.


getVendor

public org.opengis.metadata.citation.Citation getVendor()
Deprecated. 
Specified by:
getVendor in interface org.opengis.referencing.Factory

getDescriptionText

public org.opengis.util.InternationalString getDescriptionText(java.lang.String str)
                                                        throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
getDescriptionText in interface org.opengis.referencing.AuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createCompoundCRS

public org.opengis.referencing.crs.CompoundCRS createCompoundCRS(java.lang.String str)
                                                          throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createCompoundCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createDerivedCRS

public org.opengis.referencing.crs.DerivedCRS createDerivedCRS(java.lang.String str)
                                                        throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createDerivedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createEngineeringCRS

public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(java.lang.String str)
                                                                throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createEngineeringCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createGeocentricCRS

public org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(java.lang.String str)
                                                              throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createGeocentricCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createGeographicCRS

public org.opengis.referencing.crs.GeographicCRS createGeographicCRS(java.lang.String str)
                                                              throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createGeographicCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createImageCRS

public org.opengis.referencing.crs.ImageCRS createImageCRS(java.lang.String str)
                                                    throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createImageCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createTemporalCRS

public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(java.lang.String str)
                                                          throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createTemporalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException

createVerticalCRS

public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(java.lang.String str)
                                                          throws org.opengis.referencing.FactoryException
Deprecated. 
Specified by:
createVerticalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactory
Throws:
org.opengis.referencing.FactoryException


Copyright © GeoTools. All Rights Reserved.