public static void deleteMetadata ( GeoPackageCore geoPackage , String table ) { MetadataReferenceDao metadataReferenceDao = geoPackage . getMetadataReferenceDao ( ) ; try { if ( metadataReferenceDao . isTableExists ( ) ) { metadataReferenceDao . deleteByTableName ( table ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to delete Metadata extension. GeoPackage: " + geoPackage . getName ( ) + ", Table: " + table , e ) ; } }
Delete the Metadata extensions for the table