GPKGTileMatrix

Objective-C

@interface GPKGTileMatrix : NSObject <NSMutableCopying>

Swift

class GPKGTileMatrix : NSObject, NSMutableCopying

Tile Matrix object. Documents the structure of the tile matrix at each zoom level in each tiles table. It allows GeoPackages to contain rectangular as well as square tiles (e.g. for better representation of polar regions). It allows tile pyramids with zoom levels that differ in resolution by factors of 2, irregular intervals, or regular intervals other than factors of 2.

  • Tile Pyramid User Data Table Name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *tableName;

    Swift

    var tableName: String! { get set }
  • 0 ⇐ zoom_level ⇐ max_level for table_name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *zoomLevel;

    Swift

    var zoomLevel: NSNumber! { get set }
  • Number of columns (>= 1) in tile matrix at this zoom level

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *matrixWidth;

    Swift

    var matrixWidth: NSNumber! { get set }
  • Number of rows (>= 1) in tile matrix at this zoom level

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *matrixHeight;

    Swift

    var matrixHeight: NSNumber! { get set }
  • Tile width in pixels (>= 1)for this zoom level

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *tileWidth;

    Swift

    var tileWidth: NSNumber! { get set }
  • Tile height in pixels (>= 1)for this zoom level

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *tileHeight;

    Swift

    var tileHeight: NSNumber! { get set }
  • In t_table_name srid units or default meters for srid 0 (>0)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *pixelXSize;

    Swift

    var pixelXSize: NSDecimalNumber! { get set }
  • In t_table_name srid units or default meters for srid 0 (>0)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDecimalNumber *pixelYSize;

    Swift

    var pixelYSize: NSDecimalNumber! { get set }
  • Set the Contents

    Declaration

    Objective-C

    - (void)setContents:(GPKGContents *)contents;

    Swift

    func setContents(_ contents: GPKGContents!)

    Parameters

    contents

    contents

  • Set the pixel x size

    Declaration

    Objective-C

    - (void)setPixelXSizeValue:(double)pixelXSize;

    Swift

    func setPixelXSizeValue(_ pixelXSize: Double)

    Parameters

    pixelXSize

    pixel x size

  • Set the pixel y size

    Declaration

    Objective-C

    - (void)setPixelYSizeValue:(double)pixelYSize;

    Swift

    func setPixelYSizeValue(_ pixelYSize: Double)

    Parameters

    pixelYSize

    pixel y size