Class TLfnVectorTileStoreModelDescriptor

All Implemented Interfaces:
ILcdDataModelDescriptor, ILcdDataSourceModelDescriptor<TLfnTileStoreDataSource>, ILcdModelDescriptor, Serializable

public class TLfnVectorTileStoreModelDescriptor extends TLfnTileStoreModelDescriptor implements ILcdDataModelDescriptor
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.
A model descriptor for a ALfnTileStoreModel containing a vector coverage. The model's elements are ILcdDataObjects with the same data types and properties as the original source data. Usually, all the original source data's data types and properties will have been preserved, unless you've explicitly configured it otherwise using TLfnVectorCoverageMetadata.Builder.dataModel(TLcdDataModel), for example to preserve only a filtered subset of the original source data's data types or properties.

For scalability reasons, you should never call ILcdModel.elements() on a fusion vector model: it will return empty results. Instead, you should always use ILcd2DBoundsIndexedModel.applyOnInteract2DBounds(com.luciad.shape.ILcdBounds, boolean, com.luciad.util.ILcdFunction, double, double), which will select the features within bounds at a certain level of detail.

You should be careful when accessing the domain objects as 'regular' ILcdShape: when accessed directly, you will work with the full geometry at the most detailed level, which quickly becomes a performance bottleneck. For visualization and a lot of other practical use cases, you should consider using the tiled (reduced) geometry which can be accessed using TLfnGXYVectorLayer.getTiledGeometry(Object) or TLspFusionVectorLayer.getTiledGeometry(Object, ILspView) or TLspFusionGeometryProvider.

Since:
11.0
See Also:
  • Constructor Details

  • Method Details

    • getDataModel

      public TLcdDataModel getDataModel()
      Deprecated.
      Gets the data model of this model. The data model is described in TLfnVectorCoverageMetadata.getDataModel().
      Specified by:
      getDataModel in interface ILcdDataModelDescriptor
      Returns:
      the data model that describes the elements of the model
    • getModelElementTypes

      public Set<TLcdDataType> getModelElementTypes()
      Deprecated.
      Description copied from interface: ILcdDataModelDescriptor

      Returns a set containing all the data types of which instances can be elements in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually elements in the model; but they are not required to do so.

      Implementations should return null in case they don't know which element types are present in the model.

      For each element of the model associated with this model descriptor, the following holds true : getModelElementTypes().contains( element.getDataType() ).

      Specified by:
      getModelElementTypes in interface ILcdDataModelDescriptor
      Returns:
      a set containing all the data types of which instances can be elements in the model associated with this descriptor
    • getModelTypes

      public Set<TLcdDataType> getModelTypes()
      Deprecated.
      Description copied from interface: ILcdDataModelDescriptor

      Returns a set containing all the types of which instances can be used (including both top-level elements and child objects) in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually instances in the model; but they are not required to do so.

      A simple and correct implementation would be to return getDataModel().getTypes(). Implementations are encouraged to return a subset of this set if they can do so without spending an unreasonable amount of resources.

      Implementations should return null in case they don't know which types are present in the model.

      Specified by:
      getModelTypes in interface ILcdDataModelDescriptor
      Returns:
      a set containing all the data types of which instances can be used in the model associated with this descriptor