public class EPSGCRSAuthorityFactory extends AbstractFactory implements CRSAuthorityFactory
| Modifier and Type | Field and Description |
|---|---|
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.
|
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority| Modifier | Constructor and Description |
|---|---|
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CompoundCRS |
createCompoundCRS(String str)
Deprecated.
Creates a 3D coordinate reference system from a code.
|
CoordinateReferenceSystem |
createCoordinateReferenceSystem(String code)
Deprecated.
Returns an arbitrary coordinate reference system from
a code.
|
DerivedCRS |
createDerivedCRS(String str)
Deprecated.
Creates a derived coordinate reference system from a code.
|
EngineeringCRS |
createEngineeringCRS(String str)
Deprecated.
Create a engineering coordinate reference system from a code.
|
GeocentricCRS |
createGeocentricCRS(String str)
Deprecated.
Returns a geocentric coordinate reference system from a code.
|
GeographicCRS |
createGeographicCRS(String code)
Deprecated.
Returns a geographic coordinate reference system from a code.
|
ImageCRS |
createImageCRS(String str)
Deprecated.
Create a image coordinate reference system from a code.
|
IdentifiedObject |
createObject(String code)
Deprecated.
Returns an arbitrary object from a code.
|
ProjectedCRS |
createProjectedCRS(String code)
Deprecated.
Returns a projected coordinate reference system from a code.
|
TemporalCRS |
createTemporalCRS(String str)
Deprecated.
Create a temporal coordinate reference system from a code.
|
VerticalCRS |
createVerticalCRS(String str)
Deprecated.
Create a vertical coordinate reference system from a code.
|
Citation |
getAuthority()
Deprecated.
Returns the organization or party responsible for definition and maintenance of the database.
|
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.
Gets a description of the object corresponding to a code.
|
ObjectFactory |
getObjectFactory()
Deprecated.
|
Citation |
getVendor()
Deprecated.
Returns the vendor responsible for creating this factory implementation.
|
protected void |
loadDefault()
Deprecated.
Loads from epsg.properties if the file exists, defaults to internal defintions exported from
postgis and cubeworks.
|
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toStringpublic static final String AUTHORITY
public static final String AUTHORITY_PREFIX
protected static EPSGCRSAuthorityFactory DEFAULT
protected Properties epsg
protected CRSFactory crsFactory
public EPSGCRSAuthorityFactory()
protected EPSGCRSAuthorityFactory(CRSFactory factory)
protected EPSGCRSAuthorityFactory(CRSFactory factory, URL definition) throws FactoryException
FactoryExceptionprotected void loadDefault()
throws IOException
IOExceptionpublic static CRSAuthorityFactory getDefault()
SQLException - if the connection to the database can't be etablished.public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException
CRSAuthorityFactory
createGeographicCRS(code) instead of
createCoordinateReferenceSystem(code) if the caller know he is
asking for a geographic coordinate reference system).createCoordinateReferenceSystem in interface CRSAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.CRSAuthorityFactory.createGeographicCRS(java.lang.String),
CRSAuthorityFactory.createProjectedCRS(java.lang.String),
CRSAuthorityFactory.createVerticalCRS(java.lang.String),
CRSAuthorityFactory.createTemporalCRS(java.lang.String),
CRSAuthorityFactory.createCompoundCRS(java.lang.String)public IdentifiedObject createObject(String code) throws FactoryException
AuthorityFactoryDatum, CoordinateSystem, ReferenceSystem
or CoordinateOperation. If the type of the object
is know at compile time, it is recommended to invoke the most precise method instead of this
one (for example
createCoordinateReferenceSystem(code) instead of
createObject(code) if the caller know he is asking for a coordinate reference system).createObject in interface AuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.DatumAuthorityFactory.createDatum(java.lang.String),
CRSAuthorityFactory.createCoordinateReferenceSystem(java.lang.String)public ProjectedCRS createProjectedCRS(String code) throws FactoryException
CRSAuthorityFactorycreateProjectedCRS in interface CRSAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.DatumAuthorityFactory.createGeodeticDatum(java.lang.String)public GeographicCRS createGeographicCRS(String code) throws FactoryException
CRSAuthorityFactorycreateGeographicCRS in interface CRSAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.DatumAuthorityFactory.createGeodeticDatum(java.lang.String)public Citation getAuthority()
AuthorityFactorygetAuthority in interface AuthorityFactorypublic Set getAuthorityCodes(Class clazz) throws FactoryException
getAuthorityCodes in interface AuthorityFactoryclazz - The spatial reference objects type (may be Object.class).FactoryException - if access to the underlying database failed.public ObjectFactory getObjectFactory()
public Citation getVendor()
Factorypublic InternationalString getDescriptionText(String code) throws FactoryException
AuthorityFactorygetDescriptionText in interface AuthorityFactorycode - Value allocated by authority.null if the object corresponding to the
specified code has no description.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the query failed for some other reason.public CompoundCRS createCompoundCRS(String str) throws FactoryException
CRSAuthorityFactorycreateCompoundCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.public DerivedCRS createDerivedCRS(String str) throws FactoryException
CRSAuthorityFactorycreateDerivedCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.public EngineeringCRS createEngineeringCRS(String str) throws FactoryException
CRSAuthorityFactorycreateEngineeringCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.public GeocentricCRS createGeocentricCRS(String str) throws FactoryException
CRSAuthorityFactorycreateGeocentricCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed.DatumAuthorityFactory.createGeodeticDatum(java.lang.String)public ImageCRS createImageCRS(String str) throws FactoryException
CRSAuthorityFactorycreateImageCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.public TemporalCRS createTemporalCRS(String str) throws FactoryException
CRSAuthorityFactorycreateTemporalCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.DatumAuthorityFactory.createTemporalDatum(java.lang.String)public VerticalCRS createVerticalCRS(String str) throws FactoryException
CRSAuthorityFactorycreateVerticalCRS in interface CRSAuthorityFactorystr - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.DatumAuthorityFactory.createVerticalDatum(java.lang.String)Copyright © 1996–2019 Geotools. All rights reserved.