Class TLcdMBTilesDataSource

java.lang.Object
com.luciad.format.mbtiles.TLcdMBTilesDataSource
All Implemented Interfaces:
ILcdDataSource

public class TLcdMBTilesDataSource extends Object implements ILcdDataSource
Data source for an MBTiles data set.

You can use TLcdMBTilesModelDecoder.discoverDataSources(String) to retrieve the data source for a single MBTiles file.

You can use TLcdMBTilesModelDecoder.decodeSource(com.luciad.model.ILcdDataSource) to create a model for an MBTiles data source.

Since:
2023.1
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: ILcdDataSource
      Returns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      a String describing the data source.
    • getSource

      public String getSource()
      Returns the filename of the MBTiles file this data source refers to
      Returns:
      The filename of the MBTiles file this data source refers to, never null
    • getName

      public String getName()
      Returns the name of the data this data source refers to.
      Returns:
      The name of the data, never null
    • getDataType

      public TLcdMBTilesDataSource.MBTilesType getDataType()
      Returns the type of the data this data source refers to.
      Returns:
      The type of data.
    • getSourceType

      public TLcdMBTilesDataSource.SourceType getSourceType()
      Returns the source type of the data source .
      Returns:
      The type of data source.
      Since:
      2024.0
    • isSupported

      public boolean isSupported()
      Determines if the given data source can be decoded by LuciadLightspeed or not
      Returns:
      true if the given data source is supported; false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object