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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The path to the file containing the custom epsg codes.

    Fields inherited from class org.geotools.referencing.factory.epsg.FactoryUsingWKT

    DEFAULT_PRIORITY, FILENAME

    Fields inherited from class org.geotools.referencing.factory.ReferencingFactory

    LOGGER

    Fields inherited from class org.geotools.util.factory.AbstractFactory

    hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
    CustomEPSGCodes(org.geotools.util.factory.Hints hints)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected URL
    Returns 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, reportInstantiationFailures

    Methods inherited from class org.geotools.referencing.factory.DeferredAuthorityFactory

    canDisposeBackingStore, dispose, disposeBackingStore, exit, getBackingStore, isAvailable, isConnected, setTimeout

    Methods 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, getVendor

    Methods inherited from class org.geotools.referencing.factory.AbstractAuthorityFactory

    noSuchAuthorityCode, trimAuthority

    Methods inherited from class org.geotools.referencing.factory.ReferencingFactory

    ensureNonNull

    Methods inherited from class org.geotools.util.factory.AbstractFactory

    addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.geotools.api.referencing.AuthorityFactory

    createObject, getAuthorityCodes, getDescriptionText

    Methods inherited from interface org.geotools.api.referencing.crs.CRSAuthorityFactory

    createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS

    Methods inherited from interface org.geotools.api.referencing.Factory

    getVendor

    Methods inherited from interface org.geotools.util.factory.Factory

    getImplementationHints
  • Field Details

    • CUSTOM_EPSG_CODES_FILE

      public static final String 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

      protected URL getDefinitionsURL()
      Returns the URL to the property file that contains CRS definitions.
      Overrides:
      getDefinitionsURL in class org.geotools.referencing.factory.epsg.FactoryUsingWKT
      Returns:
      The URL to the epsg file containing custom EPSG codes