GPKGFeatureDao
Objective-C
@interface GPKGFeatureDao : GPKGUserDao
Swift
class GPKGFeatureDao : GPKGUserDao
Feature DAO for reading feature user data tables
-
Geometry Columns
Declaration
Objective-C
@property (nonatomic, strong) GPKGGeometryColumns *geometryColumns;
Swift
var geometryColumns: GPKGGeometryColumns! { get set }
-
Metadata db
Declaration
Objective-C
@property (nonatomic, strong) GPKGMetadataDb *metadataDb;
Swift
var metadataDb: GPKGMetadataDb! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database andTable:(GPKGFeatureTable *)table andGeometryColumns:(GPKGGeometryColumns *)geometryColumns andMetadataDb:(GPKGMetadataDb *)metadataDb;
Swift
init!(database: GPKGConnection!, andTable table: GPKGFeatureTable!, andGeometryColumns geometryColumns: GPKGGeometryColumns!, andMetadataDb metadataDb: GPKGMetadataDb!)
Parameters
database
database connection
table
feature table
geometryColumns
geometry columns
metadataDb
metadata db
Return Value
new feature dao
-
Get the feature table
Declaration
Objective-C
- (GPKGFeatureTable *)featureTable;
Swift
func featureTable() -> GPKGFeatureTable!
Return Value
feature table
-
Get the feature row for the current result in the result set
Declaration
Objective-C
- (GPKGFeatureRow *)row:(GPKGResultSet *)results;
Swift
func row(_ results: GPKGResultSet!) -> GPKGFeatureRow!
Parameters
results
result set
Return Value
feature row
-
Get the feature row for the current result in the result set
Declaration
Objective-C
- (GPKGFeatureRow *)featureRow:(GPKGResultSet *)results;
Swift
func featureRow(_ results: GPKGResultSet!) -> GPKGFeatureRow!
Parameters
results
result set
Return Value
feature row
-
Get the feature row for the row
Declaration
Objective-C
- (GPKGFeatureRow *)rowWithRow:(GPKGRow *)row;
Swift
func row(with row: GPKGRow!) -> GPKGFeatureRow!
Parameters
row
result row
Return Value
feature row
-
Create a new feature row
Return Value
feature row
-
Get the geometry column name
Declaration
Objective-C
- (NSString *)geometryColumnName;
Swift
func geometryColumnName() -> String!
Return Value
geometry column name
-
Get the geometry type
Declaration
Objective-C
- (enum SFGeometryType)geometryType;
Swift
func geometryType() -> SFGeometryType
Return Value
geometry type
-
Get the Spatial Reference System
Declaration
Objective-C
- (GPKGSpatialReferenceSystem *)srs;
Swift
func srs() -> GPKGSpatialReferenceSystem!
Return Value
srs
-
Get the Spatial Reference System id
Declaration
Objective-C
- (NSNumber *)srsId;
Swift
func srsId() -> NSNumber!
Return Value
srs id
-
Get the Id Column
Declaration
Objective-C
- (GPKGFeatureColumn *)idColumn;
Swift
func idColumn() -> GPKGFeatureColumn!
Return Value
id column
-
Get the Id Column name
Declaration
Objective-C
- (NSString *)idColumnName;
Swift
func idColumnName() -> String!
Return Value
id column name
-
Get the Id and Geometry Column names
Declaration
Objective-C
- (NSArray<NSString *> *)idAndGeometryColumnNames;
Swift
func idAndGeometryColumnNames() -> [String]!
Return Value
column names