public boolean delete ( ) { boolean deleted = false ; ExtensionsDao extensionsDao = geoPackage . getExtensionsDao ( ) ; try { if ( tileScalingDao . isTableExists ( ) ) { deleted = tileScalingDao . deleteById ( tableName ) > 0 ; } if ( extensionsDao . isTableExists ( ) ) { deleted = extensionsDao . deleteByExtension ( EXTENSION_NAME , tableName ) > 0 || deleted ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to delete tile table scaling for GeoPackage: " + geoPackage . getName ( ) + ", Table: " + tableName , e ) ; } return deleted ; }
Delete the tile table scaling for the tile table