From b1bac195306bd3b1296900a9c8c6333ae31a2db8 Mon Sep 17 00:00:00 2001 From: Gianpaolo Coro Date: Fri, 5 Sep 2014 09:47:29 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@99518 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../GeothermalDataMetadataInsertDev.java | 1 + .../GeothermalDataMetadataInsertFrance.java | 113 ++++++++++++++++++ .../GeothermalDataMetadataInsertHungary.java | 100 ++++++++++++++++ 3 files changed, 214 insertions(+) create mode 100644 src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertFrance.java create mode 100644 src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertHungary.java diff --git a/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertDev.java b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertDev.java index ea8da59..16852a6 100644 --- a/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertDev.java +++ b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertDev.java @@ -43,6 +43,7 @@ public class GeothermalDataMetadataInsertDev { TrainingCenter(); } + private static void TemperatureIsolineat3kmdepth() throws Exception{ GenericLayerMetadata metadataInserter = new GenericLayerMetadata(); metadataInserter.setGeonetworkUrl(geonetworkurl); diff --git a/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertFrance.java b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertFrance.java new file mode 100644 index 0000000..a46057f --- /dev/null +++ b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertFrance.java @@ -0,0 +1,113 @@ +package org.gcube.dataanalysis.geo.batch; + +import org.gcube.dataanalysis.geo.meta.GenericLayerMetadata; +import org.opengis.metadata.identification.TopicCategory; + +public class GeothermalDataMetadataInsertFrance { + + static String geonetworkurl = "http://geonetwork.geothermaldata.d4science.org/geonetwork"; + static String geoserverurl = "http://geoserver-dev.d4science-ii.research-infrastructures.eu/geoserver"; + static String user = "admin"; + static String password = "d4science2014"; + + public static void main(String[] args) throws Exception{ + + for (int i=0;i0) + metadataInserter.customMetaDataInsert(urls,protocols); + } + +} diff --git a/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertHungary.java b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertHungary.java new file mode 100644 index 0000000..e47cbf9 --- /dev/null +++ b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertHungary.java @@ -0,0 +1,100 @@ +package org.gcube.dataanalysis.geo.batch; + +import org.gcube.dataanalysis.geo.meta.GenericLayerMetadata; +import org.opengis.metadata.identification.TopicCategory; + +public class GeothermalDataMetadataInsertHungary { + + static String geonetworkurl = "http://geonetwork.geothermaldata.d4science.org/geonetwork"; + static String geoserverurl = "http://geoserver-dev.d4science-ii.research-infrastructures.eu/geoserver"; + static String user = "admin"; + static String password = "d4science2014"; + + public static void main(String[] args) throws Exception{ + + for (int i=0;i0) + metadataInserter.customMetaDataInsert(urls,protocols); + } + +}