GPKGFeatureStyleExtension

Objective-C

@interface GPKGFeatureStyleExtension : GPKGBaseExtension

Swift

class GPKGFeatureStyleExtension : GPKGBaseExtension

Feature Style extension

http://ngageoint.github.io/GeoPackage/docs/extensions/feature-style.html

  • Initialize

    Declaration

    Objective-C

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

    Swift

    init!(geoPackage: GPKGGeoPackage!)

    Parameters

    geoPackage

    GeoPackage

    Return Value

    new feature style extension

  • Get the feature tables registered with the extension

    Declaration

    Objective-C

    - (NSArray<NSString *> *)tables;

    Swift

    func tables() -> [String]!

    Return Value

    list of feature table names

  • Get the extension name

    Declaration

    Objective-C

    - (NSString *)extensionName;

    Swift

    func extensionName() -> String!

    Return Value

    extension name

  • Determine if the GeoPackage has the extension

    Declaration

    Objective-C

    - (BOOL)has;

    Swift

    func has() -> Bool

    Return Value

    true if has extension

  • Get the extension for the feature table

    Declaration

    Objective-C

    - (GPKGExtensions *)forTable:(NSString *)featureTable;

    Swift

    func forTable(_ featureTable: String!) -> GPKGExtensions!

    Parameters

    featureTable

    feature table

    Return Value

    extension

  • Determine if the GeoPackage has the extension for the feature table

    Declaration

    Objective-C

    - (BOOL)hasWithTable:(NSString *)featureTable;

    Swift

    func has(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if has extension

  • Get the related tables extension

    Declaration

    Objective-C

    - (GPKGRelatedTablesExtension *)relatedTables;

    Swift

    func relatedTables() -> GPKGRelatedTablesExtension!

    Return Value

    related tables extension

  • Get the contents id extension

    Declaration

    Objective-C

    - (GPKGContentsIdExtension *)contentsId;

    Swift

    func contentsId() -> GPKGContentsIdExtension!

    Return Value

    contents id extension

  • Create style table

    Declaration

    Objective-C

    - (BOOL)createStyleTable;

    Swift

    func createStyleTable() -> Bool

    Return Value

    true if created, false if the table already existed

  • Create icon table

    Declaration

    Objective-C

    - (BOOL)createIconTable;

    Swift

    func createIconTable() -> Bool

    Return Value

    true if created, false if the table already existed

  • Create style, icon, table style, and table icon relationships for the feature table

    Declaration

    Objective-C

    - (void)createRelationshipsWithTable:(NSString *)featureTable;

    Swift

    func createRelationships(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Check if feature table has a style, icon, table style, or table icon relationships

    Declaration

    Objective-C

    - (BOOL)hasRelationshipWithTable:(NSString *)featureTable;

    Swift

    func hasRelationship(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if has a relationship

  • Create a style relationship for the feature table

    Declaration

    Objective-C

    - (void)createStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func createStyleRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Determine if a style relationship exists for the feature table

    Declaration

    Objective-C

    - (BOOL)hasStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func hasStyleRelationship(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if relationship exists

  • Create a feature table style relationship

    Declaration

    Objective-C

    - (void)createTableStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func createTableStyleRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Determine if a feature table style relationship exists

    Declaration

    Objective-C

    - (BOOL)hasTableStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func hasTableStyleRelationship(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if relationship exists

  • Create an icon relationship for the feature table

    Declaration

    Objective-C

    - (void)createIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func createIconRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Determine if an icon relationship exists for the feature table

    Declaration

    Objective-C

    - (BOOL)hasIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func hasIconRelationship(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if relationship exists

  • Create a feature table icon relationship

    Declaration

    Objective-C

    - (void)createTableIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func createTableIconRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Determine if a feature table icon relationship exists

    Declaration

    Objective-C

    - (BOOL)hasTableIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func hasTableIconRelationship(withTable featureTable: String!) -> Bool

    Parameters

    featureTable

    feature table

    Return Value

    true if relationship exists

  • Get the mapping table name

    Declaration

    Objective-C

    - (NSString *)mappingTableNameWithPrefix:(NSString *)tablePrefix
                                    andTable:(NSString *)featureTable;

    Swift

    func mappingTableName(withPrefix tablePrefix: String!, andTable featureTable: String!) -> String!

    Parameters

    tablePrefix

    table name prefix

    featureTable

    feature table name

    Return Value

    mapping table name

  • Get style table relations

    Declaration

    Objective-C

    - (GPKGResultSet *)styleTableRelations;

    Swift

    func styleTableRelations() -> GPKGResultSet!

    Return Value

    extended relations

  • Determine if there are style table relations

    Declaration

    Objective-C

    - (BOOL)hasStyleTableRelations;

    Swift

    func hasStyleTableRelations() -> Bool

    Return Value

    true if has style table relations

  • Get icon table relations

    Declaration

    Objective-C

    - (GPKGResultSet *)iconTableRelations;

    Swift

    func iconTableRelations() -> GPKGResultSet!

    Return Value

    extended relations

  • Determine if there are icon table relations

    Declaration

    Objective-C

    - (BOOL)hasIconTableRelations;

    Swift

    func hasIconTableRelations() -> Bool

    Return Value

    true if has icon table relations

  • Delete the style and icon table and row relationships for all feature tables

    Declaration

    Objective-C

    - (void)deleteRelationships;

    Swift

    func deleteRelationships()
  • Delete the style and icon table and row relationships for the feature table

    Declaration

    Objective-C

    - (void)deleteRelationshipsWithTable:(NSString *)featureTable;

    Swift

    func deleteRelationships(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete a style relationship for the feature table

    Declaration

    Objective-C

    - (void)deleteStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func deleteStyleRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete a table style relationship for the feature table

    Declaration

    Objective-C

    - (void)deleteTableStyleRelationshipWithTable:(NSString *)featureTable;

    Swift

    func deleteTableStyleRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete a icon relationship for the feature table

    Declaration

    Objective-C

    - (void)deleteIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func deleteIconRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete a table icon relationship for the feature table

    Declaration

    Objective-C

    - (void)deleteTableIconRelationshipWithTable:(NSString *)featureTable;

    Swift

    func deleteTableIconRelationship(withTable featureTable: String!)

    Parameters

    featureTable

    feature table

  • Completely remove and delete the extension and all styles and icons

    Declaration

    Objective-C

    - (void)removeExtension;

    Swift

    func remove()
  • Get a Style Mapping DAO

    Declaration

    Objective-C

    - (GPKGStyleMappingDao *)styleMappingDaoWithTable:(NSString *)featureTable;

    Swift

    func styleMappingDao(withTable featureTable: String!) -> GPKGStyleMappingDao!

    Parameters

    featureTable

    feature table

    Return Value

    style mapping DAO

  • Get a Table Style Mapping DAO

    Declaration

    Objective-C

    - (GPKGStyleMappingDao *)tableStyleMappingDaoWithTable:(NSString *)featureTable;

    Swift

    func tableStyleMappingDao(withTable featureTable: String!) -> GPKGStyleMappingDao!

    Parameters

    featureTable

    feature table

    Return Value

    table style mapping DAO

  • Get a Icon Mapping DAO

    Declaration

    Objective-C

    - (GPKGStyleMappingDao *)iconMappingDaoWithTable:(NSString *)featureTable;

    Swift

    func iconMappingDao(withTable featureTable: String!) -> GPKGStyleMappingDao!

    Parameters

    featureTable

    feature table

    Return Value

    icon mapping DAO

  • Get a Table Icon Mapping DAO

    Declaration

    Objective-C

    - (GPKGStyleMappingDao *)tableIconMappingDaoWithTable:(NSString *)featureTable;

    Swift

    func tableIconMappingDao(withTable featureTable: String!) -> GPKGStyleMappingDao!

    Parameters

    featureTable

    feature table

    Return Value

    table icon mapping DAO

  • Get a style DAO

    Declaration

    Objective-C

    - (GPKGStyleDao *)styleDao;

    Swift

    func styleDao() -> GPKGStyleDao!

    Return Value

    style DAO

  • Get a icon DAO

    Declaration

    Objective-C

    - (GPKGIconDao *)iconDao;

    Swift

    func iconDao() -> GPKGIconDao!

    Return Value

    icon DAO

  • Get the feature table default feature styles

    Declaration

    Objective-C

    - (GPKGFeatureStyles *)tableFeatureStylesWithTable:
        (GPKGFeatureTable *)featureTable;

    Swift

    func tableFeatureStyles(with featureTable: GPKGFeatureTable!) -> GPKGFeatureStyles!

    Parameters

    featureTable

    feature table

    Return Value

    table feature styles or null

  • Get the feature table default feature styles

    Declaration

    Objective-C

    - (GPKGFeatureStyles *)tableFeatureStylesWithTableName:(NSString *)featureTable;

    Swift

    func tableFeatureStyles(withTableName featureTable: String!) -> GPKGFeatureStyles!

    Parameters

    featureTable

    feature table

    Return Value

    table feature styles or null

  • Get the feature table default styles

    Declaration

    Objective-C

    - (GPKGStyles *)tableStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func tableStyles(with featureTable: GPKGFeatureTable!) -> GPKGStyles!

    Parameters

    featureTable

    feature table

    Return Value

    table styles or null

  • Get the feature table default styles

    Declaration

    Objective-C

    - (GPKGStyles *)tableStylesWithTableName:(NSString *)featureTable;

    Swift

    func tableStyles(withTableName featureTable: String!) -> GPKGStyles!

    Parameters

    featureTable

    feature table

    Return Value

    table styles or null

  • Get the style of the feature table and geometry type

    Declaration

    Objective-C

    - (GPKGStyleRow *)tableStyleWithTableName:(NSString *)featureTable
                              andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func tableStyle(withTableName featureTable: String!, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    Return Value

    style row

  • Get the default style of the feature table

    Declaration

    Objective-C

    - (GPKGStyleRow *)tableStyleDefaultWithTableName:(NSString *)featureTable;

    Swift

    func tableStyleDefault(withTableName featureTable: String!) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    Return Value

    style row

  • Get the feature table default icons

    Declaration

    Objective-C

    - (GPKGIcons *)tableIconsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func tableIcons(with featureTable: GPKGFeatureTable!) -> GPKGIcons!

    Parameters

    featureTable

    feature table

    Return Value

    table icons or null

  • Get the feature table default icons

    Declaration

    Objective-C

    - (GPKGIcons *)tableIconsWithTableName:(NSString *)featureTable;

    Swift

    func tableIcons(withTableName featureTable: String!) -> GPKGIcons!

    Parameters

    featureTable

    feature table

    Return Value

    table icons or null

  • Get the default icon of the feature table

    Declaration

    Objective-C

    - (GPKGIconRow *)tableIconDefaultWithTableName:(NSString *)featureTable;

    Swift

    func tableIconDefault(withTableName featureTable: String!) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    Return Value

    icon row

  • Get the icon of the feature table and geometry type

    Declaration

    Objective-C

    - (GPKGIconRow *)tableIconWithTableName:(NSString *)featureTable
                            andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func tableIcon(withTableName featureTable: String!, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    Return Value

    icon row

  • Get all styles used by the feature table

    Declaration

    Objective-C

    - (NSDictionary<NSNumber *, GPKGStyleRow *> *)stylesWithTableName:
        (NSString *)featureTable;

    Swift

    func styles(withTableName featureTable: String!) -> [NSNumber : GPKGStyleRow]!

    Parameters

    featureTable

    feature table

    Return Value

    style rows mapped by ids

  • Get all styles used by feature rows in the table

    Declaration

    Objective-C

    - (NSDictionary<NSNumber *, GPKGStyleRow *> *)featureStylesWithTableName:
        (NSString *)featureTable;

    Swift

    func featureStyles(withTableName featureTable: String!) -> [NSNumber : GPKGStyleRow]!

    Parameters

    featureTable

    feature table

    Return Value

    style rows mapped by ids

  • Get all icons used by the feature table

    Declaration

    Objective-C

    - (NSDictionary<NSNumber *, GPKGIconRow *> *)iconsWithTableName:
        (NSString *)featureTable;

    Swift

    func icons(withTableName featureTable: String!) -> [NSNumber : GPKGIconRow]!

    Parameters

    featureTable

    feature table

    Return Value

    icon rows mapped by ids

  • Get all icons used by feature rows in the table

    Declaration

    Objective-C

    - (NSDictionary<NSNumber *, GPKGIconRow *> *)featureIconsWithTableName:
        (NSString *)featureTable;

    Swift

    func featureIcons(withTableName featureTable: String!) -> [NSNumber : GPKGIconRow]!

    Parameters

    featureTable

    feature table

    Return Value

    icon rows mapped by ids

  • Get the feature styles for the feature row

    Declaration

    Objective-C

    - (GPKGFeatureStyles *)featureStylesWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func featureStyles(withFeature featureRow: GPKGFeatureRow!) -> GPKGFeatureStyles!

    Parameters

    featureRow

    feature row

    Return Value

    feature styles or null

  • Get the feature styles for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGFeatureStyles *)featureStylesWithTableName:(NSString *)featureTable
                                                andId:(int)featureId;

    Swift

    func featureStyles(withTableName featureTable: String!, andId featureId: Int32) -> GPKGFeatureStyles!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    feature styles or null

  • Get the feature styles for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGFeatureStyles *)featureStylesWithTableName:(NSString *)featureTable
                                          andIdNumber:(NSNumber *)featureId;

    Swift

    func featureStyles(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGFeatureStyles!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    feature styles or null

  • Get the feature style (style and icon) of the feature row, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func featureStyle(withFeature featureRow: GPKGFeatureRow!) -> GPKGFeatureStyle!

    Parameters

    featureRow

    feature row

    Return Value

    feature style

  • Get the feature style (style and icon) of the feature row with the provided geometry type, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleWithFeature:(GPKGFeatureRow *)featureRow
                                  andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func featureStyle(withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType) -> GPKGFeatureStyle!

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    Return Value

    feature style

  • Get the feature style default (style and icon) of the feature row, searching in order: feature default style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleDefaultWithFeature:
        (GPKGFeatureRow *)featureRow;

    Swift

    func featureStyleDefault(withFeature featureRow: GPKGFeatureRow!) -> GPKGFeatureStyle!

    Parameters

    featureRow

    feature row

    Return Value

    feature style

  • Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleWithTableName:(NSString *)featureTable
                                              andId:(int)featureId
                                    andGeometryType:
                                        (enum SFGeometryType)geometryType;

    Swift

    func featureStyle(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGFeatureStyle!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    feature style

  • Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleWithTableName:(NSString *)featureTable
                                        andIdNumber:(NSNumber *)featureId
                                    andGeometryType:
                                        (enum SFGeometryType)geometryType;

    Swift

    func featureStyle(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGFeatureStyle!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    feature style

  • Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleDefaultWithTableName:(NSString *)featureTable
                                                     andId:(int)featureId;

    Swift

    func featureStyleDefault(withTableName featureTable: String!, andId featureId: Int32) -> GPKGFeatureStyle!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    feature style

  • Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon

    Declaration

    Objective-C

    - (GPKGFeatureStyle *)featureStyleDefaultWithTableName:(NSString *)featureTable
                                               andIdNumber:(NSNumber *)featureId;

    Swift

    func featureStyleDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGFeatureStyle!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    feature style

  • Get the styles for the feature row

    Declaration

    Objective-C

    - (GPKGStyles *)stylesWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func styles(withFeature featureRow: GPKGFeatureRow!) -> GPKGStyles!

    Parameters

    featureRow

    feature row

    Return Value

    styles or null

  • Get the styles for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGStyles *)stylesWithTableName:(NSString *)featureTable
                                  andId:(int)featureId;

    Swift

    func styles(withTableName featureTable: String!, andId featureId: Int32) -> GPKGStyles!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    styles or null

  • Get the styles for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGStyles *)stylesWithTableName:(NSString *)featureTable
                            andIdNumber:(NSNumber *)featureId;

    Swift

    func styles(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGStyles!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    styles or null

  • Get the style of the feature row, searching in order: feature geometry type style, feature default style, table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func style(withFeature featureRow: GPKGFeatureRow!) -> GPKGStyleRow!

    Parameters

    featureRow

    feature row

    Return Value

    style row

  • Get the style of the feature row with the provided geometry type, searching in order: feature geometry type style, feature default style, table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithFeature:(GPKGFeatureRow *)featureRow
                       andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func style(withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    Return Value

    style row

  • Get the default style of the feature row, searching in order: feature default style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleDefaultWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func styleDefault(withFeature featureRow: GPKGFeatureRow!) -> GPKGStyleRow!

    Parameters

    featureRow

    feature row

    Return Value

    style row

  • Get the style of the feature, searching in order: feature geometry type style, feature default style, table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithTableName:(NSString *)featureTable
                                   andId:(int)featureId
                         andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func style(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    style row

  • Get the style of the feature, searching in order: feature geometry type style, feature default style, table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithTableName:(NSString *)featureTable
                             andIdNumber:(NSNumber *)featureId
                         andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func style(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    style row

  • Get the default style of the feature, searching in order: feature default style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleDefaultWithTableName:(NSString *)featureTable
                                          andId:(int)featureId;

    Swift

    func styleDefault(withTableName featureTable: String!, andId featureId: Int32) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    style row

  • Get the default style of the feature, searching in order: feature default style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleDefaultWithTableName:(NSString *)featureTable
                                    andIdNumber:(NSNumber *)featureId;

    Swift

    func styleDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    style row

  • Get the style of the feature, searching in order: feature geometry type style, feature default style, when tableStyle enabled continue searching: table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithTableName:(NSString *)featureTable
                                   andId:(int)featureId
                         andGeometryType:(enum SFGeometryType)geometryType
                           andTableStyle:(BOOL)tableStyle;

    Swift

    func style(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType, andTableStyle tableStyle: Bool) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    tableStyle

    when true and a feature style is not found, query for a matching table style

    Return Value

    style row

  • Get the style of the feature, searching in order: feature geometry type style, feature default style, when tableStyle enabled continue searching: table geometry type style, table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleWithTableName:(NSString *)featureTable
                             andIdNumber:(NSNumber *)featureId
                         andGeometryType:(enum SFGeometryType)geometryType
                           andTableStyle:(BOOL)tableStyle;

    Swift

    func style(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType, andTableStyle tableStyle: Bool) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    tableStyle

    when true and a feature style is not found, query for a matching table style

    Return Value

    style row

  • Get the default style of the feature, searching in order: feature default style, when tableStyle enabled continue searching: table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleDefaultWithTableName:(NSString *)featureTable
                                          andId:(int)featureId
                                  andTableStyle:(BOOL)tableStyle;

    Swift

    func styleDefault(withTableName featureTable: String!, andId featureId: Int32, andTableStyle tableStyle: Bool) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    tableStyle

    when true and a feature style is not found, query for a matching table style

    Return Value

    style row

  • Get the default style of the feature, searching in order: feature default style, when tableStyle enabled continue searching: table default style

    Declaration

    Objective-C

    - (GPKGStyleRow *)styleDefaultWithTableName:(NSString *)featureTable
                                    andIdNumber:(NSNumber *)featureId
                                  andTableStyle:(BOOL)tableStyle;

    Swift

    func styleDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andTableStyle tableStyle: Bool) -> GPKGStyleRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    tableStyle

    when true and a feature style is not found, query for a matching table style

    Return Value

    style row

  • Get the icons for the feature row

    Declaration

    Objective-C

    - (GPKGIcons *)iconsWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func icons(withFeature featureRow: GPKGFeatureRow!) -> GPKGIcons!

    Parameters

    featureRow

    feature row

    Return Value

    icons or null

  • Get the icons for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGIcons *)iconsWithTableName:(NSString *)featureTable andId:(int)featureId;

    Swift

    func icons(withTableName featureTable: String!, andId featureId: Int32) -> GPKGIcons!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    icons or null

  • Get the icons for the feature table and feature id

    Declaration

    Objective-C

    - (GPKGIcons *)iconsWithTableName:(NSString *)featureTable
                          andIdNumber:(NSNumber *)featureId;

    Swift

    func icons(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGIcons!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    icons or null

  • Get the icon of the feature row, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func icon(withFeature featureRow: GPKGFeatureRow!) -> GPKGIconRow!

    Parameters

    featureRow

    feature row

    Return Value

    icon row

  • Get the icon of the feature row with the provided geometry type, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithFeature:(GPKGFeatureRow *)featureRow
                     andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func icon(withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    Return Value

    icon row

  • Get the default icon of the feature row, searching in order: feature default icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconDefaultWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func iconDefault(withFeature featureRow: GPKGFeatureRow!) -> GPKGIconRow!

    Parameters

    featureRow

    feature row

    Return Value

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithTableName:(NSString *)featureTable
                                 andId:(int)featureId
                       andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func icon(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithTableName:(NSString *)featureTable
                           andIdNumber:(NSNumber *)featureId
                       andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func icon(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    Return Value

    icon row

  • Get the default icon of the feature, searching in order: feature default icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconDefaultWithTableName:(NSString *)featureTable
                                        andId:(int)featureId;

    Swift

    func iconDefault(withTableName featureTable: String!, andId featureId: Int32) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    icon row

  • Get the default icon of the feature, searching in order: feature default icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconDefaultWithTableName:(NSString *)featureTable
                                  andIdNumber:(NSNumber *)featureId;

    Swift

    func iconDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    Return Value

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, when tableIcon enabled continue searching: table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithTableName:(NSString *)featureTable
                                 andId:(int)featureId
                       andGeometryType:(enum SFGeometryType)geometryType
                          andTableIcon:(BOOL)tableIcon;

    Swift

    func icon(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType, andTableIcon tableIcon: Bool) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    tableIcon

    when true and a feature icon is not found, query for a matching table icon

    Return Value

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, when tableIcon enabled continue searching: table geometry type icon, table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconWithTableName:(NSString *)featureTable
                           andIdNumber:(NSNumber *)featureId
                       andGeometryType:(enum SFGeometryType)geometryType
                          andTableIcon:(BOOL)tableIcon;

    Swift

    func icon(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType, andTableIcon tableIcon: Bool) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    tableIcon

    when true and a feature icon is not found, query for a matching table icon

    Return Value

    icon row

  • Get the default icon of the feature, searching in order: feature default icon, when tableIcon enabled continue searching: table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconDefaultWithTableName:(NSString *)featureTable
                                        andId:(int)featureId
                                 andTableIcon:(BOOL)tableIcon;

    Swift

    func iconDefault(withTableName featureTable: String!, andId featureId: Int32, andTableIcon tableIcon: Bool) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    tableIcon

    when true and a feature icon is not found, query for a matching table icon

    Return Value

    icon row

  • Get the default icon of the feature, searching in order: feature default icon, when tableIcon enabled continue searching: table default icon

    Declaration

    Objective-C

    - (GPKGIconRow *)iconDefaultWithTableName:(NSString *)featureTable
                                  andIdNumber:(NSNumber *)featureId
                                 andTableIcon:(BOOL)tableIcon;

    Swift

    func iconDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andTableIcon tableIcon: Bool) -> GPKGIconRow!

    Parameters

    featureTable

    feature table

    featureId

    feature id

    tableIcon

    when true and a feature icon is not found, query for a matching table icon

    Return Value

    icon row

  • Set the feature table default feature styles

    Declaration

    Objective-C

    - (void)setTableFeatureStylesWithTable:(GPKGFeatureTable *)featureTable
                          andFeatureStyles:(GPKGFeatureStyles *)featureStyles;

    Swift

    func setTableFeatureStylesWith(_ featureTable: GPKGFeatureTable!, andFeatureStyles featureStyles: GPKGFeatureStyles!)

    Parameters

    featureTable

    feature table

    featureStyles

    default feature styles

  • Set the feature table default feature styles

    Declaration

    Objective-C

    - (void)setTableFeatureStylesWithTableName:(NSString *)featureTable
                              andFeatureStyles:(GPKGFeatureStyles *)featureStyles;

    Swift

    func setTableFeatureStylesWithTableName(_ featureTable: String!, andFeatureStyles featureStyles: GPKGFeatureStyles!)

    Parameters

    featureTable

    feature table

    featureStyles

    default feature styles

  • Set the feature table default styles

    Declaration

    Objective-C

    - (void)setTableStylesWithTable:(GPKGFeatureTable *)featureTable
                          andStyles:(GPKGStyles *)styles;

    Swift

    func setTableStylesWith(_ featureTable: GPKGFeatureTable!, andStyles styles: GPKGStyles!)

    Parameters

    featureTable

    feature table

    styles

    default styles

  • Set the feature table default styles

    Declaration

    Objective-C

    - (void)setTableStylesWithTableName:(NSString *)featureTable
                              andStyles:(GPKGStyles *)styles;

    Swift

    func setTableStylesWithTableName(_ featureTable: String!, andStyles styles: GPKGStyles!)

    Parameters

    featureTable

    feature table

    styles

    default styles

  • Set the feature table style default

    Declaration

    Objective-C

    - (void)setTableStyleDefaultWithTable:(GPKGFeatureTable *)featureTable
                                 andStyle:(GPKGStyleRow *)style;

    Swift

    func setTableStyleDefaultWith(_ featureTable: GPKGFeatureTable!, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    style

    style row

  • Set the feature table style default

    Declaration

    Objective-C

    - (void)setTableStyleDefaultWithTableName:(NSString *)featureTable
                                     andStyle:(GPKGStyleRow *)style;

    Swift

    func setTableStyleDefaultWithTableName(_ featureTable: String!, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    style

    style row

  • Set the feature table style for the geometry type

    Declaration

    Objective-C

    - (void)setTableStyleWithTable:(GPKGFeatureTable *)featureTable
                   andGeometryType:(enum SFGeometryType)geometryType
                          andStyle:(GPKGStyleRow *)style;

    Swift

    func setTableStyleWith(_ featureTable: GPKGFeatureTable!, andGeometryType geometryType: SFGeometryType, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    style

    style row

  • Set the feature table style for the geometry type

    Declaration

    Objective-C

    - (void)setTableStyleWithTableName:(NSString *)featureTable
                       andGeometryType:(enum SFGeometryType)geometryType
                              andStyle:(GPKGStyleRow *)style;

    Swift

    func setTableStyleWithTableName(_ featureTable: String!, andGeometryType geometryType: SFGeometryType, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    style

    style row

  • Set the feature table default icons

    Declaration

    Objective-C

    - (void)setTableIconsWithTable:(GPKGFeatureTable *)featureTable
                          andIcons:(GPKGIcons *)icons;

    Swift

    func setTableIconsWith(_ featureTable: GPKGFeatureTable!, andIcons icons: GPKGIcons!)

    Parameters

    featureTable

    feature table

    icons

    default icons

  • Set the feature table default icons

    Declaration

    Objective-C

    - (void)setTableIconsWithTableName:(NSString *)featureTable
                              andIcons:(GPKGIcons *)icons;

    Swift

    func setTableIconsWithTableName(_ featureTable: String!, andIcons icons: GPKGIcons!)

    Parameters

    featureTable

    feature table

    icons

    default icons

  • Set the feature table icon default

    Declaration

    Objective-C

    - (void)setTableIconDefaultWithTable:(GPKGFeatureTable *)featureTable
                                 andIcon:(GPKGIconRow *)icon;

    Swift

    func setTableIconDefaultWith(_ featureTable: GPKGFeatureTable!, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    icon

    icon row

  • Set the feature table icon default

    Declaration

    Objective-C

    - (void)setTableIconDefaultWithTableName:(NSString *)featureTable
                                     andIcon:(GPKGIconRow *)icon;

    Swift

    func setTableIconDefaultWithTableName(_ featureTable: String!, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    icon

    icon row

  • Set the feature table icon for the geometry type

    Declaration

    Objective-C

    - (void)setTableIconWithTable:(GPKGFeatureTable *)featureTable
                  andGeometryType:(enum SFGeometryType)geometryType
                          andIcon:(GPKGIconRow *)icon;

    Swift

    func setTableIconWith(_ featureTable: GPKGFeatureTable!, andGeometryType geometryType: SFGeometryType, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    icon

    icon row

  • Set the feature table icon for the geometry type

    Declaration

    Objective-C

    - (void)setTableIconWithTableName:(NSString *)featureTable
                      andGeometryType:(enum SFGeometryType)geometryType
                              andIcon:(GPKGIconRow *)icon;

    Swift

    func setTableIconWithTableName(_ featureTable: String!, andGeometryType geometryType: SFGeometryType, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

    icon

    icon row

  • Set the feature styles for the feature row

    Declaration

    Objective-C

    - (void)setFeatureStylesWithFeature:(GPKGFeatureRow *)featureRow
                       andFeatureStyles:(GPKGFeatureStyles *)featureStyles;

    Swift

    func setFeatureStylesWithFeature(_ featureRow: GPKGFeatureRow!, andFeatureStyles featureStyles: GPKGFeatureStyles!)

    Parameters

    featureRow

    feature row

    featureStyles

    feature styles

  • Set the feature styles for the feature table and feature id

    Declaration

    Objective-C

    - (void)setFeatureStylesWithTableName:(NSString *)featureTable
                                    andId:(int)featureId
                         andFeatureStyles:(GPKGFeatureStyles *)featureStyles;

    Swift

    func setFeatureStylesWithTableName(_ featureTable: String!, andId featureId: Int32, andFeatureStyles featureStyles: GPKGFeatureStyles!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    featureStyles

    feature styles

  • Set the feature styles for the feature table and feature id

    Declaration

    Objective-C

    - (void)setFeatureStylesWithTableName:(NSString *)featureTable
                              andIdNumber:(NSNumber *)featureId
                         andFeatureStyles:(GPKGFeatureStyles *)featureStyles;

    Swift

    func setFeatureStylesWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andFeatureStyles featureStyles: GPKGFeatureStyles!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    featureStyles

    feature styles

  • Set the feature style (style and icon) of the feature row

    Declaration

    Objective-C

    - (void)setFeatureStyleWithFeature:(GPKGFeatureRow *)featureRow
                       andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleWithFeature(_ featureRow: GPKGFeatureRow!, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureRow

    feature row

    featureStyle

    feature style

  • Set the feature style (style and icon) of the feature row for the specified geometry type

    Declaration

    Objective-C

    - (void)setFeatureStyleWithFeature:(GPKGFeatureRow *)featureRow
                       andGeometryType:(enum SFGeometryType)geometryType
                       andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleWithFeature(_ featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    featureStyle

    feature style

  • Set the feature style default (style and icon) of the feature row

    Declaration

    Objective-C

    - (void)setFeatureStyleDefaultWithFeature:(GPKGFeatureRow *)featureRow
                              andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleDefaultWithFeature(_ featureRow: GPKGFeatureRow!, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureRow

    feature row

    featureStyle

    feature style

  • Set the feature style (style and icon) of the feature

    Declaration

    Objective-C

    - (void)setFeatureStyleWithTableName:(NSString *)featureTable
                                   andId:(int)featureId
                         andGeometryType:(enum SFGeometryType)geometryType
                         andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleWithTableName(_ featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    featureStyle

    feature style

  • Set the feature style (style and icon) of the feature

    Declaration

    Objective-C

    - (void)setFeatureStyleWithTableName:(NSString *)featureTable
                             andIdNumber:(NSNumber *)featureId
                         andGeometryType:(enum SFGeometryType)geometryType
                         andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    featureStyle

    feature style

  • Set the feature style (style and icon) of the feature

    Declaration

    Objective-C

    - (void)setFeatureStyleDefaultWithTableName:(NSString *)featureTable
                                          andId:(int)featureId
                                andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleDefaultWithTableName(_ featureTable: String!, andId featureId: Int32, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    featureStyle

    feature style

  • Set the feature style (style and icon) of the feature

    Declaration

    Objective-C

    - (void)setFeatureStyleDefaultWithTableName:(NSString *)featureTable
                                    andIdNumber:(NSNumber *)featureId
                                andFeatureStyle:(GPKGFeatureStyle *)featureStyle;

    Swift

    func setFeatureStyleDefaultWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andFeatureStyle featureStyle: GPKGFeatureStyle!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    featureStyle

    feature style

  • Set the styles for the feature row

    Declaration

    Objective-C

    - (void)setStylesWithFeature:(GPKGFeatureRow *)featureRow
                       andStyles:(GPKGStyles *)styles;

    Swift

    func setStylesWithFeature(_ featureRow: GPKGFeatureRow!, andStyles styles: GPKGStyles!)

    Parameters

    featureRow

    feature row

    styles

    styles

  • Set the styles for the feature table and feature id

    Declaration

    Objective-C

    - (void)setStylesWithTableName:(NSString *)featureTable
                             andId:(int)featureId
                         andStyles:(GPKGStyles *)styles;

    Swift

    func setStylesWithTableName(_ featureTable: String!, andId featureId: Int32, andStyles styles: GPKGStyles!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    styles

    styles

  • Set the styles for the feature table and feature id

    Declaration

    Objective-C

    - (void)setStylesWithTableName:(NSString *)featureTable
                       andIdNumber:(NSNumber *)featureId
                         andStyles:(GPKGStyles *)styles;

    Swift

    func setStylesWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andStyles styles: GPKGStyles!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    styles

    styles

  • Set the style of the feature row

    Declaration

    Objective-C

    - (void)setStyleWithFeature:(GPKGFeatureRow *)featureRow
                       andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleWithFeature(_ featureRow: GPKGFeatureRow!, andStyle style: GPKGStyleRow!)

    Parameters

    featureRow

    feature row

    style

    style row

  • Set the style of the feature row for the specified geometry type

    Declaration

    Objective-C

    - (void)setStyleWithFeature:(GPKGFeatureRow *)featureRow
                andGeometryType:(enum SFGeometryType)geometryType
                       andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleWithFeature(_ featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType, andStyle style: GPKGStyleRow!)

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    style

    style row

  • Set the default style of the feature row

    Declaration

    Objective-C

    - (void)setStyleDefaultWithFeature:(GPKGFeatureRow *)featureRow
                              andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleDefaultWithFeature(_ featureRow: GPKGFeatureRow!, andStyle style: GPKGStyleRow!)

    Parameters

    featureRow

    feature row

    style

    style row

  • Set the style of the feature

    Declaration

    Objective-C

    - (void)setStyleWithTableName:(NSString *)featureTable
                            andId:(int)featureId
                  andGeometryType:(enum SFGeometryType)geometryType
                         andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleWithTableName(_ featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    style

    style row

  • Set the style of the feature

    Declaration

    Objective-C

    - (void)setStyleWithTableName:(NSString *)featureTable
                      andIdNumber:(NSNumber *)featureId
                  andGeometryType:(enum SFGeometryType)geometryType
                         andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    style

    style row

  • Set the default style of the feature

    Declaration

    Objective-C

    - (void)setStyleDefaultWithTableName:(NSString *)featureTable
                                   andId:(int)featureId
                                andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleDefaultWithTableName(_ featureTable: String!, andId featureId: Int32, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    style

    style row

  • Set the default style of the feature

    Declaration

    Objective-C

    - (void)setStyleDefaultWithTableName:(NSString *)featureTable
                             andIdNumber:(NSNumber *)featureId
                                andStyle:(GPKGStyleRow *)style;

    Swift

    func setStyleDefaultWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andStyle style: GPKGStyleRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    style

    style row

  • Set the icons for the feature row

    Declaration

    Objective-C

    - (void)setIconsWithFeature:(GPKGFeatureRow *)featureRow
                       andIcons:(GPKGIcons *)icons;

    Swift

    func setIconsWithFeature(_ featureRow: GPKGFeatureRow!, andIcons icons: GPKGIcons!)

    Parameters

    featureRow

    feature row

    icons

    icons

  • Set the icons for the feature table and feature id

    Declaration

    Objective-C

    - (void)setIconsWithTableName:(NSString *)featureTable
                            andId:(int)featureId
                         andIcons:(GPKGIcons *)icons;

    Swift

    func setIconsWithTableName(_ featureTable: String!, andId featureId: Int32, andIcons icons: GPKGIcons!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    icons

    icons

  • Set the icons for the feature table and feature id

    Declaration

    Objective-C

    - (void)setIconsWithTableName:(NSString *)featureTable
                      andIdNumber:(NSNumber *)featureId
                         andIcons:(GPKGIcons *)icons;

    Swift

    func setIconsWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andIcons icons: GPKGIcons!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    icons

    icons

  • Set the icon of the feature row

    Declaration

    Objective-C

    - (void)setIconWithFeature:(GPKGFeatureRow *)featureRow
                       andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconWithFeature(_ featureRow: GPKGFeatureRow!, andIcon icon: GPKGIconRow!)

    Parameters

    featureRow

    feature row

    icon

    icon row

  • Set the icon of the feature row for the specified geometry type

    Declaration

    Objective-C

    - (void)setIconWithFeature:(GPKGFeatureRow *)featureRow
               andGeometryType:(enum SFGeometryType)geometryType
                       andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconWithFeature(_ featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType, andIcon icon: GPKGIconRow!)

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

    icon

    icon row

  • Set the default icon of the feature row

    Declaration

    Objective-C

    - (void)setIconDefaultWithFeature:(GPKGFeatureRow *)featureRow
                              andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconDefaultWithFeature(_ featureRow: GPKGFeatureRow!, andIcon icon: GPKGIconRow!)

    Parameters

    featureRow

    feature row

    icon

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (void)setIconWithTableName:(NSString *)featureTable
                           andId:(int)featureId
                 andGeometryType:(enum SFGeometryType)geometryType
                         andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconWithTableName(_ featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    icon

    icon row

  • Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon

    Declaration

    Objective-C

    - (void)setIconWithTableName:(NSString *)featureTable
                     andIdNumber:(NSNumber *)featureId
                 andGeometryType:(enum SFGeometryType)geometryType
                         andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

    icon

    icon row

  • Set the default icon of the feature

    Declaration

    Objective-C

    - (void)setIconDefaultWithTableName:(NSString *)featureTable
                                  andId:(int)featureId
                                andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconDefaultWithTableName(_ featureTable: String!, andId featureId: Int32, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    icon

    icon row

  • Set the default icon of the feature

    Declaration

    Objective-C

    - (void)setIconDefaultWithTableName:(NSString *)featureTable
                            andIdNumber:(NSNumber *)featureId
                                andIcon:(GPKGIconRow *)icon;

    Swift

    func setIconDefaultWithTableName(_ featureTable: String!, andIdNumber featureId: NSNumber!, andIcon icon: GPKGIconRow!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    icon

    icon row

  • Delete all feature styles including table styles, table icons, style, and icons

    Declaration

    Objective-C

    - (void)deleteAllFeatureStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteAllFeatureStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all feature styles including table styles, table icons, style, and icons

    Declaration

    Objective-C

    - (void)deleteAllFeatureStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteAllFeatureStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete all styles including table styles and feature row styles

    Declaration

    Objective-C

    - (void)deleteAllStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteAllStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all styles including table styles and feature row styles

    Declaration

    Objective-C

    - (void)deleteAllStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteAllStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete all icons including table icons and feature row icons

    Declaration

    Objective-C

    - (void)deleteAllIconsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteAllIcons(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all icons including table icons and feature row icons

    Declaration

    Objective-C

    - (void)deleteAllIconsWithTableName:(NSString *)featureTable;

    Swift

    func deleteAllIcons(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table feature styles

    Declaration

    Objective-C

    - (void)deleteTableFeatureStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteTableFeatureStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete the feature table feature styles

    Declaration

    Objective-C

    - (void)deleteTableFeatureStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteTableFeatureStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table styles

    Declaration

    Objective-C

    - (void)deleteTableStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteTableStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete the feature table styles

    Declaration

    Objective-C

    - (void)deleteTableStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteTableStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table default style

    Declaration

    Objective-C

    - (void)deleteTableStyleDefaultWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteTableStyleDefault(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete the feature table default style

    Declaration

    Objective-C

    - (void)deleteTableStyleDefaultWithTableName:(NSString *)featureTable;

    Swift

    func deleteTableStyleDefault(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table style for the geometry type

    Declaration

    Objective-C

    - (void)deleteTableStyleWithTable:(GPKGFeatureTable *)featureTable
                      andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteTableStyle(with featureTable: GPKGFeatureTable!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

  • Delete the feature table style for the geometry type

    Declaration

    Objective-C

    - (void)deleteTableStyleWithTableName:(NSString *)featureTable
                          andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteTableStyle(withTableName featureTable: String!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

  • Delete the feature table icons

    Declaration

    Objective-C

    - (void)deleteTableIconsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteTableIcons(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete the feature table icons

    Declaration

    Objective-C

    - (void)deleteTableIconsWithTableName:(NSString *)featureTable;

    Swift

    func deleteTableIcons(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table default icon

    Declaration

    Objective-C

    - (void)deleteTableIconDefaultWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteTableIconDefault(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete the feature table default icon

    Declaration

    Objective-C

    - (void)deleteTableIconDefaultWithTableName:(NSString *)featureTable;

    Swift

    func deleteTableIconDefault(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete the feature table icon for the geometry type

    Declaration

    Objective-C

    - (void)deleteTableIconWithTable:(GPKGFeatureTable *)featureTable
                     andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteTableIcon(with featureTable: GPKGFeatureTable!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

  • Delete the feature table icon for the geometry type

    Declaration

    Objective-C

    - (void)deleteTableIconWithTableName:(NSString *)featureTable
                         andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteTableIcon(withTableName featureTable: String!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    geometryType

    geometry type

  • Delete all feature styles

    Declaration

    Objective-C

    - (void)deleteFeatureStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteFeatureStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all feature styles

    Declaration

    Objective-C

    - (void)deleteFeatureStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteFeatureStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete all styles

    Declaration

    Objective-C

    - (void)deleteStylesWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteStyles(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all styles

    Declaration

    Objective-C

    - (void)deleteStylesWithTableName:(NSString *)featureTable;

    Swift

    func deleteStyles(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete feature row styles

    Declaration

    Objective-C

    - (void)deleteStylesWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteStyles(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete feature row styles

    Declaration

    Objective-C

    - (void)deleteStylesWithTableName:(NSString *)featureTable andId:(int)featureId;

    Swift

    func deleteStyles(withTableName featureTable: String!, andId featureId: Int32)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete feature row styles

    Declaration

    Objective-C

    - (void)deleteStylesWithTableName:(NSString *)featureTable
                          andIdNumber:(NSNumber *)featureId;

    Swift

    func deleteStyles(withTableName featureTable: String!, andIdNumber featureId: NSNumber!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row default style

    Declaration

    Objective-C

    - (void)deleteStyleDefaultWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteStyleDefault(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete the feature row default style

    Declaration

    Objective-C

    - (void)deleteStyleDefaultWithTableName:(NSString *)featureTable
                                      andId:(int)featureId;

    Swift

    func deleteStyleDefault(withTableName featureTable: String!, andId featureId: Int32)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row default style

    Declaration

    Objective-C

    - (void)deleteStyleDefaultWithTableName:(NSString *)featureTable
                                andIdNumber:(NSNumber *)featureId;

    Swift

    func deleteStyleDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row style for the feature row geometry type

    Declaration

    Objective-C

    - (void)deleteStyleWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteStyle(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete the feature row style for the geometry type

    Declaration

    Objective-C

    - (void)deleteStyleWithFeature:(GPKGFeatureRow *)featureRow
                   andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteStyle(withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

  • Delete the feature row style for the geometry type

    Declaration

    Objective-C

    - (void)deleteStyleWithTableName:(NSString *)featureTable
                               andId:(int)featureId
                     andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteStyle(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

  • Delete the feature row style for the geometry type

    Declaration

    Objective-C

    - (void)deleteStyleWithTableName:(NSString *)featureTable
                         andIdNumber:(NSNumber *)featureId
                     andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteStyle(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

  • Delete all icons

    Declaration

    Objective-C

    - (void)deleteIconsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func deleteIcons(with featureTable: GPKGFeatureTable!)

    Parameters

    featureTable

    feature table

  • Delete all icons

    Declaration

    Objective-C

    - (void)deleteIconsWithTableName:(NSString *)featureTable;

    Swift

    func deleteIcons(withTableName featureTable: String!)

    Parameters

    featureTable

    feature table

  • Delete feature row icons

    Declaration

    Objective-C

    - (void)deleteIconsWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteIcons(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete feature row icons

    Declaration

    Objective-C

    - (void)deleteIconsWithTableName:(NSString *)featureTable andId:(int)featureId;

    Swift

    func deleteIcons(withTableName featureTable: String!, andId featureId: Int32)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete feature row icons

    Declaration

    Objective-C

    - (void)deleteIconsWithTableName:(NSString *)featureTable
                         andIdNumber:(NSNumber *)featureId;

    Swift

    func deleteIcons(withTableName featureTable: String!, andIdNumber featureId: NSNumber!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row default icon

    Declaration

    Objective-C

    - (void)deleteIconDefaultWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteIconDefault(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete the feature row default icon

    Declaration

    Objective-C

    - (void)deleteIconDefaultWithTableName:(NSString *)featureTable
                                     andId:(int)featureId;

    Swift

    func deleteIconDefault(withTableName featureTable: String!, andId featureId: Int32)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row default icon

    Declaration

    Objective-C

    - (void)deleteIconDefaultWithTableName:(NSString *)featureTable
                               andIdNumber:(NSNumber *)featureId;

    Swift

    func deleteIconDefault(withTableName featureTable: String!, andIdNumber featureId: NSNumber!)

    Parameters

    featureTable

    feature table

    featureId

    feature id

  • Delete the feature row icon for the feature row geometry type

    Declaration

    Objective-C

    - (void)deleteIconWithFeature:(GPKGFeatureRow *)featureRow;

    Swift

    func deleteIcon(withFeature featureRow: GPKGFeatureRow!)

    Parameters

    featureRow

    feature row

  • Delete the feature row icon for the geometry type

    Declaration

    Objective-C

    - (void)deleteIconWithFeature:(GPKGFeatureRow *)featureRow
                  andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteIcon(withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureRow

    feature row

    geometryType

    geometry type

  • Delete the feature row icon for the geometry type

    Declaration

    Objective-C

    - (void)deleteIconWithTableName:(NSString *)featureTable
                              andId:(int)featureId
                    andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteIcon(withTableName featureTable: String!, andId featureId: Int32, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

  • Delete the feature row icon for the geometry type

    Declaration

    Objective-C

    - (void)deleteIconWithTableName:(NSString *)featureTable
                        andIdNumber:(NSNumber *)featureId
                    andGeometryType:(enum SFGeometryType)geometryType;

    Swift

    func deleteIcon(withTableName featureTable: String!, andIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)

    Parameters

    featureTable

    feature table

    featureId

    feature id

    geometryType

    geometry type

  • Count the number of mappings to the style row

    Declaration

    Objective-C

    - (int)countMappingsToStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    func countMappings(to styleRow: GPKGStyleRow!) -> Int32

    Parameters

    styleRow

    style row

    Return Value

    mappings count

  • Count the number of mappings to the style row id

    Declaration

    Objective-C

    - (int)countMappingsToStyleRowId:(int)id;

    Swift

    func countMappings(toStyleRowId id: Int32) -> Int32

    Parameters

    id

    style row id

    Return Value

    mappings count

  • Determine if a mapping to the style row exists

    Declaration

    Objective-C

    - (BOOL)hasMappingToStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    func hasMapping(to styleRow: GPKGStyleRow!) -> Bool

    Parameters

    styleRow

    style row

    Return Value

    true if mapping exists

  • Determine if a mapping to the style row id exists

    Declaration

    Objective-C

    - (BOOL)hasMappingToStyleRowId:(int)id;

    Swift

    func hasMapping(toStyleRowId id: Int32) -> Bool

    Parameters

    id

    style row id

    Return Value

    true if mapping exists

  • Delete style row mappings

    Declaration

    Objective-C

    - (int)deleteMappingsToStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    func deleteMappings(to styleRow: GPKGStyleRow!) -> Int32

    Parameters

    styleRow

    style row

    Return Value

    number of mapping rows deleted

  • Delete style row mappings

    Declaration

    Objective-C

    - (int)deleteMappingsToStyleRowId:(int)id;

    Swift

    func deleteMappings(toStyleRowId id: Int32) -> Int32

    Parameters

    id

    style row id

    Return Value

    number of mapping rows deleted

  • Delete a style row and mappings

    Declaration

    Objective-C

    - (int)deleteStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    func delete(_ styleRow: GPKGStyleRow!) -> Int32

    Parameters

    styleRow

    style row

    Return Value

    number of rows deleted between the style and mapping tables

  • Delete a style row only if it has no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    func deleteNotMappedStyleRow(_ styleRow: GPKGStyleRow!) -> Int32

    Parameters

    styleRow

    style row

    Return Value

    number of style rows deleted

  • Delete a style row by id and mappings

    Declaration

    Objective-C

    - (int)deleteStyleRowById:(int)id;

    Swift

    func deleteStyleRow(byId id: Int32) -> Int32

    Parameters

    id

    style row id

    Return Value

    number of rows deleted between the style and mapping tables

  • Delete a style row by id only if it has no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedStyleRowById:(int)id;

    Swift

    func deleteNotMappedStyleRow(byId id: Int32) -> Int32

    Parameters

    id

    style row id

    Return Value

    number of style rows deleted

  • Delete style rows matching the where clause and mappings to them

    Declaration

    Objective-C

    - (int)deleteStyleRowsWhere:(NSString *)where andWhereArgs:(NSArray *)whereArgs;

    Swift

    func deleteStyleRowsWhere(_ where: String!, andWhereArgs whereArgs: [Any]!) -> Int32

    Parameters

    where

    where clause

    whereArgs

    where arguments

    Return Value

    deleted count

  • Delete style rows matching the where clause if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedStyleRowsWhere:(NSString *)where
                            andWhereArgs:(NSArray *)whereArgs;

    Swift

    func deleteNotMappedStyleRowsWhere(_ where: String!, andWhereArgs whereArgs: [Any]!) -> Int32

    Parameters

    where

    where clause

    whereArgs

    where arguments

    Return Value

    deleted count

  • Delete style rows matching the field values and mappings to them

    Declaration

    Objective-C

    - (int)deleteStyleRowsByFieldValues:(GPKGColumnValues *)fieldValues;

    Swift

    func deleteStyleRows(byFieldValues fieldValues: GPKGColumnValues!) -> Int32

    Parameters

    fieldValues

    field values

    Return Value

    deleted count

  • Delete style rows matching the field values if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedStyleRowsByFieldValues:(GPKGColumnValues *)fieldValues;

    Swift

    func deleteNotMappedStyleRows(byFieldValues fieldValues: GPKGColumnValues!) -> Int32

    Parameters

    fieldValues

    field values

    Return Value

    deleted count

  • Delete all style rows and mappings to them

    Declaration

    Objective-C

    - (int)deleteStyleRows;

    Swift

    func deleteStyleRows() -> Int32

    Return Value

    deleted count

  • Delete all style rows if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedStyleRows;

    Swift

    func deleteNotMappedStyleRows() -> Int32

    Return Value

    deleted count

  • Count the number of mappings to the icon row

    Declaration

    Objective-C

    - (int)countMappingsToIconRow:(GPKGIconRow *)iconRow;

    Swift

    func countMappings(to iconRow: GPKGIconRow!) -> Int32

    Parameters

    iconRow

    icon row

    Return Value

    mappings count

  • Count the number of mappings to the icon row id

    Declaration

    Objective-C

    - (int)countMappingsToIconRowId:(int)id;

    Swift

    func countMappings(toIconRowId id: Int32) -> Int32

    Parameters

    id

    icon row id

    Return Value

    mappings count

  • Determine if a mapping to the icon row exists

    Declaration

    Objective-C

    - (BOOL)hasMappingToIconRow:(GPKGIconRow *)iconRow;

    Swift

    func hasMapping(to iconRow: GPKGIconRow!) -> Bool

    Parameters

    iconRow

    icon row

    Return Value

    true if mapping exists

  • Determine if a mapping to the icon row id exists

    Declaration

    Objective-C

    - (BOOL)hasMappingToIconRowId:(int)id;

    Swift

    func hasMapping(toIconRowId id: Int32) -> Bool

    Parameters

    id

    icon row id

    Return Value

    true if mapping exists

  • Delete icon row mappings

    Declaration

    Objective-C

    - (int)deleteMappingsToIconRow:(GPKGIconRow *)iconRow;

    Swift

    func deleteMappings(to iconRow: GPKGIconRow!) -> Int32

    Parameters

    iconRow

    icon row

    Return Value

    number of mapping rows deleted

  • Delete icon row mappings

    Declaration

    Objective-C

    - (int)deleteMappingsToIconRowId:(int)id;

    Swift

    func deleteMappings(toIconRowId id: Int32) -> Int32

    Parameters

    id

    icon row id

    Return Value

    number of mapping rows deleted

  • Delete an icon row and mappings

    Declaration

    Objective-C

    - (int)deleteIconRow:(GPKGIconRow *)iconRow;

    Swift

    func delete(_ iconRow: GPKGIconRow!) -> Int32

    Parameters

    iconRow

    icon row

    Return Value

    number of rows deleted between the icon and mapping tables

  • Delete a icon row only if it has no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedIconRow:(GPKGIconRow *)iconRow;

    Swift

    func deleteNotMappedIconRow(_ iconRow: GPKGIconRow!) -> Int32

    Parameters

    iconRow

    icon row

    Return Value

    number of icon rows deleted

  • Delete an icon row by id and mappings

    Declaration

    Objective-C

    - (int)deleteIconRowById:(int)id;

    Swift

    func deleteIconRow(byId id: Int32) -> Int32

    Parameters

    id

    icon row id

    Return Value

    number of rows deleted between the icon and mapping tables

  • Delete a icon row by id only if it has no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedIconRowById:(int)id;

    Swift

    func deleteNotMappedIconRow(byId id: Int32) -> Int32

    Parameters

    id

    icon row id

    Return Value

    number of icon rows deleted

  • Delete icon rows matching the where clause and mappings to them

    Declaration

    Objective-C

    - (int)deleteIconRowsWhere:(NSString *)where andWhereArgs:(NSArray *)whereArgs;

    Swift

    func deleteIconRowsWhere(_ where: String!, andWhereArgs whereArgs: [Any]!) -> Int32

    Parameters

    where

    where clause

    whereArgs

    where arguments

    Return Value

    deleted count

  • Delete icon rows matching the where clause if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedIconRowsWhere:(NSString *)where
                           andWhereArgs:(NSArray *)whereArgs;

    Swift

    func deleteNotMappedIconRowsWhere(_ where: String!, andWhereArgs whereArgs: [Any]!) -> Int32

    Parameters

    where

    where clause

    whereArgs

    where arguments

    Return Value

    deleted count

  • Delete icon rows matching the field values and mappings to them

    Declaration

    Objective-C

    - (int)deleteIconRowsByFieldValues:(GPKGColumnValues *)fieldValues;

    Swift

    func deleteIconRows(byFieldValues fieldValues: GPKGColumnValues!) -> Int32

    Parameters

    fieldValues

    field values

    Return Value

    deleted count

  • Delete icon rows matching the field values if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedIconRowsByFieldValues:(GPKGColumnValues *)fieldValues;

    Swift

    func deleteNotMappedIconRows(byFieldValues fieldValues: GPKGColumnValues!) -> Int32

    Parameters

    fieldValues

    field values

    Return Value

    deleted count

  • Delete all icon rows and mappings to them

    Declaration

    Objective-C

    - (int)deleteIconRows;

    Swift

    func deleteIconRows() -> Int32

    Return Value

    deleted count

  • Delete all icon rows if they have no mappings

    Declaration

    Objective-C

    - (int)deleteNotMappedIconRows;

    Swift

    func deleteNotMappedIconRows() -> Int32

    Return Value

    deleted count

  • Get all the unique style row ids the table maps to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allTableStyleIdsWithTable:
        (GPKGFeatureTable *)featureTable;

    Swift

    func allTableStyleIds(with featureTable: GPKGFeatureTable!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    style row ids

  • Get all the unique style row ids the table maps to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allTableStyleIdsWithTableName:(NSString *)featureTable;

    Swift

    func allTableStyleIds(withTableName featureTable: String!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    style row ids

  • Get all the unique icon row ids the table maps to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allTableIconIdsWithTable:
        (GPKGFeatureTable *)featureTable;

    Swift

    func allTableIconIds(with featureTable: GPKGFeatureTable!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    icon row ids

  • Get all the unique icon row ids the table maps to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allTableIconIdsWithTableName:(NSString *)featureTable;

    Swift

    func allTableIconIds(withTableName featureTable: String!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    icon row ids

  • Get all the unique style row ids the features map to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allStyleIdsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func allStyleIds(with featureTable: GPKGFeatureTable!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    style row ids

  • Get all the unique style row ids the features map to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allStyleIdsWithTableName:(NSString *)featureTable;

    Swift

    func allStyleIds(withTableName featureTable: String!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    style row ids

  • Get all the unique icon row ids the features map to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allIconIdsWithTable:(GPKGFeatureTable *)featureTable;

    Swift

    func allIconIds(with featureTable: GPKGFeatureTable!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    icon row ids

  • Get all the unique icon row ids the features map to

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)allIconIdsWithTableName:(NSString *)featureTable;

    Swift

    func allIconIds(withTableName featureTable: String!) -> [NSNumber]!

    Parameters

    featureTable

    feature table

    Return Value

    icon row ids

  • Calculate style pixel bounds

    Declaration

    Objective-C

    - (GPKGPixelBounds *)calculatePixelBoundsWithTable:(NSString *)featureTable;

    Swift

    func calculatePixelBounds(withTable featureTable: String!) -> GPKGPixelBounds!

    Parameters

    featureTable

    feature table

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the feature table

    Declaration

    Objective-C

    - (GPKGPixelBounds *)calculatePixelBoundsWithTable:(NSString *)featureTable
                                              andScale:(float)scale;

    Swift

    func calculatePixelBounds(withTable featureTable: String!, andScale scale: Float) -> GPKGPixelBounds!

    Parameters

    featureTable

    feature table

    scale

    scale factor

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the style row

    Declaration

    Objective-C

    + (GPKGPixelBounds *)calculatePixelBoundsWithStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    class func calculatePixelBounds(with styleRow: GPKGStyleRow!) -> GPKGPixelBounds!

    Parameters

    styleRow

    style row

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the style row

    Declaration

    Objective-C

    + (GPKGPixelBounds *)calculatePixelBoundsWithStyleRow:(GPKGStyleRow *)styleRow
                                                 andScale:(float)scale;

    Swift

    class func calculatePixelBounds(with styleRow: GPKGStyleRow!, andScale scale: Float) -> GPKGPixelBounds!

    Parameters

    styleRow

    style row

    scale

    scale factor

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the style row

    Declaration

    Objective-C

    + (void)expandPixelBounds:(GPKGPixelBounds *)pixelBounds
                 withStyleRow:(GPKGStyleRow *)styleRow;

    Swift

    class func expand(_ pixelBounds: GPKGPixelBounds!, with styleRow: GPKGStyleRow!)

    Parameters

    pixelBounds

    pixel bounds to expand

    styleRow

    style row

  • Calculate style pixel bounds for the style row

    Declaration

    Objective-C

    + (void)expandPixelBounds:(GPKGPixelBounds *)pixelBounds
                 withStyleRow:(GPKGStyleRow *)styleRow
                     andScale:(float)scale;

    Swift

    class func expand(_ pixelBounds: GPKGPixelBounds!, with styleRow: GPKGStyleRow!, andScale scale: Float)

    Parameters

    pixelBounds

    pixel bounds to expand

    styleRow

    style row

    scale

    scale factor

  • Calculate style pixel bounds for the icon row

    Declaration

    Objective-C

    + (GPKGPixelBounds *)calculatePixelBoundsWithIconRow:(GPKGIconRow *)iconRow;

    Swift

    class func calculatePixelBounds(with iconRow: GPKGIconRow!) -> GPKGPixelBounds!

    Parameters

    iconRow

    icon row

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the icon row

    Declaration

    Objective-C

    + (GPKGPixelBounds *)calculatePixelBoundsWithIconRow:(GPKGIconRow *)iconRow
                                                andScale:(float)scale;

    Swift

    class func calculatePixelBounds(with iconRow: GPKGIconRow!, andScale scale: Float) -> GPKGPixelBounds!

    Parameters

    iconRow

    icon row

    scale

    scale factor

    Return Value

    pixel bounds

  • Calculate style pixel bounds for the icon row

    Declaration

    Objective-C

    + (void)expandPixelBounds:(GPKGPixelBounds *)pixelBounds
                  withIconRow:(GPKGIconRow *)iconRow;

    Swift

    class func expand(_ pixelBounds: GPKGPixelBounds!, with iconRow: GPKGIconRow!)

    Parameters

    pixelBounds

    pixel bounds to expand

    iconRow

    icon row

  • Calculate style pixel bounds for the icon row

    Declaration

    Objective-C

    + (void)expandPixelBounds:(GPKGPixelBounds *)pixelBounds
                  withIconRow:(GPKGIconRow *)iconRow
                     andScale:(float)scale;

    Swift

    class func expand(_ pixelBounds: GPKGPixelBounds!, with iconRow: GPKGIconRow!, andScale scale: Float)

    Parameters

    pixelBounds

    pixel bounds to expand

    iconRow

    icon row

    scale

    scale factor