public static void deleteFeatureTileLinkExtension ( GeoPackageCore geoPackage ) { FeatureTileLinkDao featureTileLinkDao = geoPackage . getFeatureTileLinkDao ( ) ; ExtensionsDao extensionsDao = geoPackage . getExtensionsDao ( ) ; try { if ( featureTileLinkDao . isTableExists ( ) ) { geoPackage . dropTable ( featureTileLinkDao . getTableName ( ) ) ; } if ( extensionsDao . isTableExists ( ) ) { extensionsDao . deleteByExtension ( FeatureTileTableCoreLinker . EXTENSION_NAME ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to delete Feature Tile Link extension and table. GeoPackage: " + geoPackage . getName ( ) , e ) ; } }
Delete the Feature Tile Link extension including the extension entries and custom tables