GPKGGriddedCoverage

Objective-C

@interface GPKGGriddedCoverage : NSObject <NSMutableCopying>

Swift

class GPKGGriddedCoverage : NSObject, NSMutableCopying

Gridded Coverage object

  • id

    Auto increment primary key

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *id;

    Swift

    var id: NSNumber! { get set }
  • Foreign key to table_name in gpkg_tile_matrix_set

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *tileMatrixSetName;

    Swift

    var tileMatrixSetName: String! { get set }
  • ‘integer’ or ‘float’

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *datatype;

    Swift

    var datatype: String! { get set }
  • Scale as a multiple relative to the unit of measure

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *scale;

    Swift

    var scale: NSDecimalNumber! { get set }
  • The offset to the 0 value

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *offset;

    Swift

    var offset: NSDecimalNumber! { get set }
  • The smallest value that has meaning for this dataset

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *precision;

    Swift

    var precision: NSDecimalNumber! { get set }
  • The value that indicates NULL

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *dataNull;

    Swift

    var dataNull: NSDecimalNumber! { get set }
  • Specifies how a value is assigned to a grid cell (pixel)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *gridCellEncoding;

    Swift

    var gridCellEncoding: String! { get set }
  • uom

    Units of Measure for values in the grid coverage

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *uom;

    Swift

    var uom: String! { get set }
  • Type of Gridded Coverage Data (default is Height)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *fieldName;

    Swift

    var fieldName: String! { get set }
  • Description of the values contained in the Gridded Coverage

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *quantityDefinition;

    Swift

    var quantityDefinition: String! { get set }
  • Set the tile matrix set

    Declaration

    Objective-C

    - (void)setTileMatrixSet:(GPKGTileMatrixSet *)tileMatrixSet;

    Swift

    func setTileMatrixSet(_ tileMatrixSet: GPKGTileMatrixSet!)

    Parameters

    tileMatrixSet

    tile matrix set

  • Get the data type

    Declaration

    Objective-C

    - (enum GPKGGriddedCoverageDataType)griddedCoverageDataType;

    Swift

    func griddedCoverageDataType() -> GPKGGriddedCoverageDataType

    Return Value

    data type

  • Set the data type

    Declaration

    Objective-C

    - (void)setGriddedCoverageDataType:(enum GPKGGriddedCoverageDataType)dataType;

    Swift

    func setGriddedCoverageDataType(_ dataType: GPKGGriddedCoverageDataType)

    Parameters

    dataType

    data type

  • Get the scale or default value

    Declaration

    Objective-C

    - (double)scaleOrDefault;

    Swift

    func scaleOrDefault() -> Double

    Return Value

    scale as a multiple relative to the unit of measure

  • Get the offset or default value

    Declaration

    Objective-C

    - (double)offsetOrDefault;

    Swift

    func offsetOrDefault() -> Double

    Return Value

    offset to the 0 value

  • Get the precision or default value

    Declaration

    Objective-C

    - (double)precisionOrDefault;

    Swift

    func precisionOrDefault() -> Double

    Return Value

    smallest value that has meaning for this dataset

  • Get the encoding type

    Declaration

    Objective-C

    - (enum GPKGGriddedCoverageEncodingType)gridCellEncodingType;

    Swift

    func gridCellEncodingType() -> GPKGGriddedCoverageEncodingType

    Return Value

    encoding type

  • Set the encoding type

    Declaration

    Objective-C

    - (void)setGridCellEncodingType:
        (enum GPKGGriddedCoverageEncodingType)encodingType;

    Swift

    func setGridCellEncodingType(_ encodingType: GPKGGriddedCoverageEncodingType)

    Parameters

    encodingType

    encoding type