GPKGGeometryIndexDao
Objective-C
@interface GPKGGeometryIndexDao : GPKGBaseDao
Swift
class GPKGGeometryIndexDao : GPKGBaseDao
Geometry Index Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGGeometryIndexDao *)createWithDatabase:(GPKGConnection *)database;Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGGeometryIndexDao!Parameters
databasedatabase connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;Swift
init!(database: GPKGConnection!)Parameters
databasedatabase connection
Return Value
new geometry index dao
-
Get the Table Index of the Geometry Index
Declaration
Objective-C
- (GPKGTableIndex *)tableIndex:(GPKGGeometryIndex *)geometryIndex;Swift
func tableIndex(_ geometryIndex: GPKGGeometryIndex!) -> GPKGTableIndex!Parameters
geometryIndexgeometry index
Return Value
table index
-
Query by table name
Declaration
Objective-C
- (GPKGResultSet *)queryForTableName:(NSString *)tableName;Swift
func query(forTableName tableName: String!) -> GPKGResultSet!Parameters
tableNametable name
Return Value
geometry index results
-
Count by table name
Declaration
Objective-C
- (int)countByTableName:(NSString *)tableName;Swift
func count(byTableName tableName: String!) -> Int32Parameters
tableNametable name
Return Value
count
-
Populate a new geometry index from an envelope
Declaration
Objective-C
- (GPKGGeometryIndex *)populateWithTableIndex:(GPKGTableIndex *)tableIndex andGeomId:(int)geomId andEnvelope:(SFGeometryEnvelope *)envelope;Swift
func populate(with tableIndex: GPKGTableIndex!, andGeomId geomId: Int32, andEnvelope envelope: SFGeometryEnvelope!) -> GPKGGeometryIndex!Parameters
tableIndextable index
geomIdgeometry id
envelopegeometry envelope
Return Value
geometry index
View on GitHub
GPKGGeometryIndexDao Class Reference