Class MapProjectionRegistry


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

      • MapProjectionRegistry

        public MapProjectionRegistry()
        Deprecated.
    • 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 be null
        Returns:
        the map-projection instance or null
      • 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