Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::SqliteTiles Class Reference

#include <MSqliteTiles.h>

Classes

struct  Stats
 

Public Member Functions

bool openDB (const std::string &filename)
 
bool closeDB ()
 
bool readTileData (int z, int x, int y, std::vector< unsigned char > &data) const
 Get tile data for the given tile index (in TMS scheme)
 
bool readTileData (TileId tileId, std::vector< unsigned char > &data) const
 Get tile data for the given tile index (in TMS scheme)
 
double lonMin () const
 
double latMin () const
 
double lonMax () const
 
double latMax () const
 
int minlevel () const
 
int maxlevel () const
 
const Statsstats () const
 
bool tileExists (TileId tileId)
 
void dumpStats ()
 
int imageSize () const
 
double calcCenterResolution ()
 

Protected Member Functions

void calcBounds ()
 
void updateBounds (int z, int x, int y)
 

Protected Attributes

sqlite3 * _db = nullptr
 
int _minlevel = 9999
 
int _maxlevel = -1
 
double _lonMin = 999
 
double _latMin = 999
 
double _lonMax = -999
 
double _latMax = -999
 
int _imgsize = 256
 
Stats _stats
 

Detailed Description

SqliteTiles - Generic tiles database in sqlite format.


The documentation for this class was generated from the following files: