diff --git a/src/main/java/org/gcube/dataanalysis/geo/algorithms/MapsComparator.java b/src/main/java/org/gcube/dataanalysis/geo/algorithms/MapsComparator.java index bd9affb..9b2e75d 100644 --- a/src/main/java/org/gcube/dataanalysis/geo/algorithms/MapsComparator.java +++ b/src/main/java/org/gcube/dataanalysis/geo/algorithms/MapsComparator.java @@ -35,8 +35,8 @@ import org.opengis.metadata.Metadata; public class MapsComparator extends DataAnalysis { - static String layer1 = "LayerTitle_1"; - static String layer2 = "LayerTitle_2"; + static String layer1 = "Layer_1"; + static String layer2 = "Layer_2"; static String zString = "Z"; static String t1 = "TimeIndex_1"; static String t2 = "TimeIndex_2"; @@ -57,7 +57,7 @@ public class MapsComparator extends DataAnalysis { } @Override - public LinkedHashMap analyze() throws Exception { + public void compute() throws Exception{ status = 0; AnalysisLogger.setLogger(config.getConfigPath() + AlgorithmConfiguration.defaultLoggerFile); long t0 = System.currentTimeMillis(); @@ -181,11 +181,9 @@ public class MapsComparator extends DataAnalysis { AnalysisLogger.getLogger().debug("MapsComparator: Deleting table " + rastertable2); DatabaseFactory.executeSQLUpdate(DatabaseUtils.dropTableStatement(rastertable2), connection); AnalysisLogger.getLogger().debug("MapsComparator: Elapsed: Whole operation completed in " + ((double) (System.currentTimeMillis() - t0) / 1000d) + "s"); - return outputParameters; } catch (Exception e) { e.printStackTrace(); AnalysisLogger.getLogger().debug("MapsComparator: ERROR!: " + e.getLocalizedMessage()); - return outputParameters; } finally { DatabaseUtils.closeDBConnection(connection); status = 100; @@ -276,6 +274,12 @@ public class MapsComparator extends DataAnalysis { public float getStatus() { return status; } + + @Override + public LinkedHashMap analyze() throws Exception { + // TODO Auto-generated method stub + return null; + } }