git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@101978 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a849801a2e
commit
2c0fae3a8f
|
@ -222,7 +222,9 @@ public class MapsComparator extends DataAnalysis {
|
|||
GeoNetworkInspector fm = intersector.getFeaturer();
|
||||
AnalysisLogger.getLogger().debug("MapsComparator: Taking info for the layer: " + layerID1);
|
||||
Metadata meta1 = fm.getGNInfobyUUIDorName(layerID1);
|
||||
if (meta1==null) throw new Exception("No Correspondence with Layer 1");
|
||||
//patch to manage also external links
|
||||
if (meta1==null) {return 0.5;}
|
||||
//{throw new Exception("No Correspondence with Layer 1");}
|
||||
double resolution1 = 0;
|
||||
try {
|
||||
resolution1 = GeoNetworkInspector.getResolution(meta1);
|
||||
|
@ -248,7 +250,7 @@ public class MapsComparator extends DataAnalysis {
|
|||
AnalysisLogger.getLogger().debug("MapsComparator: Taking info for the layer: " + layerID2);
|
||||
AnalysisLogger.getLogger().debug("MapsComparator: Trying with UUID..." + layerID2);
|
||||
Metadata meta2 = fm.getGNInfobyUUIDorName(layerID2);
|
||||
if (meta2==null) throw new Exception("No Correspondence with Layer 2");
|
||||
if (meta2==null) {return 0.5;}//{throw new Exception("No Correspondence with Layer 2");}
|
||||
|
||||
double resolution2 = 0;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue