Class TLfnRasterAssetMetadata
java.lang.Object
com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata
com.luciad.fusion.tilestore.metadata.TLfnRasterAssetMetadata
- All Implemented Interfaces:
ILcdBounded
A representation of a raster asset. It has
TLfnRasterAssetMetadata.RasterAssetPart
s as its asset parts.
Instances of this class are immutable, thus thread-safe.
Simple raster data
Simple source data is data that can be modeled as a model with a singleALcdImage
or
ILcdRaster
element.
This covers the most common formats such as GeoTIFF, DTED, ECW ...
- Initially, each image corresponds to a single asset with a single raster asset part.
- You can manually group raster asset parts in a single asset, as long as they have a common geographic reference, clipping shape, type and supported coverage types.
- An asset part can have a tile set structure, which means that its model element is an
ILcdEarthTileSet
. In that case, the fusion engine can fuse it more optimally in common circumstances.
Example: ECDIS data
- Each ECDIS cell is modeled as a separate raster asset part, with its own bounds and pixel density.
- The pixel density is derived from the navigational purpose scales of the source data.
- Even though the class is
TLfnRasterAssetMetadata
, the type isELfnDataType.VECTOR
.
Example: NetCDF data
- Each NetCDF variable is modeled as a separate asset part with a parameter corresponding to the variable.
- There are some special cases such as U and V components of wind, which are modeled as an asset part with two parameters, one for each component.
- Each raster asset part can define multiple dimensions, such as time of day and level in the atmosphere. The dimensions define all the possible values available in the source data.
- The set of possible values is modeled by
ILcdDimension.getValues()
, but is assumed to be finite, which is virtually always the case. Infinite possible values are not supported.
- Since:
- 10.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for asset metadata.static class
A representation of a raster asset part.static final class
This class defines a power-of-two tile set structure for an asset part.Nested classes/interfaces inherited from class com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata
ALfnAssetMetadata.AssetPart
-
Field Summary
Fields inherited from class com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
ISO19115_GCO_XML_NAMESPACE, ISO19115_GMD_XML_NAMESPACE, LTS_XML_NAMESPACE, NEW_UPDATE_SEQUENCE, XLINK_XML_NAMESPACE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ALfnResourceMetadataVisitor aVisitor) Accepts the visitor for visiting this resource.Creates a new builder from this resource metadata.Gets the parts of this asset as aCollection
.Gets the parameters of this raster asset.double
Deprecated.Creates a new builder.newBuilder
(TLfnRasterAssetMetadata aTemplate) Creates a new builder from a given template.Methods inherited from class com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata
equals, getBoundingBox, getBoundingShape, getBounds, getClippingShape, getFeatureTypeStyles, getFormat, getGeoReference, getLocation, getMaxScaleDenominator, getMinScaleDenominator, getRoot, getSupportedCoverageTypes, getType, hashCode
Methods inherited from class com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
getAbstract, getGlobalUpdateSequence, getId, getISO19115Metadata, getName, getUpdateSequence, toString
-
Method Details
-
getAssetParts
Description copied from class:ALfnAssetMetadata
Gets the parts of this asset as aCollection
.OGC filter property XPath:
lts:AssetPart
- Overrides:
getAssetParts
in classALfnAssetMetadata
- Returns:
- the
Collection
of the parts of this asset, nevernull
or empty
-
getPixelDensity
public double getPixelDensity()Deprecated.Gets the pixel density of this raster asset. The pixel density is the maximum pixel density of all the parts of this asset.- Returns:
- the pixel density, a decimal number in the range
[0, +Infinity]
- See Also:
-
getParameters
Gets the parameters of this raster asset. The parameters of the asset is the union of the asset part parameters.- Returns:
- the parameters of this raster asset, possibly empty but never
null
- See Also:
-
accept
Description copied from class:ALfnResourceMetadata
Accepts the visitor for visiting this resource. This provides a double-dispatch.- Specified by:
accept
in classALfnResourceMetadata
- Parameters:
aVisitor
- the visitor- See Also:
-
asBuilder
Description copied from class:ALfnResourceMetadata
Creates a new builder from this resource metadata. The builder's fields are initialized to the values of this resource metadata. The builder will build a resource metadata of the same type as this instance.- Specified by:
asBuilder
in classALfnAssetMetadata
- Returns:
- a new builder
-
newBuilder
Creates a new builder. The builder's fields are initialized to the default values.- Returns:
- a new builder
-
newBuilder
Creates a new builder from a given template. The builder's fields are initialized to the template's values.- Parameters:
aTemplate
- the template to create a builder from- Returns:
- a new builder
-
TLfnRasterAssetMetadata.RasterAssetPart.getResolutions()
instead