Class MapProjectionRegistry

java.lang.Object
org.esa.snap.core.dataop.maptransf.MapProjectionRegistry

@Deprecated public class MapProjectionRegistry extends Object
Deprecated.
since BEAM 4.7, use geotools and CrsGeoCoding instead.
A registry for map projection instances.
  • Constructor Details

    • MapProjectionRegistry

      public MapProjectionRegistry()
      Deprecated.
  • Method Details

    • registerProjection

      public static void registerProjection(MapProjection projection)
      Deprecated.
      Registers a shared map-projection instance in this registry.
      Parameters:
      projection - the map-projection to be added
    • deregisterProjection

      public static void deregisterProjection(MapProjection projection)
      Deprecated.
      De-registers a shared map-projection instance in this registry.
      Parameters:
      projection - the map-projection to be removed
    • getProjections

      public static MapProjection[] getProjections()
      Deprecated.
      Gets all registered map-projections.
      Returns:
      an array of all registered map-projections, never null
    • getProjection

      public static MapProjection getProjection(String name)
      Deprecated.
      Gets the map-projection instance with the given name.
      Parameters:
      name - a map-projection name, must not be null
      Returns:
      the map-projection instance or null
    • registerDescriptor

      public static void registerDescriptor(MapTransformDescriptor descriptor)
      Deprecated.
      Registers a new map transformation type. After the descriptor has been registered, its MapTransformDescriptor.registerProjections() method is called.
      Parameters:
      descriptor - the new map transformation descriptor
    • getDescriptors

      public static MapTransformDescriptor[] getDescriptors()
      Deprecated.
      Gets all registered map transformation descriptors.
      Returns:
      an array of all registered descriptors, never null
    • getDescriptor

      public static MapTransformDescriptor getDescriptor(String typeID)
      Deprecated.
      Gets the descriptor for the given type ID.
      Parameters:
      typeID - the map transform type ID, must not be null
      Returns:
      the descriptor, or null if the type ID is unknown