Enum Class ELfnDataType

java.lang.Object
java.lang.Enum<ELfnDataType>
com.luciad.fusion.tilestore.ELfnDataType
All Implemented Interfaces:
Serializable, Comparable<ELfnDataType>, Constable

public enum ELfnDataType extends Enum<ELfnDataType>
Defines the data types for coverages and assets. There are several data types:
  • RASTER is the generic type for raster data. It covers RGB imagery and measurement data with any number of bands. Elevation data and weather data are typical examples of measurement data.
    • IMAGE is the type for RGB(A) imagery with 8 bits per band. It is used for color data like satellite imagery.
    • ELEVATION is the type for elevation data (single-band measurement data). It is typically used in combination with IMAGE data to render terrains.
    RASTER fusion supports some new use cases:
    • Fusion of multispectral imagery to a RASTER coverage preserves the multispectral nature of the source data. It is also possible to fuse multispectral data to an IMAGE coverage, but only in combination with band selection which will reduce the multispectral imagery to RGB.
    • Fusion of HDR imagery (imagery with 16 bits per band or more) to a RASTER coverage preserves the full dynamic range of the source data. It is also possible to fuse this data to an IMAGE coverage, but in that case the dynamic range will be reduced to 8 bits per bands.
    • Fusion of multi-dimensional data to a RASTER coverage preserves the multi-dimensional nature of the source data. Multi-dimensional coverages can be served using WMS, in which case WMS dimensions can be used to filter the multi-dimensional data to render an RGB image. It is also possible to fuse multi-dimensional data to an IMAGE coverage, but in that case the dimensions will be reduced to an RGB image of a single combination of possible combinations of dimensions.
    RASTER is the new recommended type for all raster data, but it has some limitations so there are cases where the other types are still useful:
    • For backwards compatibility with clients older than 2016.0, use any of the other types. Resources of type RASTER are not visible to older clients.
    • When fusing additional detail to existing coverage. Coverages of type RASTER don't support this yet.
    • When a coverage needs to be offered over WMTS, you must use an IMAGE coverage. RASTER coverages are not supported by WMTS.
    • When the source data only offers its model elements as ILcdRaster but not as ALcdImage. RASTER requires the imaging API, so it doesn't work if the model elements are not or have not ALcdImage.
  • VECTOR defines vector data, representing features with geometries and attributes. Since 2017 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
This enumeration also provides functionality to convert the LuciadFusion data types to and from their Earth counterparts defined in ILcdEarthTileSetCoverage.CoverageType. This enumeration is thread-safe, including the conversion methods.
Since:
10.0
  • Enum Constant Details

    • IMAGE

      public static final ELfnDataType IMAGE
      Represents 8-bit per band RGB(A) color data, for example satellite imagery. It is the only type which supports WMTS.
    • ELEVATION

      public static final ELfnDataType ELEVATION
      Represents elevation data.
    • VECTOR

      @Deprecated public static final ELfnDataType VECTOR
      Deprecated.
      since 2017.0 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
      Represents vector data. It has no Earth counterpart.
      Since:
      11.0
    • RASTER

      public static final ELfnDataType RASTER
      Represents generic raster data. It allows ALcdImages to preserve their band semantics. Use a coverage of this type to preserve the band semantics of source data.
      Since:
      2016.0
  • Method Details

    • values

      public static ELfnDataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ELfnDataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toCoverageType

      public ILcdEarthTileSetCoverage.CoverageType toCoverageType()
      Converts this LuciadFusion data type into its Earth counterpart.
      Returns:
      the Earth counterpart of this data type.
    • fromCoverageType

      public static ELfnDataType fromCoverageType(ILcdEarthTileSetCoverage.CoverageType aCoverageType)
      Converts an Earth ILcdEarthTileSetCoverage.CoverageType to a LuciadFusion ELfnDataType.
      Parameters:
      aCoverageType - the Earth counterpart to convert from
      Returns:
      a LuciadFusion data type