Class TLcdMBTilesModelDescriptor

java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.mbtiles.TLcdMBTilesModelDescriptor
All Implemented Interfaces:
ILcdDataSourceModelDescriptor<TLcdMBTilesDataSource>, ILcdModelDescriptor, Serializable

public class TLcdMBTilesModelDescriptor extends TLcdModelDescriptor implements ILcdDataSourceModelDescriptor<TLcdMBTilesDataSource>

Model descriptor for MBTiles data. Provides convenience access to the TLcdMBTilesDataSource.

Note: MBTiles models that contain image tiles will have a subclass of this model descriptor which is also an ILcdEarthModelDescriptor and ILcdImageModelDescriptor.

Since:
2023.1
See Also:
  • Method Details

    • getDataSource

      public TLcdMBTilesDataSource getDataSource()
      Description copied from interface: ILcdDataSourceModelDescriptor
      Returns the object that was used to decode the corresponding model.
      Specified by:
      getDataSource in interface ILcdDataSourceModelDescriptor<TLcdMBTilesDataSource>
      Returns:
      an object describing the data source(s) of the corresponding model. This can be null, e.g. when the model was not decoded by using an ILcdDataSource.
      See Also:
    • getMetadata

      public Map<String,String> getMetadata()
      Returns the contents of the metadata table in the .mbtiles file, stored in a map with one key/value entry per row in the table.
      Returns:
      a map containing the metadata of the MBTiles dataset