GPKGFeatureTableData
Objective-C
@interface GPKGFeatureTableData : NSObject
Swift
class GPKGFeatureTableData : NSObject
Represents a collection of rows from a feature table
-
Initializer
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andCount:(int)count;Swift
init!(name: String!, andCount count: Int32)Parameters
nametable name
countfeature count
Return Value
new instance
-
Initializer
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andCount:(int)count andRows:(NSArray<GPKGFeatureRowData *> *)rows;Swift
init!(name: String!, andCount count: Int32, andRows rows: [GPKGFeatureRowData]!)Parameters
nametable name
countfeature count
rowsfeature rows
Return Value
new instance
-
Get the table name
Declaration
Objective-C
- (NSString *)name;Swift
func name() -> String!Return Value
table name
-
Get the feature row count
Declaration
Objective-C
- (int)count;Swift
func count() -> Int32Return Value
count of rows
-
Get the feature row data
Declaration
Objective-C
- (NSArray<GPKGFeatureRowData *> *)rows;Swift
func rows() -> [GPKGFeatureRowData]!Return Value
feature rows
-
Build a JSON compatible object
Declaration
Objective-C
- (NSObject *)jsonCompatible;Swift
func jsonCompatible() -> NSObject!Return Value
JSON compatible object
-
Build a JSON compatible object
Declaration
Objective-C
- (NSObject *)jsonCompatibleWithPoints:(BOOL)includePoints;Swift
func json(compatibleWithPoints includePoints: Bool) -> NSObject!Parameters
includePointstrue to include point geometries, but no other geometry types
Return Value
JSON compatible object
-
Build a JSON compatible object
Declaration
Objective-C
- (NSObject *)jsonCompatibleWithGeometries:(BOOL)includeGeometries;Swift
func json(compatibleWithGeometries includeGeometries: Bool) -> NSObject!Parameters
includeGeometriestrue to include all geometries, false for no geometries
Return Value
JSON compatible object
-
Build a JSON compatible object
Declaration
Objective-C
- (NSObject *)jsonCompatibleWithPoints:(BOOL)includePoints andGeometries:(BOOL)includeGeometries;Swift
func json(compatibleWithPoints includePoints: Bool, andGeometries includeGeometries: Bool) -> NSObject!Parameters
includePointstrue to include point geometries, ignored if includeGeometries is true
includeGeometriestrue to include all geometry types
Return Value
JSON compatible object
View on GitHub
GPKGFeatureTableData Class Reference