git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@128571 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
55810c7099
commit
ba4489888c
2
pom.xml
2
pom.xml
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<groupId>org.gcube.dataanalysis</groupId>
|
||||
<artifactId>ecological-engine-geospatial-extensions</artifactId>
|
||||
<version>1.3.8-SNAPSHOT</version>
|
||||
<version>1.3.9-SNAPSHOT</version>
|
||||
<name>ecological-engine-geospatial-extension library</name>
|
||||
<description>ecological-engine-geospatial-extension</description>
|
||||
<scm>
|
||||
|
|
|
@ -104,6 +104,8 @@ public class RasterDataPublisher extends StandardLocalExternalAlgorithm{
|
|||
addOutputString("File name created in the e-Infrastructure", fileName);
|
||||
addOutputString("Map creator", username);
|
||||
}
|
||||
AnalysisLogger.getLogger().debug("Deleting raster file "+newf.getAbsolutePath());
|
||||
newf.delete();
|
||||
status = 100;
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ public class GeothermalDataMetadataInsertDev {
|
|||
//Temperature map at 3 km depth
|
||||
|
||||
public static void main(String[] args) throws Exception{
|
||||
/*
|
||||
|
||||
TemperatureIsolineat3kmdepth();
|
||||
SurfaceHeatFlowMapofItaly();
|
||||
TemperatureIsolineat2kmdepth();
|
||||
|
@ -38,7 +38,7 @@ public class GeothermalDataMetadataInsertDev {
|
|||
Energy();
|
||||
Licenses();
|
||||
|
||||
*/
|
||||
|
||||
Industry();
|
||||
TrainingCenter();
|
||||
}
|
||||
|
|
|
@ -5,12 +5,12 @@ import org.opengis.metadata.identification.TopicCategory;
|
|||
|
||||
public class GeothermalDataMetadataInsertSlovenia {
|
||||
|
||||
//static String geonetworkurl = "http://geonetwork.geothermaldata.d4science.org/geonetwork";
|
||||
static String geonetworkurl = "http://geoserver-dev2.d4science-ii.research-infrastructures.eu/geonetwork";
|
||||
static String geonetworkurl = "http://geonetwork.geothermaldata.d4science.org/geonetwork";
|
||||
// static String geonetworkurl = "http://geoserver-dev2.d4science-ii.research-infrastructures.eu/geonetwork";
|
||||
static String geoserverurl = "http://geoserver-dev.d4science-ii.research-infrastructures.eu/geoserver";
|
||||
static String user = "admin";
|
||||
//static String password = "d4science2014";
|
||||
static String password = "admin";
|
||||
static String password = "d4science2014";
|
||||
// static String password = "admin";
|
||||
public static void main(String[] args) throws Exception{
|
||||
|
||||
for (int i=0;i<titles.length;i++){
|
||||
|
|
|
@ -15,6 +15,7 @@ import java.util.HashMap;
|
|||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.UUID;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import javax.xml.bind.JAXBException;
|
||||
|
@ -624,6 +625,7 @@ public class GenericLayerMetadata {
|
|||
|
||||
// Metadata Obj:
|
||||
DefaultMetadata meta = new DefaultMetadata(party, sourceGenerationDate, ident);
|
||||
meta.setFileIdentifier(UUID.randomUUID().toString());
|
||||
meta.getSpatialRepresentationInfo().add(spatial);
|
||||
meta.setDistributionInfo(distribution);
|
||||
meta.getMetadataConstraints().add(constraints);
|
||||
|
|
Loading…
Reference in New Issue