GPKGTileTable

Objective-C

@interface GPKGTileTable : GPKGUserTable

Swift

class GPKGTileTable : GPKGUserTable

Represents a user tile table

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName;

    Swift

    init!(table tableName: String!)

    Parameters

    tableName

    table name

    Return Value

    new tile table

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                       andColumns:(NSArray *)columns;

    Swift

    init!(table tableName: String!, andColumns columns: [Any]!)

    Parameters

    tableName

    table name

    columns

    columns

    Return Value

    new tile table

  • Get the zoom level column index

    Declaration

    Objective-C

    - (int)zoomLevelIndex;

    Swift

    func zoomLevelIndex() -> Int32

    Return Value

    zoom level index

  • Get the zoom level column

    Declaration

    Objective-C

    - (GPKGTileColumn *)zoomLevelColumn;

    Swift

    func zoomLevelColumn() -> GPKGTileColumn!

    Return Value

    zoom level tile column

  • Get the tile column index

    Declaration

    Objective-C

    - (int)tileColumnIndex;

    Swift

    func tileColumnIndex() -> Int32

    Return Value

    tile column index

  • Get the tile column column

    Declaration

    Objective-C

    - (GPKGTileColumn *)tileColumnColumn;

    Swift

    func tileColumnColumn() -> GPKGTileColumn!

    Return Value

    tile column column

  • Get the tile row index

    Declaration

    Objective-C

    - (int)tileRowIndex;

    Swift

    func tileRowIndex() -> Int32

    Return Value

    tile row index

  • Get the tile row column

    Declaration

    Objective-C

    - (GPKGTileColumn *)tileRowColumn;

    Swift

    func tileRowColumn() -> GPKGTileColumn!

    Return Value

    tile row column

  • Get the tile data index

    Declaration

    Objective-C

    - (int)tileDataIndex;

    Swift

    func tileDataIndex() -> Int32

    Return Value

    tile data index

  • Get the tile data column

    Declaration

    Objective-C

    - (GPKGTileColumn *)tileDataColumn;

    Swift

    func tileDataColumn() -> GPKGTileColumn!

    Return Value

    tile data column

  • Create the required table columns

    Declaration

    Objective-C

    + (NSArray *)createRequiredColumns;

    Swift

    class func createRequiredColumns() -> [Any]!

    Return Value

    columns

  • Create the required table columns

    Declaration

    Objective-C

    + (NSArray *)createRequiredColumnsWithAutoincrement:(BOOL)autoincrement;

    Swift

    class func createRequiredColumns(withAutoincrement autoincrement: Bool) -> [Any]!

    Parameters

    autoincrement

    autoincrement id values

    Return Value

    tile columns

  • Create the required table columns, starting at the provided index

    Declaration

    Objective-C

    + (NSArray *)createRequiredColumnsWithStartingIndex:(int)startingIndex;

    Swift

    class func createRequiredColumns(withStarting startingIndex: Int32) -> [Any]!

    Parameters

    startingIndex

    starting column index

    Return Value

    columns

  • Create the required table columns, starting at the provided index

    Declaration

    Objective-C

    + (NSArray *)createRequiredColumnsWithStartingIndex:(int)startingIndex
                                       andAutoincrement:(BOOL)autoincrement;

    Swift

    class func createRequiredColumns(withStarting startingIndex: Int32, andAutoincrement autoincrement: Bool) -> [Any]!

    Parameters

    startingIndex

    starting index

    autoincrement

    autoincrement id values

    Return Value

    tile columns

  • Get the tile columns

    Declaration

    Objective-C

    - (GPKGTileColumns *)tileColumns;

    Swift

    func tileColumns() -> GPKGTileColumns!

    Return Value

    columns