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
dbdatabase connection
Return Value
new GeoPackage table creator
-
Create Spatial Reference System table
Declaration
Objective-C
- (int)createSpatialReferenceSystem;Swift
func createSpatialReferenceSystem() -> Int32Return Value
tables created
-
Create Contents table
Declaration
Objective-C
- (int)createContents;Swift
func createContents() -> Int32Return Value
tables created
-
Create Geometry Columns table
Declaration
Objective-C
- (int)createGeometryColumns;Swift
func createGeometryColumns() -> Int32Return Value
tables created
-
Creat Tile Matrix Set table
Declaration
Objective-C
- (int)createTileMatrixSet;Swift
func createTileMatrixSet() -> Int32Return Value
tables created
-
Create Tile Matrix table
Declaration
Objective-C
- (int)createTileMatrix;Swift
func createTileMatrix() -> Int32Return Value
tables created
-
Create Extensions table
Declaration
Objective-C
- (int)createExtensions;Swift
func createExtensions() -> Int32Return Value
tables created
-
Create Data Columns table
Declaration
Objective-C
- (int)createDataColumns;Swift
func createDataColumns() -> Int32Return Value
tables created
-
Create Data Column Constraints table
Declaration
Objective-C
- (int)createDataColumnConstraints;Swift
func createDataColumnConstraints() -> Int32Return Value
tables created
-
Create Metadata table
Declaration
Objective-C
- (int)createMetadata;Swift
func createMetadata() -> Int32Return Value
tables created
-
Create Metadata Reference table
Declaration
Objective-C
- (int)createMetadataReference;Swift
func createMetadataReference() -> Int32Return Value
tables created
-
Create the Tiled Gridded Coverage Data Coverage extension table
Declaration
Objective-C
- (int)createGriddedCoverage;Swift
func createGriddedCoverage() -> Int32Return Value
executed statements
-
Create the Tiled Gridded Coverage Data Tile extension table
Declaration
Objective-C
- (int)createGriddedTile;Swift
func createGriddedTile() -> Int32Return Value
executed statements
-
Create the Extended Relations table
Declaration
Objective-C
- (int)createExtendedRelations;Swift
func createExtendedRelations() -> Int32Return Value
executed statements
-
Create an extension table
Declaration
Objective-C
- (int)createExtensionTable:(NSString *)tableName;Swift
func createExtensionTable(_ tableName: String!) -> Int32Return Value
executed statements
-
Create the user table
Declaration
Objective-C
- (void)createUserTable:(GPKGUserTable *)table;Swift
func createUserTable(_ table: GPKGUserTable!)Parameters
tableuser 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
tabletable name
-
Drop the view if it exists
Declaration
Objective-C
- (void)dropView:(NSString *)view;Swift
func dropView(_ view: String!)Parameters
viewview name
View on GitHub
GPKGGeoPackageTableCreator Class Reference