GPKGCoverageDataResults

Objective-C

@interface GPKGCoverageDataResults : NSObject

Swift

class GPKGCoverageDataResults : NSObject

Tiled Gridded Coverage Data results containing the coverage values from a requested area from a tile matrix zoom level

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithValues:(NSArray *)values
                     andTileMatrix:(GPKGTileMatrix *)tileMatrix;

    Swift

    init!(values: [Any]!, andTileMatrix tileMatrix: GPKGTileMatrix!)

    Parameters

    values

    coverage data results

    tileMatrix

    tile matrix

    Return Value

    new coverage data results

  • Get the double array of coverage data values stored as [row][column]

    Declaration

    Objective-C

    - (NSArray *)values;

    Swift

    func values() -> [Any]!

    Return Value

    coverage data values

  • Get the tile matrix used to find the coverage data values

    Declaration

    Objective-C

    - (GPKGTileMatrix *)tileMatrix;

    Swift

    func tileMatrix() -> GPKGTileMatrix!

    Return Value

    tile matrix

  • Get the results height

    Declaration

    Objective-C

    - (int)height;

    Swift

    func height() -> Int32

    Return Value

    height

  • Get the results width

    Declaration

    Objective-C

    - (int)width;

    Swift

    func width() -> Int32

    Return Value

    width

  • Get the coverage data value at the row and column

    Declaration

    Objective-C

    - (NSDecimalNumber *)valueAtRow:(int)row andColumn:(int)column;

    Swift

    func value(atRow row: Int32, andColumn column: Int32) -> NSDecimalNumber!

    Parameters

    row

    row index

    column

    column index

    Return Value

    coverage data value

  • Get the zoom level of the results

    Declaration

    Objective-C

    - (NSNumber *)zoomLevel;

    Swift

    func zoomLevel() -> NSNumber!

    Return Value

    zoom level