GPKGTileMatrixDao
Objective-C
@interface GPKGTileMatrixDao : GPKGBaseDao
Swift
class GPKGTileMatrixDao : GPKGBaseDao
Tile Matrix Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGTileMatrixDao *)createWithDatabase:(GPKGConnection *)database;Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGTileMatrixDao!Parameters
databasedatabase connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;Swift
init!(database: GPKGConnection!)Parameters
databasedatabase connection
Return Value
new tile matrix dao
-
Get the Contents of the Tile Matrix
Declaration
Objective-C
- (GPKGContents *)contents:(GPKGTileMatrix *)tileMatrix;Swift
func contents(_ tileMatrix: GPKGTileMatrix!) -> GPKGContents!Parameters
tileMatrixtile matrix
Return Value
contents
-
Query tile matrices for a table name
Declaration
Objective-C
- (GPKGResultSet *)queryForTableName:(NSString *)table;Swift
func query(forTableName table: String!) -> GPKGResultSet!Parameters
tabletable name
Return Value
result set
-
Query tile matrices for a table name
Declaration
Objective-C
- (NSArray<GPKGTileMatrix *> *)tileMatricesForTableName:(NSString *)table;Swift
func tileMatrices(forTableName table: String!) -> [GPKGTileMatrix]!Parameters
tabletable name
Return Value
tile matrices
-
Delete Tile Matrices for a table name
Declaration
Objective-C
- (int)deleteByTableName:(NSString *)table;Swift
func delete(byTableName table: String!) -> Int32Parameters
tabletable name
Return Value
rows deleted
View on GitHub
GPKGTileMatrixDao Class Reference