public static final class TLfnRasterAssetMetadata.RasterAssetPart.Builder extends ALfnAssetMetadata.AssetPart.Builder<TLfnRasterAssetMetadata.Builder,TLfnRasterAssetMetadata.RasterAssetPart.Builder,TLfnRasterAssetMetadata.RasterAssetPart>
Modifier and Type | Method and Description |
---|---|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
all(TLfnRasterAssetMetadata.RasterAssetPart aTemplate)
Sets all this builder's fields from a given template raster asset part.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
bandSemantics(Collection<? extends ALcdBandSemantics> aBandSemantics)
Sets the band semantics of the asset part on this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
dimensions(Collection<? extends ILcdDimension> aDimensions)
Sets the dimensions of the raster asset part being built by this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
index(int aIndex)
Sets 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.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
parameters(Collection<? extends TLcdEarthMultivaluedDataParameter> aParameters)
Sets the multivalued parameters of the raster asset part being built by this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
parameters(TLcdEarthMultivaluedDataParameter... aParameters)
Sets the multivalued parameters of the raster asset part being built by this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
pixelDensity(double aPixelDensity)
Deprecated.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
resolutions(Collection<? extends TLfnResolution> aResolutions)
Sets the resolutions of the raster asset part being built by this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
resolutions(TLfnResolution... aResolutions)
Sets the resolutions of the raster asset part being built by this builder.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
samplingMode(ELcdImageSamplingMode aSamplingMode)
Sets the sampling mode for this asset part.
|
TLfnRasterAssetMetadata.RasterAssetPart.Builder |
tileSetStructure(TLfnRasterAssetMetadata.TileSetStructure aTileSetStructure)
Sets a tile set structure on this builder.
|
boundingBox, buildAssetPart, location, location, root, root
public TLfnRasterAssetMetadata.RasterAssetPart.Builder all(TLfnRasterAssetMetadata.RasterAssetPart aTemplate)
all
in class ALfnAssetMetadata.AssetPart.Builder<TLfnRasterAssetMetadata.Builder,TLfnRasterAssetMetadata.RasterAssetPart.Builder,TLfnRasterAssetMetadata.RasterAssetPart>
aTemplate
- the template raster asset partpublic TLfnRasterAssetMetadata.RasterAssetPart.Builder pixelDensity(double aPixelDensity)
resolutions(com.luciad.fusion.tilestore.metadata.TLfnResolution...)
insteadaPixelDensity
- the pixel density of the raster asset part being built by this builderpublic TLfnRasterAssetMetadata.RasterAssetPart.Builder resolutions(TLfnResolution... aResolutions)
aResolutions
- the resolutions of the raster asset part being built by this builderresolutions(Collection)
public TLfnRasterAssetMetadata.RasterAssetPart.Builder resolutions(Collection<? extends TLfnResolution> aResolutions)
aResolutions
- the resolutions of the raster asset part being built by this builderpublic TLfnRasterAssetMetadata.RasterAssetPart.Builder parameters(TLcdEarthMultivaluedDataParameter... aParameters)
aParameters
- the multivalued parameterspublic TLfnRasterAssetMetadata.RasterAssetPart.Builder parameters(Collection<? extends TLcdEarthMultivaluedDataParameter> aParameters)
aParameters
- the multivalued parameterspublic TLfnRasterAssetMetadata.RasterAssetPart.Builder dimensions(Collection<? extends ILcdDimension> aDimensions)
ILcdMultiDimensional.getDimensions()
.
NetCDF weather data typically contains multiple rasters: one for each combination of level and time.
Because the dimensions are marshaled there are two points that you should take into account;
ILcdDimension
should have a finite set of possible
values: ILcdDimension.getValues()
must be finite.
This is virtually always the case in practice.
TLcdDimensionAxis.Builder.type(Class)
is
instantiated afterwards on the runtime with its fully qualified class name. Therefore you should never
obfuscate the type if you are using a user defined classes for it. As an example, implementations of
ILcdISO19103Measure
are not obfuscated because they are usually used for vertical
measure types for the dimension axes.aDimensions
- the dimensions, each defining a finite set of possible values, may be empty but never
null
ILcdMultiDimensionalModel
public TLfnRasterAssetMetadata.RasterAssetPart.Builder samplingMode(ELcdImageSamplingMode aSamplingMode)
ELcdImageSamplingMode.AREA
.
Elevation data is typically point-sampled, in which case you should use ELcdImageSamplingMode.POINT
.aSamplingMode
- the sampling mode to set, must not be null
public TLfnRasterAssetMetadata.RasterAssetPart.Builder tileSetStructure(TLfnRasterAssetMetadata.TileSetStructure aTileSetStructure)
aTileSetStructure
- the tile set structure to set, may be null
public TLfnRasterAssetMetadata.RasterAssetPart.Builder bandSemantics(Collection<? extends ALcdBandSemantics> aBandSemantics)
aBandSemantics
- the band semantics to set, may be empty but never null
public TLfnRasterAssetMetadata.RasterAssetPart.Builder index(int aIndex)
In case of single-element models, or when you want this asset part to represent the whole model, leave this to 0.
aIndex
- the index to set, must be positive (including 0)