GPKGGeoPackageTableCreator
Objective-C
@interface GPKGGeoPackageTableCreator : GPKGTableCreator
Swift
class GPKGGeoPackageTableCreator : GPKGTableCreator
Executes database scripts to create GeoPackage tables
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)db;
Swift
init!(database db: GPKGConnection!)
Parameters
db
database connection
Return Value
new GeoPackage table creator
-
Create Spatial Reference System table
Declaration
Objective-C
- (int)createSpatialReferenceSystem;
Swift
func createSpatialReferenceSystem() -> Int32
Return Value
tables created
-
Create Contents table
Declaration
Objective-C
- (int)createContents;
Swift
func createContents() -> Int32
Return Value
tables created
-
Create Geometry Columns table
Declaration
Objective-C
- (int)createGeometryColumns;
Swift
func createGeometryColumns() -> Int32
Return Value
tables created
-
Creat Tile Matrix Set table
Declaration
Objective-C
- (int)createTileMatrixSet;
Swift
func createTileMatrixSet() -> Int32
Return Value
tables created
-
Create Tile Matrix table
Declaration
Objective-C
- (int)createTileMatrix;
Swift
func createTileMatrix() -> Int32
Return Value
tables created
-
Create Extensions table
Declaration
Objective-C
- (int)createExtensions;
Swift
func createExtensions() -> Int32
Return Value
tables created
-
Create Data Columns table
Declaration
Objective-C
- (int)createDataColumns;
Swift
func createDataColumns() -> Int32
Return Value
tables created
-
Create Data Column Constraints table
Declaration
Objective-C
- (int)createDataColumnConstraints;
Swift
func createDataColumnConstraints() -> Int32
Return Value
tables created
-
Create Metadata table
Declaration
Objective-C
- (int)createMetadata;
Swift
func createMetadata() -> Int32
Return Value
tables created
-
Create Metadata Reference table
Declaration
Objective-C
- (int)createMetadataReference;
Swift
func createMetadataReference() -> Int32
Return Value
tables created
-
Create the Tiled Gridded Coverage Data Coverage extension table
Declaration
Objective-C
- (int)createGriddedCoverage;
Swift
func createGriddedCoverage() -> Int32
Return Value
executed statements
-
Create the Tiled Gridded Coverage Data Tile extension table
Declaration
Objective-C
- (int)createGriddedTile;
Swift
func createGriddedTile() -> Int32
Return Value
executed statements
-
Create the Extended Relations table
Declaration
Objective-C
- (int)createExtendedRelations;
Swift
func createExtendedRelations() -> Int32
Return Value
executed statements
-
Create an extension table
Declaration
Objective-C
- (int)createExtensionTable:(NSString *)tableName;
Swift
func createExtensionTable(_ tableName: String!) -> Int32
Return Value
executed statements
-
Create the user table
Declaration
Objective-C
- (void)createUserTable:(GPKGUserTable *)table;
Swift
func createUserTable(_ table: GPKGUserTable!)
Parameters
table
user table
-
Create the minimum required GeoPackage tables
Declaration
Objective-C
- (void)createRequired;
Swift
func createRequired()
-
Drop the table if it exists
Declaration
Objective-C
- (void)dropTable:(NSString *)table;
Swift
func dropTable(_ table: String!)
Parameters
table
table name
-
Drop the view if it exists
Declaration
Objective-C
- (void)dropView:(NSString *)view;
Swift
func dropView(_ view: String!)
Parameters
view
view name