public static class TLfnRasterAssetMetadata.RasterAssetPart extends ALfnAssetMetadata.AssetPart
Modifier and Type | Class and Description |
---|---|
static class |
TLfnRasterAssetMetadata.RasterAssetPart.Builder
A builder for raster asset parts.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
List<? extends ALcdBandSemantics> |
getBandSemantics()
Gets the band semantics of this raster asset part.
|
List<ILcdDimension<?>> |
getDimensions()
Gets the dimensions of this raster asset part.
|
int |
getIndex()
Gets the element index of a specific element in a model, in case the asset part being built specifies a single
element of a model rather than the whole model itself.
|
List<TLcdEarthMultivaluedDataParameter> |
getParameters()
Gets the parameters of this raster asset part.
|
double |
getPixelDensity()
Deprecated.
use
getResolutions() instead |
List<TLfnResolution> |
getResolutions()
Gets the resolutions of this raster asset part.
|
ELcdImageSamplingMode |
getSamplingMode()
Gets the sampling mode of this raster asset part.
|
TLfnRasterAssetMetadata.TileSetStructure |
getTileSetStructure()
Gets the tile set structure of this raster asset part.
|
int |
hashCode() |
getAssetMetadata, getBoundingBox, getLocation, getRoot, toString
public List<ILcdDimension<?>> getDimensions()
NetCDF weather data typically contains multiple rasters: one for each combination of level and time.
null
TLfnRasterAssetMetadata.RasterAssetPart.Builder.dimensions(java.util.Collection<? extends com.luciad.multidimensional.ILcdDimension>)
,
ILcdMultiDimensionalModel
public double getPixelDensity()
getResolutions()
insteadDouble.NaN
public List<TLfnResolution> getResolutions()
OGC filter property XPath: lts:Resolution/@x
and/or lts:Resolution/@y
, corresponding to
the X and Y component.
null
public List<TLcdEarthMultivaluedDataParameter> getParameters()
OGC filter property XPath: lts:Parameter/lts:Name
, lts:Parameter/lts:Unit
, corresponding to the parameter's name and unit respectively
null
public ELcdImageSamplingMode getSamplingMode()
OGC filter property XPath: lts:SamplingMode
Different asset parts of an asset may have different sampling modes. Different assets contributing to a coverage may have different sampling modes, yet a coverage can only have a single sampling mode. The fusion process will convert (interpolate) samples where necessary to match the sampling mode of the coverage.
null
public TLfnRasterAssetMetadata.TileSetStructure getTileSetStructure()
null
, which means 'no tile set structure'.null
public List<? extends ALcdBandSemantics> getBandSemantics()
null
public int getIndex()
Most raster models are single-element models, in which case the index is -1.
Some decoders, such as CADRG and ECRG, produce models with multiple elements. These elements represent unrelated rasters with a common source name, which correspond to multiple asset parts with a common location. In that case, the index is needed to identify a specific raster element. The location (source name) isn't enough in this case, because all elements have the same source name.
public boolean equals(Object aObject)
equals
in class ALfnAssetMetadata.AssetPart
public int hashCode()
hashCode
in class ALfnAssetMetadata.AssetPart