GPKGGriddedCoverageDao
Objective-C
@interface GPKGGriddedCoverageDao : GPKGBaseDao
Swift
class GPKGGriddedCoverageDao : GPKGBaseDao
Gridded Coverage Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGGriddedCoverageDao *)createWithDatabase:(GPKGConnection *)database;
Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGGriddedCoverageDao!
Parameters
database
database connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;
Swift
init!(database: GPKGConnection!)
Parameters
database
database connection
Return Value
new gridded coverage dao
-
Query by tile matrix set
Declaration
Objective-C
- (GPKGGriddedCoverage *)queryByTileMatrixSet: (GPKGTileMatrixSet *)tileMatrixSet;
Swift
func query(by tileMatrixSet: GPKGTileMatrixSet!) -> GPKGGriddedCoverage!
Parameters
tileMatrixSet
tile matrix set
Return Value
gridded coverage
-
Query by tile matrix set name
Declaration
Objective-C
- (GPKGGriddedCoverage *)queryByTileMatrixSetName:(NSString *)tileMatrixSetName;
Swift
func query(byTileMatrixSetName tileMatrixSetName: String!) -> GPKGGriddedCoverage!
Parameters
tileMatrixSetName
tile matrix set name
Return Value
gridded coverage
-
Delete by tile matrix set
Declaration
Objective-C
- (int)deleteByTileMatrixSet:(GPKGTileMatrixSet *)tileMatrixSet;
Swift
func delete(by tileMatrixSet: GPKGTileMatrixSet!) -> Int32
Parameters
tileMatrixSet
tile matrix set
Return Value
deleted count
-
Delete by table name
Declaration
Objective-C
- (int)deleteByTableName:(NSString *)tableName;
Swift
func delete(byTableName tableName: String!) -> Int32
Parameters
tableName
table name
Return Value
deleted count
-
Get the tile matrix set
Declaration
Objective-C
- (GPKGTileMatrixSet *)tileMatrixSet:(GPKGGriddedCoverage *)griddedCoverage;
Swift
func tileMatrixSet(_ griddedCoverage: GPKGGriddedCoverage!) -> GPKGTileMatrixSet!
Parameters
griddedCoverage
gridded coverage
Return Value
tile matrix set