| org.geotools.referencing.factory.DeferredAuthorityFactory org.geotools.referencing.factory.epsg.LongitudeFirstFactory
LongitudeFirstFactory | public class LongitudeFirstFactory extends DeferredAuthorityFactory implements CRSAuthorityFactory,CSAuthorityFactory,CoordinateOperationAuthorityFactory,DatumAuthorityFactory(Code) | | An EPSG authority factory using (longitude, latitude) axis order.
This factory wraps a
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(
, Boolean.TRUE);
CRSAuthorityFactory factory =
.getCRSAuthorityFactory("EPSG", hints);
since: 2.3 version: $Id: LongitudeFirstFactory.java 25931 2007-06-19 20:41:08Z jgarnett $ author: Martin Desruisseaux See Also: OrderedAxisAuthorityFactory See Also: Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER |
SYSTEM_DEFAULT_KEY | final public static String SYSTEM_DEFAULT_KEY(Code) | | The
key for setting the default
Hints.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:
System.setProperty(SYSTEM_DEFAULT_KEY, "true");
Note that this system property applies mostly to the default EPSG factory. Most other
factories (
"CRS" ,
"AUTO" , etc.) don't need this property
since they use (longitude, latitude) axis order by design.
See Also: Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDERGeoTools.FORCE_LONGITUDE_FIRST_AXIS_ORDER |
LongitudeFirstFactory | public LongitudeFirstFactory(Hints userHints)(Code) | | Creates a factory from the specified set of hints.
Parameters: userHints - An optional set of hints, or null for the default values. |
createBackingStore | protected AbstractAuthorityFactory createBackingStore() throws FactoryException(Code) | | Returns the factory instance (usually
ThreadedEpsgFactory )
to be used as the backing store.
throws: FactoryException - If no suitable factory instance was found. |
getAuthority | public Citation getAuthority()(Code) | | Returns the authority for this EPSG database.
This authority will contains the database version in the
attribute, together with the
.
|
|
|