GPKGFeatureTable
Objective-C
@interface GPKGFeatureTable : GPKGUserTable
Swift
class GPKGFeatureTable : GPKGUserTable
Represents a user feature table
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeometryColumns:(GPKGGeometryColumns *)geometryColumns andColumns:(NSArray *)columns;
Swift
init!(geometryColumns: GPKGGeometryColumns!, andColumns columns: [Any]!)
Parameters
geometryColumns
geometry columns
columns
feature columns
Return Value
new feature table
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName andColumns:(NSArray *)columns;
Swift
init!(table tableName: String!, andColumns columns: [Any]!)
Parameters
tableName
table name
columns
feature columns
Return Value
new feature table
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName andGeometryColumn:(NSString *)geometryColumn andColumns:(NSArray *)columns;
Swift
init!(table tableName: String!, andGeometryColumn geometryColumn: String!, andColumns columns: [Any]!)
Parameters
tableName
table name
geometryColumn
geometry column
columns
feature columns
Return Value
new feature table
-
Get the feature columns
Declaration
Objective-C
- (GPKGFeatureColumns *)featureColumns;
Swift
func featureColumns() -> GPKGFeatureColumns!
Return Value
columns
-
Get the geometry column index
Declaration
Objective-C
- (int)geometryColumnIndex;
Swift
func geometryColumnIndex() -> Int32
Return Value
geometry column index
-
Get the geometry feature column
Declaration
Objective-C
- (GPKGFeatureColumn *)geometryColumn;
Swift
func geometryColumn() -> GPKGFeatureColumn!
Return Value
geometry feature column
-
Get the geometry column name
Declaration
Objective-C
- (NSString *)geometryColumnName;
Swift
func geometryColumnName() -> String!
Return Value
geometry column name
-
Get the Id and Geometry Column names
Declaration
Objective-C
- (NSArray<NSString *> *)idAndGeometryColumnNames;
Swift
func idAndGeometryColumnNames() -> [String]!
Return Value
column names