GPKGZoomOtherExtension

Objective-C

@interface GPKGZoomOtherExtension : GPKGBaseExtension

Swift

class GPKGZoomOtherExtension : GPKGBaseExtension

Zoom Other Intervals extension

https://www.geopackage.org/spec/#extension_zoom_other_intervals

  • Extension name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *extensionName;

    Swift

    var extensionName: String! { get set }
  • Extension definition URL

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *definition;

    Swift

    var definition: String! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage;

    Swift

    init!(geoPackage: GPKGGeoPackage!)

    Parameters

    geoPackage

    GeoPackage

    Return Value

    new instance

  • Get or create the extension

    Declaration

    Objective-C

    - (GPKGExtensions *)extensionCreateWithTableName:(NSString *)tableName;

    Swift

    func extensionCreate(withTableName tableName: String!) -> GPKGExtensions!

    Parameters

    tableName

    table name

    Return Value

    extension

  • Determine if the GeoPackage has the extension

    Declaration

    Objective-C

    - (BOOL)hasWithTableName:(NSString *)tableName;

    Swift

    func has(withTableName tableName: String!) -> Bool

    Parameters

    tableName

    table name

    Return Value

    true if has extension