Package com.luciad.format.mbtiles
Class TLcdMBTilesDataSource
java.lang.Object
com.luciad.format.mbtiles.TLcdMBTilesDataSource
- All Implemented Interfaces:
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type identifier for MBTiles data, used to distinguish vector tiles and image tiles.static enum
The source containing the MBTiles data, use to distinguish files and services. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the type of the data this data source refers to.Returns a string description of the data source.getName()
Returns the name of the data this data source refers to.Returns the filename of the MBTiles file this data source refers toReturns the source type of the data source .int
hashCode()
boolean
Determines if the given data source can be decoded by LuciadLightspeed or nottoString()
-
Method Details
-
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 interfaceILcdDataSource
- Returns:
- a String describing the data source.
-
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
Returns the name of the data this data source refers to.- Returns:
- The name of the data, never
null
-
getDataType
Returns the type of the data this data source refers to.- Returns:
- The type of data.
-
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
-
equals
-
hashCode
public int hashCode()
-