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 andCrsGeoCodinginstead.A registry for map projection instances.
-
-
Constructor Summary
Constructors Constructor Description MapProjectionRegistry()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidderegisterProjection(MapProjection projection)Deprecated.De-registers a shared map-projection instance in this registry.static MapTransformDescriptorgetDescriptor(String typeID)Deprecated.Gets the descriptor for the given type ID.static MapTransformDescriptor[]getDescriptors()Deprecated.Gets all registered map transformation descriptors.static MapProjectiongetProjection(String name)Deprecated.Gets the map-projection instance with the given name.static MapProjection[]getProjections()Deprecated.Gets all registered map-projections.static voidregisterDescriptor(MapTransformDescriptor descriptor)Deprecated.Registers a new map transformation type.static voidregisterProjection(MapProjection projection)Deprecated.Registers a shared map-projection instance in this registry.
-
-
-
Method Detail
-
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 benull- 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, itsMapTransformDescriptor.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
nullif the type ID is unknown
-
-