19 #include "qgis_core.h"
42 explicit QgsMbTiles(
const QString &filename );
58 QString metadataValue(
const QString &key );
64 void setMetadataValue(
const QString &key,
const QString &value );
70 QByteArray tileData(
int z,
int x,
int y );
73 QImage tileDataAsImage(
int z,
int x,
int y );
79 void setTileData(
int z,
int x,
int y,
const QByteArray &data );
82 static bool decodeGzip(
const QByteArray &bytesIn, QByteArray &bytesOut );
84 static bool encodeGzip(
const QByteArray &bytesIn, QByteArray &bytesOut );
Utility class for reading and writing MBTiles files (which are SQLite3 databases).
A rectangle specified with double values.
Unique pointer for sqlite3 databases, which automatically closes the database when the pointer goes o...