public class CartesianAuthorityFactory extends DirectAuthorityFactory implements CRSAuthorityFactory
| Modifier and Type | Field and Description |
|---|---|
static DefaultEngineeringCRS |
GENERIC_2D
A clone of
DefaultEngineeringCRS.GENERIC_2D with the proper authority name |
static String |
GENERIC_2D_CODE |
factoriesLOGGERhints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority| Constructor and Description |
|---|
CartesianAuthorityFactory() |
CartesianAuthorityFactory(Hints hints) |
| Modifier and Type | Method and Description |
|---|---|
CoordinateReferenceSystem |
createCoordinateReferenceSystem(String code)
Creates a coordinate reference system from the specified code.
|
EngineeringCRS |
createEngineeringCRS(String code)
Creates a engineering coordinate reference system from a code.
|
IdentifiedObject |
createObject(String code)
Creates an object from the specified code.
|
Citation |
getAuthority()
Returns the organization or party responsible for definition and maintenance of the database.
|
Set<String> |
getAuthorityCodes(Class<? extends IdentifiedObject> type)
Returns the set of authority codes of the given type.
|
InternationalString |
getDescriptionText(String code)
Gets a description of the object corresponding to a code.
|
getImplementationHintscreateCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, dispose, getBackingStoreDescription, getIdentifiedObjectFinder, noSuchAuthorityCode, trimAuthorityensureNonNull, getVendoraddImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toStringcreateCompoundCRS, createDerivedCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRSpublic static final String GENERIC_2D_CODE
public static final DefaultEngineeringCRS GENERIC_2D
DefaultEngineeringCRS.GENERIC_2D with the proper authority namepublic CartesianAuthorityFactory()
public CartesianAuthorityFactory(Hints hints)
public Citation getAuthority()
AbstractAuthorityFactorygetAuthority in interface AuthorityFactorygetAuthority in class AbstractAuthorityFactorypublic Set<String> getAuthorityCodes(Class<? extends IdentifiedObject> type) throws FactoryException
AuthorityFactorytype argument specify the
base class. For example if this factory is an instance of CRSAuthorityFactory, then:
CoordinateReferenceSystem.class
asks for all authority codes accepted by one of createGeographicCRS, createProjectedCRS,
createVerticalCRS, createTemporalCRS
and their friends.
ProjectedCRS.class
asks only for authority codes accepted by createProjectedCRS.
getAuthorityCodes in interface AuthorityFactorytype - The spatial reference objects type.FactoryException - if access to the underlying database failed.public InternationalString getDescriptionText(String code) throws NoSuchAuthorityCodeException, 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 IdentifiedObject createObject(String code) throws FactoryException
createCoordinateReferenceSystem(code) .createObject in interface AuthorityFactorycreateObject in class AbstractAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.AbstractAuthorityFactory.createCoordinateReferenceSystem(java.lang.String),
AbstractAuthorityFactory.createDatum(java.lang.String),
AbstractAuthorityFactory.createEllipsoid(java.lang.String),
AbstractAuthorityFactory.createUnit(java.lang.String)public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException
createEngineeringCRS(String)(code).createCoordinateReferenceSystem in interface CRSAuthorityFactorycreateCoordinateReferenceSystem in class AbstractAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.AbstractAuthorityFactory.createGeographicCRS(java.lang.String),
AbstractAuthorityFactory.createProjectedCRS(java.lang.String),
AbstractAuthorityFactory.createVerticalCRS(java.lang.String),
AbstractAuthorityFactory.createTemporalCRS(java.lang.String),
AbstractAuthorityFactory.createCompoundCRS(java.lang.String)public EngineeringCRS createEngineeringCRS(String code) throws NoSuchAuthorityCodeException, FactoryException
AbstractAuthorityFactorycreateEngineeringCRS in interface CRSAuthorityFactorycreateEngineeringCRS in class AbstractAuthorityFactorycode - Value allocated by authority.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the object creation failed for some other reason.Copyright © 1996–2021 Geotools. All rights reserved.