GPKGTileTableScaling
Objective-C
@interface GPKGTileTableScaling : GPKGBaseExtension
Swift
class GPKGTileTableScaling : GPKGBaseExtension
Abstract Tile Table Scaling, for scaling tiles from nearby zoom levels for missing tiles
http://ngageoint.github.io/GeoPackage/docs/extensions/tile-scaling.html
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTileMatrixSet:(GPKGTileMatrixSet *)tileMatrixSet;
Swift
init!(geoPackage: GPKGGeoPackage!, andTileMatrixSet tileMatrixSet: GPKGTileMatrixSet!)
Parameters
geoPackage
GeoPackage
tileMatrixSet
tile matrix set
Return Value
new tile table scaling
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTileMatrix:(GPKGTileMatrix *)tileMatrix;
Swift
init!(geoPackage: GPKGGeoPackage!, andTileMatrix tileMatrix: GPKGTileMatrix!)
Parameters
geoPackage
GeoPackage
tileMatrix
tile matrix
Return Value
new tile table scaling
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTileDao:(GPKGTileDao *)tileDao;
Swift
init!(geoPackage: GPKGGeoPackage!, andTileDao tileDao: GPKGTileDao!)
Parameters
geoPackage
GeoPackage
tileDao
tile dao
Return Value
new tile table scaling
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)tableName;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName tableName: String!)
Parameters
geoPackage
GeoPackage
tableName
table name
Return Value
new tile table scaling
-
Get the table name
Declaration
Objective-C
- (NSString *)tableName;
Swift
func tableName() -> String!
Return Value
table name
-
Get the Tile Scaling DAO
Return Value
tile scaling dao
-
Get the extension name
Declaration
Objective-C
- (NSString *)extensionName;
Swift
func extensionName() -> String!
Return Value
extension name
-
Get the extension definition
Declaration
Objective-C
- (NSString *)extensionDefinition;
Swift
func extensionDefinition() -> String!
Return Value
extension definition
-
Determine if the GeoPackage has the extension
Declaration
Objective-C
- (BOOL)has;
Swift
func has() -> Bool
Return Value
true if has extension
-
Get the tile scaling
Declaration
Objective-C
- (GPKGTileScaling *)tileScaling;
Swift
func tileScaling() -> GPKGTileScaling!
Return Value
tile scaling
-
Create the tile scaling (same as calling createOrUpdate(TileScaling))
Declaration
Objective-C
- (void)create:(GPKGTileScaling *)tileScaling;
Swift
func create(_ tileScaling: GPKGTileScaling!)
Parameters
tileScaling
tile scaling
-
Update the tile scaling (same as calling createOrUpdate(TileScaling))
Declaration
Objective-C
- (void)update:(GPKGTileScaling *)tileScaling;
Swift
func update(_ tileScaling: GPKGTileScaling!)
Parameters
tileScaling
tile scaling
-
Create or update the tile scaling
Declaration
Objective-C
- (void)createOrUpdate:(GPKGTileScaling *)tileScaling;
Swift
func createOrUpdate(_ tileScaling: GPKGTileScaling!)
Parameters
tileScaling
tile scaling
-
Delete the tile table scaling for the tile table
Declaration
Objective-C
- (BOOL)delete;
Swift
func delete() -> Bool
Return Value
true if deleted
-
Get the extension
Return Value
extensions object or null if one does not exist
-
Get a Tile Scaling DAO
Declaration
Objective-C
- (GPKGTileScalingDao *)tileScalingDao;
Swift
func tileScalingDao() -> GPKGTileScalingDao!
Return Value
tile scaling dao
-
Get a Tile Scaling DAO
Declaration
Objective-C
+ (GPKGTileScalingDao *)tileScalingDaoWithGeoPackage: (GPKGGeoPackage *)geoPackage;
Swift
class func tileScalingDao(with geoPackage: GPKGGeoPackage!) -> GPKGTileScalingDao!
Parameters
geoPackage
GeoPackage
Return Value
tile scaling dao
-
Get a Tile Scaling DAO
Declaration
Objective-C
+ (GPKGTileScalingDao *)tileScalingDaoWithDatabase:(GPKGConnection *)database;
Swift
class func tileScalingDao(withDatabase database: GPKGConnection!) -> GPKGTileScalingDao!
Parameters
database
database connection
Return Value
tile scaling dao
-
Create the Tile Scaling Table if it does not exist
Declaration
Objective-C
- (BOOL)createTileScalingTable;
Swift
func createTileScalingTable() -> Bool
Return Value
true if created