Class Services

Object
Services

public final class Services extends Object
Views overs GeoTools factories.
  • Method Details

    • getAuthorityFactory

      public static CRSAuthorityFactory getAuthorityFactory(boolean longitudeFirst) throws FactoryException
      Returns the default CRS authority factory.. This method delegates to the method of the same name in org.geotools.referencing.CRS and wraps the result.
      Parameters:
      longitudeFirst - whether to force (longitude, latitude) axis order.
      Returns:
      the default CRS authority factory
      Throws:
      FactoryException - if the GeoTools org.geotools.referencing.CRS class has not been found.
    • getCoordinateOperationFactory

      public static CoordinateOperationFactory getCoordinateOperationFactory(boolean lenient) throws FactoryException
      Returns the default coordinate operation factory.. This method delegates to the method of the same name in org.geotools.referencing.CRS and wraps the result.
      Parameters:
      lenient - whether to be lenient about datum shifts without transformation parameters.
      Returns:
      the default coordinate operation factory
      Throws:
      FactoryException - if the GeoTools org.geotools.referencing.CRS class has not been found.
    • loadCRSAuthorityFactories

      public static Iterable<CRSAuthorityFactory> loadCRSAuthorityFactories()
      Returns all CRS authority factories registered by GeoTools.. Note that GeoTools provides many EPSG factories with different axis order policy. It provides also factories for other authorities and for different code syntax (e.g. URN). This method returns these factories in no particular order.
      Returns:
      all CRS authority factories registered by GeoTools
    • loadCSAuthorityFactories

      public static Iterable<CSAuthorityFactory> loadCSAuthorityFactories()
      Returns all CS authority factories registered by GeoTools.. Note that GeoTools provides many EPSG factories with different axis order policy. This method returns these factories in no particular order.
      Returns:
      all CS authority factories registered by GeoTools
    • loadDatumAuthorityFactories

      public static Iterable<DatumAuthorityFactory> loadDatumAuthorityFactories()
      Returns all datum authority factories registered by GeoTools.. Note that GeoTools provides many factories for different authorities and code syntax (e.g. URN). This method returns these factories in no particular order.
      Returns:
      all datum authority factories registered by GeoTools
    • loadCoordinateOperationAuthorityFactories

      public static Iterable<CoordinateOperationAuthorityFactory> loadCoordinateOperationAuthorityFactories()
      Returns all coordinate operation authority factories registered by GeoTools.. Note that GeoTools provides many factories for different code syntax (e.g. URN). This method returns these factories in no particular order.
      Returns:
      all coordinate operation authority factories registered by GeoTools
    • loadCRSFactories

      public static Iterable<CRSFactory> loadCRSFactories()
      Returns all CRS object factories registered by GeoTools.. This method returns these factories in no particular order.
      Returns:
      all CRS object factories registered by GeoTools
    • loadCSFactories

      public static Iterable<CSFactory> loadCSFactories()
      Returns all CS object factories registered by GeoTools.. This method returns these factories in no particular order.
      Returns:
      all CS object factories registered by GeoTools
    • loadDatumFactories

      public static Iterable<DatumFactory> loadDatumFactories()
      Returns all datum object factories registered by GeoTools.. This method returns these factories in no particular order.
      Returns:
      all datum object factories registered by GeoTools
    • loadCoordinateOperationFactories

      public static Iterable<CoordinateOperationFactory> loadCoordinateOperationFactories()
      Returns all coordinate operation object factories registered by GeoTools.. This method returns these factories in no particular order.
      Returns:
      all coordinate operation object factories registered by GeoTools