|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Functions | |
| bool | checkSignature (std::istream &in) |
| Check signature method. More... | |
| bool | checkApplicationId (std::istream &in) |
| Check application_id. More... | |
| void | getTileEntries (sqlite3 *db, std::vector< ossimGpkgTileEntry > &entries) |
| Gets all the tile entries. More... | |
| bool | getTileEntry (sqlite3 *db, const std::string &tileTableName, ossimGpkgTileEntry &entry) |
| Gets tile entry whos table_name field matches tileTableName. More... | |
| template<class T > | |
| void | getGpkgRecords (sqlite3 *db, std::vector< T > &result, const std::string &dbTableName) |
| Get gpkg records. More... | |
| template<class T > | |
| void | getGpkgRecords (sqlite3 *db, std::vector< T > &result, const std::string &dbTableName, const std::string &table_name) |
| Get gpkg records. More... | |
| template<class T > | |
| bool | getGpkgRecord (sqlite3 *db, T &result, const std::string &dbTableName, const std::string &table_name) |
| Get gpkg record. More... | |
| bool | getSrsRecord (sqlite3 *db, ossim_int32 srs_id, ossimGpkgSpatialRefSysRecord &srs) |
| Get gpkg_spatial_ref_sys record for srs_it. More... | |
| bool | getTableRows (sqlite3 *db, const std::string &tableName, std::vector< ossimRefPtr< ossimGpkgDatabaseRecordBase > > &result) |
| Parse table rows. More... | |
| ossimRefPtr< ossimGpkgDatabaseRecordBase > | getNewTableRecord (const std::string &tableName) |
| Parse gpkg_spatial_ref_sys tables. More... | |
| std::ostream & | printTiles (sqlite3 *db, const std::string &tileTableName, std::ostream &out) |
| bool ossim_gpkg::checkApplicationId | ( | std::istream & | in | ) |
Check application_id.
Definition at line 50 of file ossimGpkgUtil.cpp.
| bool ossim_gpkg::checkSignature | ( | std::istream & | in | ) |
Check signature method.
Definition at line 30 of file ossimGpkgUtil.cpp.
Referenced by ossimGpkgInfo::open().
| bool ossim_gpkg::getGpkgRecord | ( | sqlite3 * | db, |
| T & | result, | ||
| const std::string & | dbTableName, | ||
| const std::string & | table_name | ||
| ) |
Get gpkg record.
class T must be derived from ossimGpkgDatabaseRecordBase.
| db | An open database. |
| result | Initialized by this. |
| dbTableName | e.g. "gpkg_contents". |
| table_name | e.g. "tiles" |
Definition at line 390 of file ossimGpkgUtil.cpp.
References ossimGpkgDatabaseRecordBase::init(), ossimNotify(), ossimNotifyLevel_WARN, and status.
Referenced by getTileEntry().
| void ossim_gpkg::getGpkgRecords | ( | sqlite3 * | db, |
| std::vector< T > & | result, | ||
| const std::string & | dbTableName | ||
| ) |
Get gpkg records.
class T must be derived from ossimGpkgDatabaseRecordBase.
| db | An open database. |
| result | Initialized by this. |
| dbTableName | E.g. "gpkg_contents". |
Definition at line 274 of file ossimGpkgUtil.cpp.
References ossimGpkgDatabaseRecordBase::init(), ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by getTileEntries(), and getTileEntry().
| void ossim_gpkg::getGpkgRecords | ( | sqlite3 * | db, |
| std::vector< T > & | result, | ||
| const std::string & | dbTableName, | ||
| const std::string & | table_name | ||
| ) |
Get gpkg records.
class T must be derived from ossimGpkgDatabaseRecordBase.
| db | An open database. |
| result | Initialized by this. |
| dbTableName | E.g. "gpkg_contents". |
| table_name | e.g. "tiles" |
Definition at line 331 of file ossimGpkgUtil.cpp.
References ossimGpkgDatabaseRecordBase::init(), ossimNotify(), and ossimNotifyLevel_WARN.
| ossimRefPtr< ossimGpkgDatabaseRecordBase > ossim_gpkg::getNewTableRecord | ( | const std::string & | tableName | ) |
Parse gpkg_spatial_ref_sys tables.
| db | An open database. |
| result | Initialized by this with records. |
| db | An open database. |
| result | Initialized by this with records. |
| db | An open database. |
| result | Initialized by this with records. |
Definition at line 561 of file ossimGpkgUtil.cpp.
References ossimGpkgContentsRecord::getTableName(), ossimGpkgNsgTileMatrixExtentRecord::getTableName(), ossimGpkgTileMatrixSetRecord::getTableName(), ossimGpkgTileMatrixRecord::getTableName(), and ossimGpkgSpatialRefSysRecord::getTableName().
Referenced by getTableRows().
| bool ossim_gpkg::getSrsRecord | ( | sqlite3 * | db, |
| ossim_int32 | srs_id, | ||
| ossimGpkgSpatialRefSysRecord & | srs | ||
| ) |
Get gpkg_spatial_ref_sys record for srs_it.
| db | An open database. |
| srs_id | ID to look for. |
| srs | Initialized by this. |
Definition at line 439 of file ossimGpkgUtil.cpp.
References ossimGpkgSpatialRefSysRecord::getTableName(), ossimGpkgDatabaseRecordBase::init(), ossimNotify(), ossimNotifyLevel_WARN, and status.
Referenced by getTileEntry().
| bool ossim_gpkg::getTableRows | ( | sqlite3 * | db, |
| const std::string & | tableName, | ||
| std::vector< ossimRefPtr< ossimGpkgDatabaseRecordBase > > & | result | ||
| ) |
Parse table rows.
| db | An open database. |
| tableName | e.g. "gpkg_contents" |
| result | Initialized by this with records. |
Definition at line 485 of file ossimGpkgUtil.cpp.
References getNewTableRecord(), ossimGpkgDatabaseRecordBase::init(), ossimNotify(), ossimNotifyLevel_WARN, status, and ossimRefPtr< T >::valid().
| void ossim_gpkg::getTileEntries | ( | sqlite3 * | db, |
| std::vector< ossimGpkgTileEntry > & | entries | ||
| ) |
Gets all the tile entries.
| db | An open database. |
| entries | Initialized by this. |
Definition at line 74 of file ossimGpkgUtil.cpp.
References ossimGpkgTileEntry::addTileMatrix(), ossimGpkgTileEntry::addTileMatrixExtent(), getGpkgRecords(), ossimGpkgTileMatrixSetRecord::getTableName(), ossimGpkgNsgTileMatrixExtentRecord::getTableName(), ossimGpkgTileMatrixRecord::getTableName(), ossimGpkgSpatialRefSysRecord::getTableName(), ossimGpkgTileEntry::getTileMatrix(), ossimGpkgTileEntry::getTileMatrixSet(), ossimGpkgTileMatrixSetRecord::m_srs_id, ossimGpkgTileMatrixSetRecord::m_table_name, ossimNotify(), ossimNotifyLevel_WARN, ossimGpkgTileEntry::setSrs(), ossimGpkgTileEntry::setTileMatrixSet(), ossimGpkgTileEntry::sortTileMatrix(), and ossimGpkgTileEntry::sortTileMatrixExtents().
| bool ossim_gpkg::getTileEntry | ( | sqlite3 * | db, |
| const std::string & | tileTableName, | ||
| ossimGpkgTileEntry & | entry | ||
| ) |
Gets tile entry whos table_name field matches tileTableName.
| db | An open database. |
| table_name | e.g. "tiles" |
| entries | Initialized by this. |
Definition at line 168 of file ossimGpkgUtil.cpp.
References ossimGpkgTileEntry::addTileMatrix(), ossimGpkgTileEntry::addTileMatrixExtent(), getGpkgRecord(), getGpkgRecords(), getSrsRecord(), ossimGpkgNsgTileMatrixExtentRecord::getTableName(), ossimGpkgTileMatrixRecord::getTableName(), ossimGpkgTileMatrixSetRecord::getTableName(), ossimGpkgTileEntry::getTileMatrix(), ossimGpkgTileEntry::getTileMatrixExtent(), ossimGpkgTileEntry::getTileMatrixSet(), ossimGpkgTileMatrixSetRecord::m_table_name, ossimNotify(), ossimNotifyLevel_WARN, ossimGpkgTileEntry::setSrs(), ossimGpkgTileEntry::setTileMatrixSet(), ossimGpkgTileEntry::sortTileMatrix(), ossimGpkgTileEntry::sortTileMatrixExtents(), and status.
Referenced by ossimGpkgWriter::addLevels().
| std::ostream & ossim_gpkg::printTiles | ( | sqlite3 * | db, |
| const std::string & | tileTableName, | ||
| std::ostream & | out | ||
| ) |
Definition at line 589 of file ossimGpkgUtil.cpp.
References ossimGpkgTileRecord::init(), and ossimGpkgTileRecord::setCopyTileFlag().
1.8.14