|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractFactory
EPSGCRSAuthorityFactory
public class EPSGCRSAuthorityFactory
Default implementation for a coordinate reference system authority factory backed by the EPSG property file. This gives most of the benifits of using the EPSG database backed authority factory, in a nice, portable property file.
modules/plugin/epsg-wkt (gt-epsg-wkt.jar)
Field Summary | |
---|---|
static String |
AUTHORITY
Deprecated. |
static String |
AUTHORITY_PREFIX
Deprecated. |
protected CRSFactory |
crsFactory
Deprecated. |
protected static EPSGCRSAuthorityFactory |
DEFAULT
Deprecated. The default coordinate system authority factory. |
protected Properties |
epsg
Deprecated. The properties object for our properties file. |
Fields inherited from class AbstractFactory |
---|
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority |
Constructor Summary | |
---|---|
|
EPSGCRSAuthorityFactory()
Deprecated. Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
protected |
EPSGCRSAuthorityFactory(CRSFactory factory)
Deprecated. Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
protected |
EPSGCRSAuthorityFactory(CRSFactory factory,
URL definition)
Deprecated. |
Method Summary | |
---|---|
CompoundCRS |
createCompoundCRS(String str)
Deprecated. |
CoordinateReferenceSystem |
createCoordinateReferenceSystem(String code)
Deprecated. |
DerivedCRS |
createDerivedCRS(String str)
Deprecated. |
EngineeringCRS |
createEngineeringCRS(String str)
Deprecated. |
GeocentricCRS |
createGeocentricCRS(String str)
Deprecated. |
GeographicCRS |
createGeographicCRS(String code)
Deprecated. |
ImageCRS |
createImageCRS(String str)
Deprecated. |
IdentifiedObject |
createObject(String code)
Deprecated. |
ProjectedCRS |
createProjectedCRS(String code)
Deprecated. |
TemporalCRS |
createTemporalCRS(String str)
Deprecated. |
VerticalCRS |
createVerticalCRS(String str)
Deprecated. |
Citation |
getAuthority()
Deprecated. |
Set |
getAuthorityCodes(Class clazz)
Deprecated. Returns the set of authority codes of the given type. |
static CRSAuthorityFactory |
getDefault()
Deprecated. Returns a default coordinate system factory backed by the EPSG property file. |
InternationalString |
getDescriptionText(String code)
Deprecated. |
ObjectFactory |
getObjectFactory()
Deprecated. |
Citation |
getVendor()
Deprecated. |
protected void |
loadDefault()
Deprecated. Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
Methods inherited from class AbstractFactory |
---|
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String AUTHORITY
public static final String AUTHORITY_PREFIX
protected static EPSGCRSAuthorityFactory DEFAULT
protected Properties epsg
protected CRSFactory crsFactory
Constructor Detail |
---|
public EPSGCRSAuthorityFactory()
protected EPSGCRSAuthorityFactory(CRSFactory factory)
protected EPSGCRSAuthorityFactory(CRSFactory factory, URL definition) throws FactoryException
FactoryException
Method Detail |
---|
protected void loadDefault() throws IOException
IOException
public static CRSAuthorityFactory getDefault()
SQLException
- if the connection to the database can't be etablished.public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException
createCoordinateReferenceSystem
in interface CRSAuthorityFactory
FactoryException
public IdentifiedObject createObject(String code) throws FactoryException
createObject
in interface AuthorityFactory
FactoryException
public ProjectedCRS createProjectedCRS(String code) throws FactoryException
createProjectedCRS
in interface CRSAuthorityFactory
FactoryException
public GeographicCRS createGeographicCRS(String code) throws FactoryException
createGeographicCRS
in interface CRSAuthorityFactory
FactoryException
public Citation getAuthority()
getAuthority
in interface AuthorityFactory
public Set getAuthorityCodes(Class clazz) throws FactoryException
getAuthorityCodes
in interface AuthorityFactory
clazz
- The spatial reference objects type (may be Object.class).
FactoryException
- if access to the underlying database failed.public ObjectFactory getObjectFactory()
public Citation getVendor()
public InternationalString getDescriptionText(String code) throws FactoryException
getDescriptionText
in interface AuthorityFactory
FactoryException
public CompoundCRS createCompoundCRS(String str) throws FactoryException
createCompoundCRS
in interface CRSAuthorityFactory
FactoryException
public DerivedCRS createDerivedCRS(String str) throws FactoryException
createDerivedCRS
in interface CRSAuthorityFactory
FactoryException
public EngineeringCRS createEngineeringCRS(String str) throws FactoryException
createEngineeringCRS
in interface CRSAuthorityFactory
FactoryException
public GeocentricCRS createGeocentricCRS(String str) throws FactoryException
createGeocentricCRS
in interface CRSAuthorityFactory
FactoryException
public ImageCRS createImageCRS(String str) throws FactoryException
createImageCRS
in interface CRSAuthorityFactory
FactoryException
public TemporalCRS createTemporalCRS(String str) throws FactoryException
createTemporalCRS
in interface CRSAuthorityFactory
FactoryException
public VerticalCRS createVerticalCRS(String str) throws FactoryException
createVerticalCRS
in interface CRSAuthorityFactory
FactoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |