public class LongitudeFirstFactory extends DeferredAuthorityFactory implements CRSAuthorityFactory, CSAuthorityFactory, CoordinateOperationAuthorityFactory, DatumAuthorityFactory
ThreadedEpsgFactory
into an OrderedAxisAuthorityFactory
when
first needed.
Users don't need to create explicitly an instance of this class. Instead, one can get an instance using the following code:
Hints hints = new Hints(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.TRUE); CRSAuthorityFactory factory = ReferencingFactoryFinder.getCRSAuthorityFactory("EPSG", hints);
OrderedAxisAuthorityFactory
,
Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER
Modifier and Type | Field and Description |
---|---|
static String |
SYSTEM_DEFAULT_KEY
Deprecated.
|
LOGGER
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
LongitudeFirstFactory()
Creates a default factory.
|
LongitudeFirstFactory(Hints userHints)
Creates a factory from the specified set of hints.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractAuthorityFactory |
createBackingStore()
Returns the factory instance (usually
ThreadedEpsgFactory ) to be used as the backing
store. |
Citation |
getAuthority()
Returns the authority for this EPSG database.
|
canDisposeBackingStore, dispose, disposeBackingStore, exit, getBackingStore, isAvailable, isConnected, setTimeout
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, getAuthorityCodes, getBackingStoreDescription, getDescriptionText, getIdentifiedObjectFinder, getVendor
noSuchAuthorityCode, trimAuthority
ensureNonNull
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
createObject, getAuthorityCodes, getDescriptionText
getImplementationHints
public static final String SYSTEM_DEFAULT_KEY
GeoTools.FORCE_LONGITUDE_FIRST_AXIS_ORDER
.FORCE_LONGITUDE_FIRST_AXIS_ORDER
hint value.
This setting can provide a transition path for projects expecting a (longitude,
latitude) axis order on a system-wide level. Application developpers can set the
default value as below:
Note that this system property applies mostly to the default EPSG factory. Most other factories (System.setProperty(SYSTEM_DEFAULT_KEY, "true");
"CRS"
, "AUTO"
, etc.) don't need this property since
they use (longitude, latitude) axis order by design.public LongitudeFirstFactory()
FORCE_LONGITUDE_FIRST_AXIS_ORDER
hint is always set to TRUE
. The FORCE_STANDARD_AXIS_DIRECTIONS
and FORCE_STANDARD_AXIS_UNITS
hints are set to FALSE
by default. A different value for those two hints can be specified using
the constructor below.public LongitudeFirstFactory(Hints userHints)
userHints
- An optional set of hints, or null
for the default values.public Citation getAuthority()
getAuthority
in interface AuthorityFactory
getAuthority
in class BufferedAuthorityFactory
protected AbstractAuthorityFactory createBackingStore() throws FactoryException
ThreadedEpsgFactory
) to be used as the backing
store.createBackingStore
in class DeferredAuthorityFactory
createXXX(...)
methods.FactoryException
- If no suitable factory instance was found.Copyright © 1996–2019 Geotools. All rights reserved.