Package org.mapfish.print.map
Class CustomEPSGCodes
java.lang.Object
org.geotools.util.factory.AbstractFactory
org.geotools.referencing.factory.ReferencingFactory
org.geotools.referencing.factory.AbstractAuthorityFactory
org.geotools.referencing.factory.BufferedAuthorityFactory
org.geotools.referencing.factory.DeferredAuthorityFactory
org.geotools.referencing.factory.epsg.FactoryUsingWKT
org.mapfish.print.map.CustomEPSGCodes
- All Implemented Interfaces:
org.geotools.api.referencing.AuthorityFactory,org.geotools.api.referencing.crs.CRSAuthorityFactory,org.geotools.api.referencing.Factory,org.geotools.util.factory.BufferedFactory,org.geotools.util.factory.Factory,org.geotools.util.factory.OptionalFactory,org.geotools.util.factory.RegistrableFactory
public final class CustomEPSGCodes
extends org.geotools.referencing.factory.epsg.FactoryUsingWKT
This class is an authority factory that allows defining custom EPSG codes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe path to the file containing the custom epsg codes.Fields inherited from class org.geotools.referencing.factory.epsg.FactoryUsingWKT
DEFAULT_PRIORITY, FILENAMEFields inherited from class org.geotools.referencing.factory.ReferencingFactory
LOGGERFields inherited from class org.geotools.util.factory.AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.CustomEPSGCodes(org.geotools.util.factory.Hints hints) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected URLReturns the URL to the property file that contains CRS definitions.Methods inherited from class org.geotools.referencing.factory.epsg.FactoryUsingWKT
createBackingStore, getAuthorities, getAuthority, getFactory, main, main, reportDuplicatedCodes, reportInstantiationFailuresMethods inherited from class org.geotools.referencing.factory.DeferredAuthorityFactory
canDisposeBackingStore, dispose, disposeBackingStore, exit, getBackingStore, isAvailable, isConnected, setTimeoutMethods inherited from class org.geotools.referencing.factory.BufferedAuthorityFactory
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, getVendorMethods inherited from class org.geotools.referencing.factory.AbstractAuthorityFactory
noSuchAuthorityCode, trimAuthorityMethods inherited from class org.geotools.referencing.factory.ReferencingFactory
ensureNonNullMethods inherited from class org.geotools.util.factory.AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geotools.api.referencing.AuthorityFactory
createObject, getAuthorityCodes, getDescriptionTextMethods inherited from interface org.geotools.api.referencing.crs.CRSAuthorityFactory
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRSMethods inherited from interface org.geotools.api.referencing.Factory
getVendorMethods inherited from interface org.geotools.util.factory.Factory
getImplementationHints
-
Field Details
-
CUSTOM_EPSG_CODES_FILE
The path to the file containing the custom epsg codes.- See Also:
-
-
Constructor Details
-
CustomEPSGCodes
public CustomEPSGCodes()Constructor. -
CustomEPSGCodes
public CustomEPSGCodes(org.geotools.util.factory.Hints hints) Constructor.- Parameters:
hints- hints to pass to the framework on construction
-
-
Method Details
-
getDefinitionsURL
Returns the URL to the property file that contains CRS definitions.- Overrides:
getDefinitionsURLin classorg.geotools.referencing.factory.epsg.FactoryUsingWKT- Returns:
- The URL to the epsg file containing custom EPSG codes
-