public void createRequired ( ) { // Create the Spatial Reference System table (spec Requirement 10) createSpatialReferenceSystem ( ) ; // Create the Contents table (spec Requirement 13) createContents ( ) ; // Create the required Spatial Reference Systems (spec Requirement // 11) try { SpatialReferenceSystemDao dao = DaoManager . createDao ( db . getConnectionSource ( ) , SpatialReferenceSystem . class ) ; dao . createWgs84 ( ) ; dao . createUndefinedCartesian ( ) ; dao . createUndefinedGeographic ( ) ; } catch ( SQLException e ) { throw new GeoPackageException ( "Error creating default required Spatial Reference Systems" , e ) ; } }
Create the minimum required GeoPackage tables