Class MapProjectionRegistry
java.lang.Object
org.esa.snap.core.dataop.maptransf.MapProjectionRegistry
Deprecated.
A registry for map projection instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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[]Deprecated.Gets all registered map transformation descriptors.static MapProjectiongetProjection(String name) Deprecated.Gets the map-projection instance with the given name.static MapProjection[]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.
-
Constructor Details
-
MapProjectionRegistry
public MapProjectionRegistry()Deprecated.
-
-
Method Details
-
registerProjection
Deprecated.Registers a shared map-projection instance in this registry.- Parameters:
projection- the map-projection to be added
-
deregisterProjection
Deprecated.De-registers a shared map-projection instance in this registry.- Parameters:
projection- the map-projection to be removed
-
getProjections
Deprecated.Gets all registered map-projections.- Returns:
- an array of all registered map-projections, never
null
-
getProjection
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
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
Deprecated.Gets all registered map transformation descriptors.- Returns:
- an array of all registered descriptors, never
null
-
getDescriptor
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
-
CrsGeoCodinginstead.