GPKGMetadataDb
Objective-C
@interface GPKGMetadataDb : NSObject
Swift
class GPKGMetadataDb : NSObject
GeoPackage Metadata Database
-
Connection
Declaration
Objective-C
@property (nonatomic, strong) GPKGConnection *connection;
Swift
var connection: GPKGConnection! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new metadata database
-
Close the database
Declaration
Objective-C
- (void)close;
Swift
func close()
-
Get a GeoPackage Metadata DAO
Declaration
Objective-C
- (GPKGGeoPackageMetadataDao *)geoPackageMetadataDao;
Swift
func geoPackageMetadataDao() -> GPKGGeoPackageMetadataDao!
Return Value
GeoPackage Metadata DAO
-
Get a Table Metadata DAO
Declaration
Objective-C
- (GPKGTableMetadataDao *)tableMetadataDao;
Swift
func tableMetadataDao() -> GPKGTableMetadataDao!
Return Value
Table Metadata DAO
-
Get a Geometry Metadata DAO
Declaration
Objective-C
- (GPKGGeometryMetadataDao *)geometryMetadataDao;
Swift
func geometryMetadataDao() -> GPKGGeometryMetadataDao!
Return Value
Geometry Metadata DAO
-
Get a Geometry Metadata DAO
Declaration
Objective-C
- (GPKGGeometryMetadataDao *)geometryMetadataDaoWithGeodesic:(BOOL)geodesic andProjection: (PROJProjection *)projection;
Swift
func geometryMetadataDao(withGeodesic geodesic: Bool, andProjection projection: PROJProjection!) -> GPKGGeometryMetadataDao!
Parameters
geodesic
index geodesic geometries flag
projection
feature projection
Return Value
Geometry Metadata DAO
-
Delete the metadata database file
Declaration
Objective-C
+ (BOOL)deleteMetadataFile;
Swift
class func deleteMetadataFile() -> Bool
Return Value
true if deleted