GPKGFeatureTableReader
Objective-C
@interface GPKGFeatureTableReader : GPKGUserTableReader
Swift
class GPKGFeatureTableReader : GPKGUserTableReader
Reads the metadata from an existing feature table
-
Geometry column name
Declaration
Objective-C
@property (nonatomic, strong) NSString *columnName;
Swift
var columnName: String! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeometryColumns:(GPKGGeometryColumns *)geometryColumns;
Swift
init!(geometryColumns: GPKGGeometryColumns!)
Parameters
geometryColumns
geometry columns
Return Value
new feature table reader
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName andGeometryColumn:(NSString *)geometryColumnName;
Swift
init!(table tableName: String!, andGeometryColumn geometryColumnName: String!)
Parameters
tableName
table name
geometryColumnName
geometry column name
Return Value
new feature table reader
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName;
Swift
init!(table tableName: String!)
Parameters
tableName
table name
Return Value
new feature table reader
-
Read the feature table with the database connection
Declaration
Objective-C
- (GPKGFeatureTable *)readFeatureTableWithConnection:(GPKGConnection *)db;
Swift
func readFeatureTable(with db: GPKGConnection!) -> GPKGFeatureTable!
Parameters
db
database connection
Return Value
feature table