Package com.luciad.fusion.engine
Class TLfnEngineFactory.VectorSessionBuilder
java.lang.Object
com.luciad.fusion.engine.TLfnEngineFactory.VectorSessionBuilder
- Enclosing class:
TLfnEngineFactory
Deprecated.
A builder for vector sessions.
- Since:
- 11.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassets
(List<TLfnVectorAssetMetadata> aSourceAssetMetadatas) Deprecated.Sets the asset metadatas to be fused to the target coverage.build()
Deprecated.Builds a vector session.checkpointInterval
(long aMilliseconds) Deprecated.Sets the time (in milliseconds) between two checkpoints.coverage
(TLfnVectorCoverageMetadata aTargetCoverageMetadata) Deprecated.Sets the target coverage metadata.geometryProvider
(ILfnGeometryProvider aGeometryProvider) Deprecated.Sets the multi-leveling geometry provider.Deprecated.Gets the geometry provider.setCheckpointInterval
(long aMilliseconds) Deprecated.usecheckpointInterval(long)
insteadsetForceLinearInterpolation
(boolean aOn) Deprecated.setGeometryProvider
(ILfnGeometryProvider aGeometryProvider) Deprecated.usegeometryProvider(ILfnGeometryProvider)
insteadsetSimplificationEnabled
(boolean aEnabled) Deprecated.setSourceAssetMetadatas
(List<TLfnVectorAssetMetadata> aSourceAssetMetadatas) Deprecated.useassets(java.util.List)
insteadsetTargetCoverageMetadata
(TLfnVectorCoverageMetadata aTargetCoverageMetadata) Deprecated.setTileStore
(ALfnTileStore aTileStore) Deprecated.usetileStore(ALfnTileStore)
insteadsetVectorSessionHandler
(ILfnVectorSessionHandler aFailureHandler) Deprecated.UseALfnEngine.addSessionHandler(com.luciad.fusion.engine.raster.ILfnRasterSessionHandler)
instead (since 2013.0)tileStore
(ALfnTileStore aTileStore) Deprecated.Sets the Tile Store providing access to the target coverage.
-
Field Details
-
DEFAULT_LINE_SIMPLIFICATION_RELATIVE_ERROR
public static final double DEFAULT_LINE_SIMPLIFICATION_RELATIVE_ERRORDeprecated.- See Also:
-
-
Constructor Details
-
VectorSessionBuilder
protected VectorSessionBuilder()Deprecated.
-
-
Method Details
-
tileStore
Deprecated.Sets the Tile Store providing access to the target coverage. Neither the coverage nor any of the assets must exist. Must be set before a session can be built.- Parameters:
aTileStore
- the Tile Store- Returns:
- this builder
-
setTileStore
Deprecated.usetileStore(ALfnTileStore)
instead -
assets
public TLfnEngineFactory.VectorSessionBuilder assets(List<TLfnVectorAssetMetadata> aSourceAssetMetadatas) Deprecated.Sets the asset metadatas to be fused to the target coverage. The order of the assets is not relevant for vector data. The features from the different assets will be merged together into the corresponding tiles. Must be set before a session can be built.- Parameters:
aSourceAssetMetadatas
- the list of asset metadata- Returns:
- this builder
-
setSourceAssetMetadatas
@Deprecated public TLfnEngineFactory.VectorSessionBuilder setSourceAssetMetadatas(List<TLfnVectorAssetMetadata> aSourceAssetMetadatas) Deprecated.useassets(java.util.List)
instead -
coverage
public TLfnEngineFactory.VectorSessionBuilder coverage(TLfnVectorCoverageMetadata aTargetCoverageMetadata) Deprecated.Sets the target coverage metadata. Must be set before a session can be built. Some default settings can be retrieved from the fusion environment:- The format of the coverage: the encoded format name of a codec in
ALfnEnvironment.getTileDataCodecs(com.luciad.fusion.tilestore.ELfnDataType)
- Parameters:
aTargetCoverageMetadata
- the target coverage metadata- Returns:
- this builder
- The format of the coverage: the encoded format name of a codec in
-
setTargetCoverageMetadata
public TLfnEngineFactory.VectorSessionBuilder setTargetCoverageMetadata(TLfnVectorCoverageMetadata aTargetCoverageMetadata) Deprecated. -
checkpointInterval
Deprecated.Sets the time (in milliseconds) between two checkpoints. The engine can be stopped at any time and resumed afterwards from the last checkpoint. The default value is 1 minute.Special value
-1
indicates that no checkpoints should be saved, not even when the engine session is cancelled.- Parameters:
aMilliseconds
- the checkpoint interval (in milliseconds), or -1 to disable checkpoints.- Returns:
- this builder
-
setCheckpointInterval
Deprecated.usecheckpointInterval(long)
instead -
geometryProvider
public TLfnEngineFactory.VectorSessionBuilder geometryProvider(ILfnGeometryProvider aGeometryProvider) Deprecated.Sets the multi-leveling geometry provider. This provider can be used to remove or change the geometry at less detailed levels. No geometry provider is provided by default, which means that all geometries will be repeated at all levels. This means that even the largest tiles at the least detailed levels will still contain all the features. Typically this will cause a coverage to be "top-heavy" with features, and ultimately may even yield tiles which are too big to load in memory. So it is highly recommended to set a proper one.Filtering of features
andarea simplification
take precedence over the geometry provider. Features that have been left out by filtering or area simplification will no longer be passed to the geometry provider. It is thus not possible for a geometry provider to resurrect filtered features.- Parameters:
aGeometryProvider
- the multi-leveling geometry provider, or benull
if no geometry provider is desired (the default)- Returns:
- this builder
-
setGeometryProvider
@Deprecated public TLfnEngineFactory.VectorSessionBuilder setGeometryProvider(ILfnGeometryProvider aGeometryProvider) Deprecated.usegeometryProvider(ILfnGeometryProvider)
instead -
getGeometryProvider
Deprecated.Gets the geometry provider. This method will returnnull
when no geometry provider has been set on this builder.- Returns:
- the geometry provider, possibly
null
-
setSimplificationEnabled
@Deprecated public TLfnEngineFactory.VectorSessionBuilder setSimplificationEnabled(boolean aEnabled) Deprecated.Enables or disables multi-leveling geometry simplification. If enabled, simplification reduces the complexity of the geometry at less detailed levels. Simplification is disabled by default, but it is highly recommended to enable it. The built-in simplification algorithm is an implementation of the Douglas-Peucker line simplification algorithm.- Parameters:
aEnabled
- whether or not to enable multi-leveling geometry simplification- Returns:
- this builder
-
setVectorSessionHandler
@Deprecated public TLfnEngineFactory.VectorSessionBuilder setVectorSessionHandler(ILfnVectorSessionHandler aFailureHandler) Deprecated.UseALfnEngine.addSessionHandler(com.luciad.fusion.engine.raster.ILfnRasterSessionHandler)
instead (since 2013.0)Sets the handler for failures that occur during fusion. By default, no is handler used.- Parameters:
aFailureHandler
- the handler- Returns:
- this builder
-
setForceLinearInterpolation
Deprecated. -
build
Deprecated.Builds a vector session.- Returns:
- a vector session
- Throws:
IOException
- if the source or target data cannot be accessedTLfnServiceException
- if a failure happens on the remote Tile Store
-
migration details
. (since 2013.0)