@Override public CoverageStoreInfo createStore(ImportData data, WorkspaceInfo workspace, Catalog catalog) throws IOException { MosaicIndex index = new MosaicIndex((Mosaic) data); index.write(); CoverageStoreInfo store = super.createStore(data, workspace, catalog); store.setURL(DataUtilities.fileToURL(index.getFile()).toString()); return store; }
public void write() throws IOException { delete();
public void write() throws IOException { delete();
@Override public CoverageStoreInfo createStore(ImportData data, WorkspaceInfo workspace, Catalog catalog) throws IOException { MosaicIndex index = new MosaicIndex((Mosaic) data); index.write(); CoverageStoreInfo store = super.createStore(data, workspace, catalog); store.setURL(URLs.fileToUrl(index.getFile()).toString()); return store; }