GPKGFeatureTableStyles
Objective-C
@interface GPKGFeatureTableStyles : NSObject
Swift
class GPKGFeatureTableStyles : NSObject
Feature Table Styles, styles and icons for an individual feature table
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTable:(GPKGFeatureTable *)featureTable;
Swift
init!(geoPackage: GPKGGeoPackage!, andTable featureTable: GPKGFeatureTable!)
Parameters
geoPackage
GeoPackage
featureTable
feature table
Return Value
new feature table styles
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andGeometryColumns:(GPKGGeometryColumns *)geometryColumns;
Swift
init!(geoPackage: GPKGGeoPackage!, andGeometryColumns geometryColumns: GPKGGeometryColumns!)
Parameters
geoPackage
GeoPackage
geometryColumns
geometry columns
Return Value
new feature table styles
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andContents:(GPKGContents *)contents;
Swift
init!(geoPackage: GPKGGeoPackage!, andContents contents: GPKGContents!)
Parameters
geoPackage
GeoPackage
contents
feature contents
Return Value
new feature table styles
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)featureTable;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName featureTable: String!)
Parameters
geoPackage
GeoPackage
featureTable
feature table
Return Value
new feature table styles
-
Get the feature style extension
Declaration
Objective-C
- (GPKGFeatureStyleExtension *)featureStyleExtension;
Swift
func featureStyleExtension() -> GPKGFeatureStyleExtension!
Return Value
feature style extension
-
Get the feature table name
Declaration
Objective-C
- (NSString *)tableName;
Swift
func tableName() -> String!
Return Value
feature table name
-
Determine if the GeoPackage has the extension for the table
Declaration
Objective-C
- (BOOL)has;
Swift
func has() -> Bool
Return Value
true if has extension
-
Create style, icon, table style, and table icon relationships for the feature table
Declaration
Objective-C
- (void)createRelationships;
Swift
func createRelationships()
-
Check if feature table has a style, icon, table style, or table icon relationships
Declaration
Objective-C
- (BOOL)hasRelationship;
Swift
func hasRelationship() -> Bool
Return Value
true if has a relationship
-
Create a style relationship for the feature table
Declaration
Objective-C
- (void)createStyleRelationship;
Swift
func createStyleRelationship()
-
Determine if a style relationship exists for the feature table
Declaration
Objective-C
- (BOOL)hasStyleRelationship;
Swift
func hasStyleRelationship() -> Bool
Return Value
true if relationship exists
-
Create a feature table style relationship
Declaration
Objective-C
- (void)createTableStyleRelationship;
Swift
func createTableStyleRelationship()
-
Determine if feature table style relationship exists
Declaration
Objective-C
- (BOOL)hasTableStyleRelationship;
Swift
func hasTableStyleRelationship() -> Bool
Return Value
true if relationship exists
-
Create an icon relationship for the feature table
Declaration
Objective-C
- (void)createIconRelationship;
Swift
func createIconRelationship()
-
Determine if an icon relationship exists for the feature table
Declaration
Objective-C
- (BOOL)hasIconRelationship;
Swift
func hasIconRelationship() -> Bool
Return Value
true if relationship exists
-
Create a feature table icon relationship
Declaration
Objective-C
- (void)createTableIconRelationship;
Swift
func createTableIconRelationship()
-
Determine if feature table icon relationship exists
Declaration
Objective-C
- (BOOL)hasTableIconRelationship;
Swift
func hasTableIconRelationship() -> Bool
Return Value
true if relationship exists
-
Delete the style and icon table and row relationships for the feature table
Declaration
Objective-C
- (void)deleteRelationships;
Swift
func deleteRelationships()
-
Delete a style relationship for the feature table
Declaration
Objective-C
- (void)deleteStyleRelationship;
Swift
func deleteStyleRelationship()
-
Delete a table style relationship for the feature table
Declaration
Objective-C
- (void)deleteTableStyleRelationship;
Swift
func deleteTableStyleRelationship()
-
Delete a icon relationship for the feature table
Declaration
Objective-C
- (void)deleteIconRelationship;
Swift
func deleteIconRelationship()
-
Delete a table icon relationship for the feature table
Declaration
Objective-C
- (void)deleteTableIconRelationship;
Swift
func deleteTableIconRelationship()
-
Get a Style Mapping DAO
Declaration
Objective-C
- (GPKGStyleMappingDao *)styleMappingDao;
Swift
func styleMappingDao() -> GPKGStyleMappingDao!
Return Value
style mapping DAO
-
Get a Table Style Mapping DAO
Declaration
Objective-C
- (GPKGStyleMappingDao *)tableStyleMappingDao;
Swift
func tableStyleMappingDao() -> GPKGStyleMappingDao!
Return Value
table style mapping DAO
-
Get a Icon Mapping DAO
Declaration
Objective-C
- (GPKGStyleMappingDao *)iconMappingDao;
Swift
func iconMappingDao() -> GPKGStyleMappingDao!
Return Value
icon mapping DAO
-
Get a Table Icon Mapping DAO
Declaration
Objective-C
- (GPKGStyleMappingDao *)tableIconMappingDao;
Swift
func tableIconMappingDao() -> GPKGStyleMappingDao!
Return Value
table icon mapping DAO
-
Get a style DAO
Return Value
style DAO
-
Get a icon DAO
Return Value
icon DAO
-
Get the table feature styles
Declaration
Objective-C
- (GPKGFeatureStyles *)tableFeatureStyles;
Swift
func tableFeatureStyles() -> GPKGFeatureStyles!
Return Value
table feature styles or null
-
Get the table styles
Return Value
table styles or null
-
Get the cached table styles, querying and caching if needed
Declaration
Objective-C
- (GPKGStyles *)cachedTableStyles;
Swift
func cachedTableStyles() -> GPKGStyles!
Return Value
cached table styles
-
Get the table style of the geometry type
Declaration
Objective-C
- (GPKGStyleRow *)tableStyleWithGeometryType:(enum SFGeometryType)geometryType;
Swift
func tableStyle(with geometryType: SFGeometryType) -> GPKGStyleRow!
Parameters
geometryType
geometry type
Return Value
style row
-
Get the table style default
Declaration
Objective-C
- (GPKGStyleRow *)tableStyleDefault;
Swift
func tableStyleDefault() -> GPKGStyleRow!
Return Value
style row
-
Get the table icons
Return Value
table icons or null
-
Get the table icon of the geometry type
Declaration
Objective-C
- (GPKGIconRow *)tableIconWithGeometryType:(enum SFGeometryType)geometryType;
Swift
func tableIcon(with geometryType: SFGeometryType) -> GPKGIconRow!
Parameters
geometryType
geometry type
Return Value
icon row
-
Get the table icon default
Declaration
Objective-C
- (GPKGIconRow *)tableIconDefault;
Swift
func tableIconDefault() -> GPKGIconRow!
Return Value
icon row
-
Get all styles used by the feature table
Declaration
Objective-C
- (NSDictionary<NSNumber *, GPKGStyleRow *> *)styles;
Swift
func styles() -> [NSNumber : GPKGStyleRow]!
Return Value
style rows mapped by ids
-
Get all styles used by feature rows in the table
Declaration
Objective-C
- (NSDictionary<NSNumber *, GPKGStyleRow *> *)featureStyles;
Swift
func featureStyles() -> [NSNumber : GPKGStyleRow]!
Return Value
style rows mapped by ids
-
Get all icons used by the feature table
Declaration
Objective-C
- (NSDictionary<NSNumber *, GPKGIconRow *> *)icons;
Swift
func icons() -> [NSNumber : GPKGIconRow]!
Return Value
icon rows mapped by ids
-
Get all icons used by feature rows in the table
Declaration
Objective-C
- (NSDictionary<NSNumber *, GPKGIconRow *> *)featureIcons;
Swift
func featureIcons() -> [NSNumber : GPKGIconRow]!
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 id
Declaration
Objective-C
- (GPKGFeatureStyles *)featureStylesWithId:(int)featureId;
Swift
func featureStyles(withId featureId: Int32) -> GPKGFeatureStyles!
Parameters
featureId
feature id
Return Value
feature styles or null
-
Get the feature styles for the feature id
Declaration
Objective-C
- (GPKGFeatureStyles *)featureStylesWithIdNumber:(NSNumber *)featureId;
Swift
func featureStyles(withIdNumber featureId: NSNumber!) -> GPKGFeatureStyles!
Parameters
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 *)featureStyleWithId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func featureStyle(withId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGFeatureStyle!
Parameters
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 *)featureStyleWithIdNumber:(NSNumber *)featureId andGeometryType: (enum SFGeometryType)geometryType;
Swift
func featureStyle(withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGFeatureStyle!
Parameters
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 *)featureStyleDefaultWithId:(int)featureId;
Swift
func featureStyleDefault(withId featureId: Int32) -> GPKGFeatureStyle!
Parameters
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 *)featureStyleDefaultWithIdNumber:(NSNumber *)featureId;
Swift
func featureStyleDefault(withIdNumber featureId: NSNumber!) -> GPKGFeatureStyle!
Parameters
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 id
Declaration
Objective-C
- (GPKGStyles *)stylesWithId:(int)featureId;
Swift
func styles(withId featureId: Int32) -> GPKGStyles!
Parameters
featureId
feature id
Return Value
styles or null
-
Get the styles for the feature id
Declaration
Objective-C
- (GPKGStyles *)stylesWithIdNumber:(NSNumber *)featureId;
Swift
func styles(withIdNumber featureId: NSNumber!) -> GPKGStyles!
Parameters
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 *)styleWithId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func style(withId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!
Parameters
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 *)styleWithIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func style(withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGStyleRow!
Parameters
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 *)styleDefaultWithId:(int)featureId;
Swift
func styleDefault(withId featureId: Int32) -> GPKGStyleRow!
Parameters
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 *)styleDefaultWithIdNumber:(NSNumber *)featureId;
Swift
func styleDefault(withIdNumber featureId: NSNumber!) -> GPKGStyleRow!
Parameters
featureId
feature id
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 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 *)iconWithId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func icon(withId featureId: Int32, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!
Parameters
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 *)iconWithIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func icon(withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType) -> GPKGIconRow!
Parameters
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 *)iconDefaultWithId:(int)featureId;
Swift
func iconDefault(withId featureId: Int32) -> GPKGIconRow!
Parameters
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 *)iconDefaultWithIdNumber:(NSNumber *)featureId;
Swift
func iconDefault(withIdNumber featureId: NSNumber!) -> GPKGIconRow!
Parameters
featureId
feature id
Return Value
icon row
-
Set the feature table default feature styles
Declaration
Objective-C
- (void)setTableFeatureStyles:(GPKGFeatureStyles *)featureStyles;
Swift
func setTableFeature(_ featureStyles: GPKGFeatureStyles!)
Parameters
featureStyles
default feature styles
-
Set the feature table default styles
Declaration
Objective-C
- (void)setTableStyles:(GPKGStyles *)styles;
Swift
func setTableStyles(_ styles: GPKGStyles!)
Parameters
styles
default styles
-
Set the feature table style default
Declaration
Objective-C
- (void)setTableStyleDefault:(GPKGStyleRow *)style;
Swift
func setTableStyleDefault(_ style: GPKGStyleRow!)
Parameters
style
style row
-
Set the feature table style for the geometry type
Declaration
Objective-C
- (void)setTableStyle:(GPKGStyleRow *)style withGeometryType:(enum SFGeometryType)geometryType;
Swift
func setTableStyle(_ style: GPKGStyleRow!, with geometryType: SFGeometryType)
Parameters
geometryType
geometry type
style
style row
-
Set the feature table icon default
Declaration
Objective-C
- (void)setTableIconDefault:(GPKGIconRow *)icon;
Swift
func setTableIconDefault(_ icon: GPKGIconRow!)
Parameters
icon
icon row
-
Set the feature table icon for the geometry type
Declaration
Objective-C
- (void)setTableIcon:(GPKGIconRow *)icon withGeometryType:(enum SFGeometryType)geometryType;
Swift
func setTableIcon(_ icon: GPKGIconRow!, with geometryType: SFGeometryType)
Parameters
geometryType
geometry type
icon
icon row
-
Set the feature styles for the feature row
Declaration
Objective-C
- (void)setFeatureStyles:(GPKGFeatureStyles *)featureStyles withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setFeature(_ featureStyles: GPKGFeatureStyles!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
featureStyles
feature styles
-
Set the feature styles for the feature table and feature id
Declaration
Objective-C
- (void)setFeatureStyles:(GPKGFeatureStyles *)featureStyles withId:(int)featureId;
Swift
func setFeature(_ featureStyles: GPKGFeatureStyles!, withId featureId: Int32)
Parameters
featureId
feature id
featureStyles
feature styles
-
Set the feature styles for the feature table and feature id
Declaration
Objective-C
- (void)setFeatureStyles:(GPKGFeatureStyles *)featureStyles withIdNumber:(NSNumber *)featureId;
Swift
func setFeature(_ featureStyles: GPKGFeatureStyles!, withIdNumber featureId: NSNumber!)
Parameters
featureId
feature id
featureStyles
feature styles
-
Set the feature style (style and icon) of the feature row
Declaration
Objective-C
- (void)setFeatureStyle:(GPKGFeatureStyle *)featureStyle withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setFeatureStyle(_ featureStyle: GPKGFeatureStyle!, withFeature featureRow: GPKGFeatureRow!)
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)setFeatureStyle:(GPKGFeatureStyle *)featureStyle withFeature:(GPKGFeatureRow *)featureRow andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setFeatureStyle(_ featureStyle: GPKGFeatureStyle!, withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType)
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)setFeatureStyleDefault:(GPKGFeatureStyle *)featureStyle withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setFeatureStyleDefault(_ featureStyle: GPKGFeatureStyle!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
featureStyle
feature style
-
Set the feature style (style and icon) of the feature
Declaration
Objective-C
- (void)setFeatureStyle:(GPKGFeatureStyle *)featureStyle withId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setFeatureStyle(_ featureStyle: GPKGFeatureStyle!, withId featureId: Int32, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
featureStyle
feature style
-
Set the feature style (style and icon) of the feature
Declaration
Objective-C
- (void)setFeatureStyle:(GPKGFeatureStyle *)featureStyle withIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setFeatureStyle(_ featureStyle: GPKGFeatureStyle!, withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
featureStyle
feature style
-
Set the feature style (style and icon) of the feature
Declaration
Objective-C
- (void)setFeatureStyleDefault:(GPKGFeatureStyle *)featureStyle withId:(int)featureId;
Swift
func setFeatureStyleDefault(_ featureStyle: GPKGFeatureStyle!, withId featureId: Int32)
Parameters
featureId
feature id
featureStyle
feature style
-
Set the feature style (style and icon) of the feature
Declaration
Objective-C
- (void)setFeatureStyleDefault:(GPKGFeatureStyle *)featureStyle withIdNumber:(NSNumber *)featureId;
Swift
func setFeatureStyleDefault(_ featureStyle: GPKGFeatureStyle!, withIdNumber featureId: NSNumber!)
Parameters
featureId
feature id
featureStyle
feature style
-
Set the styles for the feature row
Declaration
Objective-C
- (void)setStyles:(GPKGStyles *)styles withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setStyles(_ styles: GPKGStyles!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
styles
styles
-
Set the styles for the feature table and feature id
Declaration
Objective-C
- (void)setStyles:(GPKGStyles *)styles withId:(int)featureId;
Swift
func setStyles(_ styles: GPKGStyles!, withId featureId: Int32)
Parameters
featureId
feature id
styles
styles
-
Set the styles for the feature table and feature id
Declaration
Objective-C
- (void)setStyles:(GPKGStyles *)styles withIdNumber:(NSNumber *)featureId;
Swift
func setStyles(_ styles: GPKGStyles!, withIdNumber featureId: NSNumber!)
Parameters
featureId
feature id
styles
styles
-
Set the style of the feature row
Declaration
Objective-C
- (void)setStyle:(GPKGStyleRow *)style withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setStyle(_ style: GPKGStyleRow!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
style
style row
-
Set the style of the feature row for the specified geometry type
Declaration
Objective-C
- (void)setStyle:(GPKGStyleRow *)style withFeature:(GPKGFeatureRow *)featureRow andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setStyle(_ style: GPKGStyleRow!, withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType)
Parameters
featureRow
feature row
geometryType
geometry type
style
style row
-
Set the default style of the feature row
Declaration
Objective-C
- (void)setStyleDefault:(GPKGStyleRow *)style withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setStyleDefault(_ style: GPKGStyleRow!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
style
style row
-
Set the style of the feature
Declaration
Objective-C
- (void)setStyle:(GPKGStyleRow *)style withId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setStyle(_ style: GPKGStyleRow!, withId featureId: Int32, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
style
style row
-
Set the style of the feature
Declaration
Objective-C
- (void)setStyle:(GPKGStyleRow *)style withIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setStyle(_ style: GPKGStyleRow!, withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
style
style row
-
Set the default style of the feature
Declaration
Objective-C
- (void)setStyleDefault:(GPKGStyleRow *)style withId:(int)featureId;
Swift
func setStyleDefault(_ style: GPKGStyleRow!, withId featureId: Int32)
Parameters
featureId
feature id
style
style row
-
Set the default style of the feature
Declaration
Objective-C
- (void)setStyleDefault:(GPKGStyleRow *)style withIdNumber:(NSNumber *)featureId;
Swift
func setStyleDefault(_ style: GPKGStyleRow!, withIdNumber featureId: NSNumber!)
Parameters
featureId
feature id
style
style row
-
Set the icons for the feature row
Declaration
Objective-C
- (void)setIcons:(GPKGIcons *)icons withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setIcons(_ icons: GPKGIcons!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
icons
icons
-
Set the icon of the feature row
Declaration
Objective-C
- (void)setIcon:(GPKGIconRow *)icon withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setIcon(_ icon: GPKGIconRow!, withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
icon
icon row
-
Set the icon of the feature row for the specified geometry type
Declaration
Objective-C
- (void)setIcon:(GPKGIconRow *)icon withFeature:(GPKGFeatureRow *)featureRow andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setIcon(_ icon: GPKGIconRow!, withFeature featureRow: GPKGFeatureRow!, andGeometryType geometryType: SFGeometryType)
Parameters
featureRow
feature row
geometryType
geometry type
icon
icon row
-
Set the default icon of the feature row
Declaration
Objective-C
- (void)setIconDefault:(GPKGIconRow *)icon withFeature:(GPKGFeatureRow *)featureRow;
Swift
func setIconDefault(_ icon: GPKGIconRow!, withFeature featureRow: GPKGFeatureRow!)
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)setIcon:(GPKGIconRow *)icon withId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setIcon(_ icon: GPKGIconRow!, withId featureId: Int32, andGeometryType geometryType: SFGeometryType)
Parameters
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)setIcon:(GPKGIconRow *)icon withIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func setIcon(_ icon: GPKGIconRow!, withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
icon
icon row
-
Set the default icon of the feature
Declaration
Objective-C
- (void)setIconDefault:(GPKGIconRow *)icon withId:(int)featureId;
Swift
func setIconDefault(_ icon: GPKGIconRow!, withId featureId: Int32)
Parameters
featureId
feature id
icon
icon row
-
Set the default icon of the feature
Declaration
Objective-C
- (void)setIconDefault:(GPKGIconRow *)icon withIdNumber:(NSNumber *)featureId;
Swift
func setIconDefault(_ icon: GPKGIconRow!, withIdNumber featureId: NSNumber!)
Parameters
featureId
feature id
icon
icon row
-
Delete all feature styles including table styles, table icons, style, and icons
Declaration
Objective-C
- (void)deleteAllFeatureStyles;
Swift
func deleteAllFeatureStyles()
-
Delete all styles including table styles and feature row styles
Declaration
Objective-C
- (void)deleteAllStyles;
Swift
func deleteAllStyles()
-
Delete all icons including table icons and feature row icons
Declaration
Objective-C
- (void)deleteAllIcons;
Swift
func deleteAllIcons()
-
Delete the feature table feature styles
Declaration
Objective-C
- (void)deleteTableFeatureStyles;
Swift
func deleteTableFeatureStyles()
-
Delete the feature table styles
Declaration
Objective-C
- (void)deleteTableStyles;
Swift
func deleteTableStyles()
-
Delete the feature table default style
Declaration
Objective-C
- (void)deleteTableStyleDefault;
Swift
func deleteTableStyleDefault()
-
Delete the feature table style for the geometry type
Declaration
Objective-C
- (void)deleteTableStyleWithGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteTableStyle(with geometryType: SFGeometryType)
Parameters
geometryType
geometry type
-
Delete the feature table icons
Declaration
Objective-C
- (void)deleteTableIcons;
Swift
func deleteTableIcons()
-
Delete the feature table default icon
Declaration
Objective-C
- (void)deleteTableIconDefault;
Swift
func deleteTableIconDefault()
-
Delete the feature table icon for the geometry type
Declaration
Objective-C
- (void)deleteTableIconWithGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteTableIcon(with geometryType: SFGeometryType)
Parameters
geometryType
geometry type
-
Clear the cached table feature styles
Declaration
Objective-C
- (void)clearCachedTableFeatureStyles;
Swift
func clearCachedTableFeatureStyles()
-
Clear the cached table styles
Declaration
Objective-C
- (void)clearCachedTableStyles;
Swift
func clearCachedTableStyles()
-
Clear the cached table icons
Declaration
Objective-C
- (void)clearCachedTableIcons;
Swift
func clearCachedTableIcons()
-
Delete all feature styles
Declaration
Objective-C
- (void)deleteFeatureStyles;
Swift
func deleteFeatureStyles()
-
Delete all styles
Declaration
Objective-C
- (void)deleteStyles;
Swift
func deleteStyles()
-
Delete feature row styles
Declaration
Objective-C
- (void)deleteStylesWithFeature:(GPKGFeatureRow *)featureRow;
Swift
func delete(withFeature featureRow: GPKGFeatureRow!)
Parameters
featureRow
feature row
-
Delete feature row styles
Declaration
Objective-C
- (void)deleteStylesWithId:(int)featureId;
Swift
func delete(withId featureId: Int32)
Parameters
featureId
feature id
-
Delete feature row styles
Declaration
Objective-C
- (void)deleteStylesWithIdNumber:(NSNumber *)featureId;
Swift
func delete(withIdNumber featureId: NSNumber!)
Parameters
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)deleteStyleDefaultWithId:(int)featureId;
Swift
func deleteStyleDefault(withId featureId: Int32)
Parameters
featureId
feature id
-
Delete the feature row default style
Declaration
Objective-C
- (void)deleteStyleDefaultWithIdNumber:(NSNumber *)featureId;
Swift
func deleteStyleDefault(withIdNumber featureId: NSNumber!)
Parameters
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)deleteStyleWithId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteStyle(withId featureId: Int32, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
-
Delete the feature row style for the geometry type
Declaration
Objective-C
- (void)deleteStyleWithIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteStyle(withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
-
Delete all icons
Declaration
Objective-C
- (void)deleteIcons;
Swift
func deleteIcons()
-
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)deleteIconsWithId:(int)featureId;
Swift
func deleteIcons(withId featureId: Int32)
Parameters
featureId
feature id
-
Delete feature row icons
Declaration
Objective-C
- (void)deleteIconsWithIdNumber:(NSNumber *)featureId;
Swift
func deleteIcons(withIdNumber featureId: NSNumber!)
Parameters
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)deleteIconDefaultWithId:(int)featureId;
Swift
func deleteIconDefault(withId featureId: Int32)
Parameters
featureId
feature id
-
Delete the feature row default icon
Declaration
Objective-C
- (void)deleteIconDefaultWithIdNumber:(NSNumber *)featureId;
Swift
func deleteIconDefault(withIdNumber featureId: NSNumber!)
Parameters
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)deleteIconWithId:(int)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteIcon(withId featureId: Int32, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
-
Delete the feature row icon for the geometry type
Declaration
Objective-C
- (void)deleteIconWithIdNumber:(NSNumber *)featureId andGeometryType:(enum SFGeometryType)geometryType;
Swift
func deleteIcon(withIdNumber featureId: NSNumber!, andGeometryType geometryType: SFGeometryType)
Parameters
featureId
feature id
geometryType
geometry type
-
Get all the unique style row ids the table maps to
Declaration
Objective-C
- (NSArray<NSNumber *> *)allTableStyleIds;
Swift
func allTableStyleIds() -> [NSNumber]!
Return Value
style row ids
-
Get all the unique icon row ids the table maps to
Declaration
Objective-C
- (NSArray<NSNumber *> *)allTableIconIds;
Swift
func allTableIconIds() -> [NSNumber]!
Return Value
icon row ids
-
Get all the unique style row ids the features map to
Declaration
Objective-C
- (NSArray<NSNumber *> *)allStyleIds;
Swift
func allStyleIds() -> [NSNumber]!
Return Value
style row ids
-
Get all the unique icon row ids the features map to
Declaration
Objective-C
- (NSArray<NSNumber *> *)allIconIds;
Swift
func allIconIds() -> [NSNumber]!
Return Value
icon row ids
-
Calculate style pixel bounds
Declaration
Objective-C
- (GPKGPixelBounds *)calculatePixelBounds;
Swift
func calculatePixelBounds() -> GPKGPixelBounds!
Return Value
pixel bounds
-
Calculate style pixel bounds
Declaration
Objective-C
- (GPKGPixelBounds *)calculatePixelBoundsWithScale:(float)scale;
Swift
func calculatePixelBounds(withScale scale: Float) -> GPKGPixelBounds!
Parameters
scale
scale factor
Return Value
pixel bounds