GPKGMetadataExtension
Objective-C
@interface GPKGMetadataExtension : GPKGBaseExtension
Swift
class GPKGMetadataExtension : GPKGBaseExtension
Metadata extension
-
Extension name
Declaration
Objective-C
@property (nonatomic, strong) NSString *extensionName;
Swift
var extensionName: String! { get set }
-
Extension definition URL
Declaration
Objective-C
@property (nonatomic, strong) NSString *definition;
Swift
var definition: String! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
init!(geoPackage: GPKGGeoPackage!)
Parameters
geoPackage
GeoPackage
Return Value
new instance
-
Get or create the extension
Declaration
Objective-C
- (NSArray<GPKGExtensions *> *)extensionCreate;
Swift
func extensionCreate() -> [GPKGExtensions]!
Return Value
extensions
-
Determine if the GeoPackage has the extension
Declaration
Objective-C
- (BOOL)has;
Swift
func has() -> Bool
Return Value
true if has extension
-
Remove all trace of the extension
Declaration
Objective-C
- (void)removeExtension;
Swift
func remove()
-
Get a Metadata DAO
Declaration
Objective-C
- (GPKGMetadataDao *)metadataDao;
Swift
func metadataDao() -> GPKGMetadataDao!
Return Value
Metadata DAO
-
Get a Metadata DAO
Declaration
Objective-C
+ (GPKGMetadataDao *)metadataDaoWithGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
class func metadataDao(with geoPackage: GPKGGeoPackage!) -> GPKGMetadataDao!
Parameters
geoPackage
GeoPackage
Return Value
Metadata DAO
-
Get a Metadata DAO
Declaration
Objective-C
+ (GPKGMetadataDao *)metadataDaoWithDatabase:(GPKGConnection *)database;
Swift
class func metadataDao(withDatabase database: GPKGConnection!) -> GPKGMetadataDao!
Parameters
database
database connection
Return Value
Metadata DAO
-
Create the Metadata Table if it does not exist
Declaration
Objective-C
- (BOOL)createMetadataTable;
Swift
func createMetadataTable() -> Bool
Return Value
true if created
-
Get a Metadata Reference DAO
Declaration
Objective-C
- (GPKGMetadataReferenceDao *)metadataReferenceDao;
Swift
func metadataReferenceDao() -> GPKGMetadataReferenceDao!
Return Value
Metadata Reference DAO
-
Get a Metadata Reference DAO
Declaration
Objective-C
+ (GPKGMetadataReferenceDao *)metadataReferenceDaoWithGeoPackage: (GPKGGeoPackage *)geoPackage;
Swift
class func metadataReferenceDao(with geoPackage: GPKGGeoPackage!) -> GPKGMetadataReferenceDao!
Parameters
geoPackage
GeoPackage
Return Value
Metadata Reference DAO
-
Get a Metadata Reference DAO
Declaration
Objective-C
+ (GPKGMetadataReferenceDao *)metadataReferenceDaoWithDatabase: (GPKGConnection *)database;
Swift
class func metadataReferenceDao(withDatabase database: GPKGConnection!) -> GPKGMetadataReferenceDao!
Parameters
database
database connection
Return Value
Metadata Reference DAO
-
Create the Metadata Reference Table if it does not exist
Declaration
Objective-C
- (BOOL)createMetadataReferenceTable;
Swift
func createMetadataReferenceTable() -> Bool
Return Value
true if created