|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.crs.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.
Field Summary | |
static java.lang.String |
AUTHORITY
|
static java.lang.String |
AUTHORITY_PREFIX
|
protected org.opengis.referencing.crs.CRSFactory |
crsFactory
|
protected static EPSGCRSAuthorityFactory |
DEFAULT
The default coordinate system authority factory. |
protected java.util.Properties |
epsg
The properties object for our properties file. |
Constructor Summary | |
|
EPSGCRSAuthorityFactory()
Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
protected |
EPSGCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory)
Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
protected |
EPSGCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory,
java.net.URL definition)
|
Method Summary | |
org.opengis.referencing.crs.CompoundCRS |
createCompoundCRS(java.lang.String str)
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
createCoordinateReferenceSystem(java.lang.String code)
|
org.opengis.referencing.crs.DerivedCRS |
createDerivedCRS(java.lang.String str)
|
org.opengis.referencing.crs.EngineeringCRS |
createEngineeringCRS(java.lang.String str)
|
org.opengis.referencing.crs.GeocentricCRS |
createGeocentricCRS(java.lang.String str)
|
org.opengis.referencing.crs.GeographicCRS |
createGeographicCRS(java.lang.String code)
|
org.opengis.referencing.crs.ImageCRS |
createImageCRS(java.lang.String str)
|
org.opengis.referencing.IdentifiedObject |
createObject(java.lang.String code)
|
org.opengis.referencing.crs.ProjectedCRS |
createProjectedCRS(java.lang.String code)
|
org.opengis.referencing.crs.TemporalCRS |
createTemporalCRS(java.lang.String str)
|
org.opengis.referencing.crs.VerticalCRS |
createVerticalCRS(java.lang.String str)
|
org.opengis.metadata.citation.Citation |
getAuthority()
|
java.util.Set |
getAuthorityCodes(java.lang.Class clazz)
Returns the set of authority codes of the given type. |
static org.opengis.referencing.crs.CRSAuthorityFactory |
getDefault()
Returns a default coordinate system factory backed by the EPSG property file. |
org.opengis.util.InternationalString |
getDescriptionText(java.lang.String code)
|
org.opengis.referencing.ObjectFactory |
getObjectFactory()
|
org.opengis.metadata.citation.Citation |
getVendor()
|
protected void |
loadDefault()
Loads from epsg.properties if the file exists, defaults to internal defintions exported from postgis and cubeworks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String AUTHORITY
public static final java.lang.String AUTHORITY_PREFIX
protected static EPSGCRSAuthorityFactory DEFAULT
protected java.util.Properties epsg
protected org.opengis.referencing.crs.CRSFactory crsFactory
Constructor Detail |
public EPSGCRSAuthorityFactory()
protected EPSGCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory)
protected EPSGCRSAuthorityFactory(org.opengis.referencing.crs.CRSFactory factory, java.net.URL definition) throws org.opengis.referencing.FactoryException
Method Detail |
protected void loadDefault() throws java.io.IOException
java.io.IOException
public static org.opengis.referencing.crs.CRSAuthorityFactory getDefault()
SQLException
- if the connection to the database can't be etablished.public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateReferenceSystem
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.IdentifiedObject createObject(java.lang.String code) throws org.opengis.referencing.FactoryException
createObject
in interface org.opengis.referencing.AuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createProjectedCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.GeographicCRS createGeographicCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createGeographicCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.metadata.citation.Citation getAuthority()
getAuthority
in interface org.opengis.referencing.AuthorityFactory
public java.util.Set getAuthorityCodes(java.lang.Class clazz) throws org.opengis.referencing.FactoryException
getAuthorityCodes
in interface org.opengis.referencing.AuthorityFactory
org.opengis.referencing.FactoryException
- if access to the underlying database failed.public org.opengis.referencing.ObjectFactory getObjectFactory()
public org.opengis.metadata.citation.Citation getVendor()
getVendor
in interface org.opengis.referencing.Factory
public org.opengis.util.InternationalString getDescriptionText(java.lang.String code) throws org.opengis.referencing.FactoryException
getDescriptionText
in interface org.opengis.referencing.AuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.CompoundCRS createCompoundCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createCompoundCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.DerivedCRS createDerivedCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createDerivedCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createEngineeringCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createGeocentricCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.ImageCRS createImageCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createImageCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createTemporalCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(java.lang.String str) throws org.opengis.referencing.FactoryException
createVerticalCRS
in interface org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.FactoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |