![]() |
Maria GDK 5.0.0.737
Documentation of native code in develop branch
|
#include <MSqliteTilesDataSet.h>
Public Member Functions | |
bool | AddFile (const std::string &filename) |
MosaicResult | BuildRaster (const RasterMosaicer &mosaic, Maria::GeoBitmap &data, std::shared_ptr< Maria::RasterProjector > vp, double nominalScale) |
MosaicResult | BuildRasterTile (const RasterMosaicer &mosaic, Maria::GeoBitmap &data, Maria::TileId tileId, const Maria::TileCacheSpec &tcs) |
bool | ContainsTile (Maria::TileId tileId, const Maria::TileCacheSpec &tcs) |
bool | CalcResolutionArea (Maria::ResolutionArea &resArea) |
void | Close () |
bool | IsActive () |
bool | IsCompatibleTiling (const Maria::TileCacheSpec &tcs) |
BasicGeoTypes::RectD | CalcBoundingBox (const std::shared_ptr< Maria::IProjector > &pj) |
std::shared_ptr< Maria::IProjector > | GetProjector () |
bool | GetTileCacheSpec (Maria::TileCacheSpec &tcs) |
![]() | |
virtual bool | AddFile (const std::string &filename)=0 |
virtual MosaicResult | BuildRaster (const RasterMosaicer &mosaic, Maria::GeoBitmap &data, std::shared_ptr< Maria::RasterProjector > vp, double nominalScale)=0 |
virtual MosaicResult | BuildRasterTile (const RasterMosaicer &mosaic, Maria::GeoBitmap &data, Maria::TileId tileId, const Maria::TileCacheSpec &tcs)=0 |
virtual bool | ContainsTile (Maria::TileId tileId, const Maria::TileCacheSpec &tcs)=0 |
virtual bool | Intersects (std::shared_ptr< Maria::RasterProjector > vp) |
virtual bool | CheckResolution (std::shared_ptr< Maria::RasterProjector > vp, double nominalScale) |
virtual bool | CalcResolutionArea (Maria::ResolutionArea &resArea)=0 |
void | SetResolutionArea (const Maria::ResolutionArea &resArea) |
virtual BasicGeoTypes::RectD | CalcBoundingBox (const std::shared_ptr< Maria::IProjector > &pj)=0 |
virtual std::shared_ptr< Maria::IProjector > | GetProjector ()=0 |
virtual bool | GetTileCacheSpec (Maria::TileCacheSpec &) |
void | AddParams (const Maria::ValueBag ¶ms) |
virtual void | Close ()=0 |
virtual bool | IsActive ()=0 |
unsigned int | LastUsed () |
std::string | GetParam (const std::string &name) const |
bool | HasParam (const std::string &name) const |
void | SetParam (const std::string &name, const std::string &value) |
virtual bool | IsCompatibleTiling (const Maria::TileCacheSpec &) |
void | SetMetadata (std::shared_ptr< Metadata > md) |
std::shared_ptr< Metadata > | GetMetadata () const |
double | GetMinScaleParam () const |
double | GetMaxScaleParam () const |
double | GetMinResolutionParam () const |
double | GetMaxResolutionParam () const |
std::string | GetProjectionParamWKT () |
Additional Inherited Members | |
![]() | |
void | UpdateLastUsed () |
![]() | |
Maria::ValueBag | _params |
unsigned int | _lastused |
Maria::ResolutionArea | _resArea |
std::shared_ptr< Metadata > | metadata |
SqliteTilesDataSet - Short description. Detailed description.
|
virtual |
Add a data file to the data set. Returns true if the file could be added, false if not.
Implements Maria::RasterDataSet.
|
virtual |
Cut out an image for the area defined by the given viewport. This method should reproject and cut the input data to the projection and limits defined by the viewport.
Implements Maria::RasterDataSet.
|
virtual |
Get an image tile for the given tiling and tileId. This method should only be used for tiled data sets.
Implements Maria::RasterDataSet.
|
virtual |
Calculate bounding box in the given coordinate system.If the given coordinate system is null, the native coordinate system should be used.
Implements Maria::RasterDataSet.
|
virtual |
Calculate max resolution and bounding box for the data set in the given projection.
Implements Maria::RasterDataSet.
|
virtual |
Close dataset. This method should free up all data structures used by the data set.
Implements Maria::RasterDataSet.
|
virtual |
Check if dataset contains the given tile ID for the given tiling. This method should only be used for tiled data sets.
Implements Maria::RasterDataSet.
|
virtual |
Get the projection for this dataset. Return a projector for the native coordinate system of this dataset. If no projection is given WGS84 lat/lon is assumed.
Implements Maria::RasterDataSet.
|
virtual |
Get the tile cache specification for this dataset. For tiled datasets, such as MBTiles and QM2 this should return the native tiling of the dataset.
Reimplemented from Maria::RasterDataSet.
|
virtual |
Check if dataset is in use. This indicates that the dataset has loaded data into memory.
Implements Maria::RasterDataSet.
|
virtual |
Check if the data set is compatible with the given tiling.
Reimplemented from Maria::RasterDataSet.