Package com.luciad.fusion.tilestore
Enum Class ELfnDataType
- All Implemented Interfaces:
Serializable
,Comparable<ELfnDataType>
,Constable
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 withIMAGE
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 anIMAGE
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 anIMAGE
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 anIMAGE
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 asALcdImage
.RASTER
requires the imaging API, so it doesn't work if the model elements are not or have notALcdImage
.
-
-
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.
ILcdEarthTileSetCoverage.CoverageType
.
This enumeration is thread-safe, including the conversion methods.- Since:
- 10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ELfnDataType
fromCoverageType
(ILcdEarthTileSetCoverage.CoverageType aCoverageType) Converts an EarthILcdEarthTileSetCoverage.CoverageType
to a LuciadFusionELfnDataType
.Converts this LuciadFusion data type into its Earth counterpart.static ELfnDataType
Returns the enum constant of this class with the specified name.static ELfnDataType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMAGE
Represents 8-bit per band RGB(A) color data, for example satellite imagery. It is the only type which supports WMTS. -
ELEVATION
Represents elevation data. -
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
Represents generic raster data. It allowsALcdImage
s 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
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
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 nameNullPointerException
- if the argument is null
-
toCoverageType
Converts this LuciadFusion data type into its Earth counterpart.- Returns:
- the Earth counterpart of this data type.
-
fromCoverageType
Converts an EarthILcdEarthTileSetCoverage.CoverageType
to a LuciadFusionELfnDataType
.- Parameters:
aCoverageType
- the Earth counterpart to convert from- Returns:
- a LuciadFusion data type
-