Class 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 java.lang.String CUSTOM_EPSG_CODES_FILE
      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
      CustomEPSGCodes()
      Constructor.
      CustomEPSGCodes​(org.geotools.util.factory.Hints hints)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.net.URL getDefinitionsURL()
      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 Detail

      • CUSTOM_EPSG_CODES_FILE

        public static final java.lang.String CUSTOM_EPSG_CODES_FILE
        The path to the file containing the custom epsg codes.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • getDefinitionsURL

        protected java.net.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