|
virtual bool | openDB (const std::string &filename, int flags=GPKG_READONLY) |
|
bool | closeDB () |
|
int64_t | writeTile (TileId tileId, const Maria::GeoBitmap &data, const std::string &tileSetId="") |
|
int64_t | writeTile (int z, int x, int y, const Maria::GeoBitmap &data, const std::string &tileSetId="") |
|
bool | readTileAncillary (int64_t tileId, double &scale, double &offset, double &min, double &max, double &mean, double &std_dev, const std::string &tileSetId="") const |
|
bool | readTileAncillary (int z, int x, int y, double &scale, double &offset, double &min, double &max, double &mean, double &std_dev, const std::string &tileSetId="") const |
|
int64_t | readTile (int z, int x, int y, Maria::GeoBitmap &data, const std::string &tileSetId="") const |
|
int64_t | readTile (TileId tileId, Maria::GeoBitmap &data, const std::string &tileSetId="") const |
|
int64_t | getTileTableId (TileId tileId, const std::string &tileSetId="") const |
|
int64_t | getTileTableId (int z, int x, int y, const std::string &tileSetId="") const |
|
bool | deleteTile (TileId tileId) |
|
const Stats & | stats () const |
|
bool | tileExists (TileId tileId, const std::string &tileSet="") const |
|
bool | tileExists (int z, int x, int y, const std::string &tileSet="") const |
|
void | dumpStats () |
|
void | setMaxTransactions (int maxTransactions) |
|
int | maxTransactions () const |
|
std::shared_ptr< IProjector > | getSRSProjection (int srsId) |
|
const std::map< int, SRSEntry > & | getSRS () const |
|
const std::map< std::string, std::shared_ptr< TileSet > > & | getTileSets () const |
|
bool | initTileSet (const TileCacheSpec &tcs, int minlevel, int maxlevel, std::string tileSetId="", GeoPackage::TileDataFormat tileFormat=GPKG_IMG_ANY) |
|
bool | initElevationTileSet (const TileCacheSpec &tcs, int minlevel, int maxlevel, double scale, double offset, double precision, double data_null, std::string tileSetId="", GeoPackage::TileDataFormat tileFormat=GPKG_ELEV_ANY) |
|
bool | getTileSize (int &width, int &height, const std::string &tileSetId="") |
|
std::shared_ptr< IProjector > | getProjector (const std::string &tileSetId="") |
|
bool | getBoundingBox (double &xMin, double &yMin, double &xMax, double &yMax, const std::string &tileSetId="") |
|
bool | getTileBoundingBox (double &xMin, double &yMin, double &xMax, double &yMax, const std::string &tileSetId="") |
|
bool | setBoundingBox (double xMin, double yMin, double xMax, double yMax, const std::string &tileSetId="") |
|
bool | updateTileBoundingBox (double &xMin, double &yMin, double &xMax, double &yMax, const std::string &tileSetId="") |
|
bool | getMaxResolution (double &pixelSizeX, double &pixelSizeY, const std::string &tileSetId="") |
|
std::shared_ptr< TileSet > | getTileSet (const std::string &tileSetId="") const |
|
bool | getTileCacheSpec (Maria::TileCacheSpec &tcs, const std::string tileSetId="") |
|
bool | hasExtension (const std::string &extName) |
|
bool | getTiffCompression () const |
|
void | setTiffCompression (bool useTiffCompression) |
|
void | setJPEGQuality (int jpegQuality) |
|
bool | hasPerTileScaleOffset () const |
|
|
virtual bool | initDB () |
|
bool | readSRS () |
|
bool | readContents () |
|
bool | readTileSets () |
|
bool | readTileMatrix () |
|
bool | readElevationTileSets () |
|
int | getCreateSRS (const std::shared_ptr< Maria::IProjector > &pj) |
|
int | getMaxSRSId () |
|
std::shared_ptr< GeoPackage::TileSet > | initTileSet (const std::shared_ptr< TileSet > &ts) |
|
bool | updateContents (const std::shared_ptr< TileSet > &ts) |
|
bool | updateTileSet (const std::shared_ptr< TileSet > &tileSet) |
|
std::shared_ptr< TileLevel > | getTileLevel (const std::shared_ptr< TileSet > &ts, int lvl) |
|
std::shared_ptr< TileLevel > | createTileLevel (const std::shared_ptr< TileSet > &ts, int lvl) |
|
bool | updateTileLevel (const std::shared_ptr< TileSet > &ts, const std::shared_ptr< TileLevel > &tl) |
|
bool | setTileCacheSpec (const std::shared_ptr< TileSet > &ts, const Maria::TileCacheSpec &tcs, int minlevel, int maxlevel) |
|
bool | insertExtension (const std::string &table, const std::string &column, const std::string &extension, const std::string &definition, const std::string &scope) |
|
bool | calcTileStats (const std::shared_ptr< TileSet > &ts, const Maria::GeoBitmap &data, double &min, double &max, double &mean, double &std_dev) |
|
bool | calcTileBounds (const std::shared_ptr< TileSet > &ts) |
|
long long | writeTileData (int z, int x, int y, const std::vector< unsigned char > &data, const std::shared_ptr< TileSet > &ts) |
|
bool | writeTileAncillary (const std::string &tileSetId, int id, double scale, double offset, double min, double max, double mean, double std_dev) |
|
int64_t | readTileData (int z, int x, int y, std::vector< unsigned char > &data, const std::shared_ptr< TileSet > &ts) const |
|
bool | isCompatibleTileFormat (TileDataFormat fmt1, TileDataFormat fmt2) |
|
void | calcCombinedScaleOffset (int64_t tileId, double &scale, double &offset, const std::string &tileSetId) const |
|
GeoPackage - Short description. Detailed description.