GPKGNGAExtensions

Objective-C

@interface GPKGNGAExtensions : GPKGExtensionManagement

Swift

class GPKGNGAExtensions : GPKGExtensionManagement

NGA extensions

http://ngageoint.github.io/GeoPackage/docs/extensions/

  • Create

    Declaration

    Objective-C

    + (GPKGNGAExtensions *)createWithGeoPackage:(GPKGGeoPackage *)geoPackage;

    Swift

    class func create(with geoPackage: GPKGGeoPackage!) -> GPKGNGAExtensions!

    Parameters

    geoPackage

    GeoPackage

  • Initialize

    Declaration

    Objective-C

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

    Swift

    init!(geoPackage: GPKGGeoPackage!)

    Parameters

    geoPackage

    GeoPackage

    Return Value

    new instance

  • Delete the Geometry Index extension for the table

    Declaration

    Objective-C

    - (void)deleteGeometryIndexForTable:(NSString *)table;

    Swift

    func deleteGeometryIndex(forTable table: String!)

    Parameters

    table

    table name

  • Delete the Geometry Index extension including the extension entries and custom tables

    Declaration

    Objective-C

    - (void)deleteGeometryIndexExtension;

    Swift

    func deleteGeometryIndexExtension()
  • Copy the Geometry Index extension for the table

    Declaration

    Objective-C

    - (void)copyGeometryIndexFromTable:(NSString *)table
                               toTable:(NSString *)newTable;

    Swift

    func copyGeometryIndex(fromTable table: String!, toTable newTable: String!)

    Parameters

    table

    table name

    newTable

    new table name

  • Delete the Feature Tile Link extensions for the table

    Declaration

    Objective-C

    - (void)deleteFeatureTileLinkForTable:(NSString *)table;

    Swift

    func deleteFeatureTileLink(forTable table: String!)

    Parameters

    table

    table name

  • Delete the Feature Tile Link extension including the extension entries and custom tables

    Declaration

    Objective-C

    - (void)deleteFeatureTileLinkExtension;

    Swift

    func deleteFeatureTileLinkExtension()
  • Copy the Feature Tile Link extensions for the table

    Declaration

    Objective-C

    - (void)copyFeatureTileLinkFromTable:(NSString *)table
                                 toTable:(NSString *)newTable;

    Swift

    func copyFeatureTileLink(fromTable table: String!, toTable newTable: String!)

    Parameters

    table

    table name

    newTable

    new table name

  • Delete the Tile Scaling extensions for the table

    Declaration

    Objective-C

    - (void)deleteTileScalingForTable:(NSString *)table;

    Swift

    func deleteTileScaling(forTable table: String!)

    Parameters

    table

    table name

  • Delete the Tile Scaling extension including the extension entries and custom tables

    Declaration

    Objective-C

    - (void)deleteTileScalingExtension;

    Swift

    func deleteTileScalingExtension()
  • Copy the Tile Scaling extensions for the table

    Declaration

    Objective-C

    - (void)copyTileScalingFromTable:(NSString *)table toTable:(NSString *)newTable;

    Swift

    func copyTileScaling(fromTable table: String!, toTable newTable: String!)

    Parameters

    table

    table name

    newTable

    new table name

  • Delete the Properties extension if the deleted table is the properties table

    Declaration

    Objective-C

    - (void)deletePropertiesForTable:(NSString *)table;

    Swift

    func deleteProperties(forTable table: String!)

    Parameters

    table

    table name

  • Delete the properties extension from the GeoPackage

    Declaration

    Objective-C

    - (void)deletePropertiesExtension;

    Swift

    func deletePropertiesExtension()
  • Delete the Feature Style extensions for the table

    Declaration

    Objective-C

    - (void)deleteFeatureStyleForTable:(NSString *)table;

    Swift

    func deleteFeatureStyle(forTable table: String!)

    Parameters

    table

    table name

  • Delete the Feature Style extension including the extension entries and custom tables

    Declaration

    Objective-C

    - (void)deleteFeatureStyleExtension;

    Swift

    func deleteFeatureStyleExtension()
  • Copy the Feature Style extensions for the table. Relies on {@link GeoPackageExtensions#copyRelatedTables(GeoPackageCore, String, String)} to be called first.

    Declaration

    Objective-C

    - (void)copyFeatureStyleFromTable:(NSString *)table
                              toTable:(NSString *)newTable;

    Swift

    func copyFeatureStyle(fromTable table: String!, toTable newTable: String!)
  • Delete the Contents Id extensions for the table

    Declaration

    Objective-C

    - (void)deleteContentsIdForTable:(NSString *)table;

    Swift

    func deleteContentsId(forTable table: String!)

    Parameters

    table

    table name

  • Delete the Contents Id extension including the extension entries and custom tables

    Declaration

    Objective-C

    - (void)deleteContentsIdExtension;

    Swift

    func deleteContentsIdExtension()
  • Copy the Contents Id extensions for the table

    Declaration

    Objective-C

    - (void)copyContentsIdFromTable:(NSString *)table toTable:(NSString *)newTable;

    Swift

    func copyContentsId(fromTable table: String!, toTable newTable: String!)

    Parameters

    table

    table name

    newTable

    new table name