diff --git a/README.md b/README.md index c6bd8e6fd3f99d6e975dd5970292425b434cab95..fd3950ec40aff660e3ddcb9ced89dafc875feb38 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Jede Brücke benötigt mindestens zwei Informationen: | `BRIDGE_x_FIX_MISSING_TEMPORAL` | pro Brücke | ist hier eine 1 gesetzt, wird bei fehlender zeitlicher Coverage das Veröffentlichungsdatum als Startdatum verwendet | | `BRIDGE_x_FILTER_OPENDATA` | pro Brücke | ist hier eine 1 gesetzt, wird bei jeder Suche automatisch die Filterbedingung `Subject=opendata` eingefügt | | `BRIDGE_x_SORT_RESULTS` | pro Brücke | ist hier 0 oder `false` gesetzt, wird beim `GetRecords`-Aufruf keine Sortierung angefordert | +| `BRIDGE_x_IGNORE_SERIES_WITHOUT_DISTRIBUTION` | pro Brücke | ist hier 1 oder `true` gesetzt, werden Serien, die keinen Download oder gekoppelten Dienst haben, ignoriert und nicht mit in die Ausgabe geschrieben | | `BRIDGE_PORT` | global | Nummer des TCP-Ports, auf dem das Programm hören soll | | `BRIDGE_BASE_URL` | global | Adresse unter der die CSW2DCAT von außen erreichbar sein wird | | `BRIDGE_VERBOSE_LOGGING` | global | (existierendes) Verzeichnis, in das alle Antworten des CSW und alle als Ausgaben erzeugten DCAT-AP.de-Dokumente geschrieben werden | diff --git a/src/main/java/de/landsh/opendata/csw2dcat/BridgeSettings.java b/src/main/java/de/landsh/opendata/csw2dcat/BridgeSettings.java index 6b0e0843b2944f7d4608d40b6e033b475efff82e..06d80327f872573318b7a01724acf971dc837530 100644 --- a/src/main/java/de/landsh/opendata/csw2dcat/BridgeSettings.java +++ b/src/main/java/de/landsh/opendata/csw2dcat/BridgeSettings.java @@ -31,4 +31,11 @@ public class BridgeSettings { boolean findWMSinInfo = false; boolean sortResults = true; + + /** + * A geo series might not have a download option (which is totally valid). If this option is set to <code>true</code> + * these series will be ignored. + */ + boolean ignoreSeriesWithoutDistribution = false; + } diff --git a/src/main/java/de/landsh/opendata/csw2dcat/MDMetadata2Dataset.java b/src/main/java/de/landsh/opendata/csw2dcat/MDMetadata2Dataset.java index c63df22f74fff287c20af32e28838162c6d67211..45adc7ba421c0638f56ab4f43594785e1d7be851 100644 --- a/src/main/java/de/landsh/opendata/csw2dcat/MDMetadata2Dataset.java +++ b/src/main/java/de/landsh/opendata/csw2dcat/MDMetadata2Dataset.java @@ -935,7 +935,13 @@ public class MDMetadata2Dataset { } } } + } + if (settings.ignoreSeriesWithoutDistribution && !dataset.hasProperty(DCAT.distribution)) { + // Geo series might not have a download option or a couple service (which is totally valid). If configured, + // this kind of series will be ignored. + dataset.removeProperties(); + return null; } return dataset; diff --git a/src/main/java/de/landsh/opendata/csw2dcat/Server.java b/src/main/java/de/landsh/opendata/csw2dcat/Server.java index edb6c39885d14b10ea5fe45c7511be31fb328901..578d069a4280b4b11d27ff362fadfbfdf6d3869e 100644 --- a/src/main/java/de/landsh/opendata/csw2dcat/Server.java +++ b/src/main/java/de/landsh/opendata/csw2dcat/Server.java @@ -89,6 +89,7 @@ public class Server implements HttpHandler { settings.addMissingTemporalStart = BooleanUtils.toBoolean(System.getenv("BRIDGE" + prefix + "_FIX_MISSING_TEMPORAL")); settings.filterOpenData = BooleanUtils.toBoolean(System.getenv("BRIDGE" + prefix + "_FILTER_OPENDATA")); settings.authorization = StringUtils.defaultString(System.getenv("BRIDGE" + prefix + "_AUTHORIZATION")); + settings.ignoreSeriesWithoutDistribution = BooleanUtils.toBoolean(System.getenv("BRIDGE" + prefix + "_IGNORE_SERIES_WITHOUT_DISTRIBUTION")); if (System.getenv("BRIDGE" + prefix + "_SORT_RESULTS") != null) { settings.sortResults = BooleanUtils.toBoolean(System.getenv("BRIDGE" + prefix + "_SORT_RESULTS")); @@ -130,7 +131,7 @@ public class Server implements HttpHandler { // Check if the specified path is an existing direcotry. final File dir = new File(verboseLogging); if (dir.isDirectory()) { - if( dir.canWrite()) { + if (dir.canWrite()) { log.info("Writing incoming and outgoing messages into {}", verboseLogging); } else { log.warn("Cannot write in the directory for verbose logging {}. No files will be written", verboseLogging); diff --git a/src/test/java/de/landsh/opendata/csw2dcat/MDMetadata2DatasetTests.java b/src/test/java/de/landsh/opendata/csw2dcat/MDMetadata2DatasetTests.java index 98ea65a858b00429bfe3739769cef7bb1b959d3d..492a2caae51931d48d4cb80f12340daa20845190 100644 --- a/src/test/java/de/landsh/opendata/csw2dcat/MDMetadata2DatasetTests.java +++ b/src/test/java/de/landsh/opendata/csw2dcat/MDMetadata2DatasetTests.java @@ -1319,7 +1319,7 @@ public class MDMetadata2DatasetTests { final Map<String, Resource> distributionMap = collectDistributions(result); assertEquals(2, distributionMap.size()); - + Resource distribution = distributionMap.get("https://opendata.schleswig-holstein.de/dataset/d501a7ab-a85e-4988-a98e-8f3ae3ab5df2/resource/1bcad7cd-9c94-4a06-bbbc-c7929bb37751/download/lsg.zip"); assertEquals(FILE_TYPE_SHP, distribution.getProperty(DCTerms.format).getResource()); assertEquals("Landschaftsschutzgebiete (1:25.000)", distribution.getProperty(DCTerms.title).getString()); @@ -1345,8 +1345,8 @@ public class MDMetadata2DatasetTests { } /** - * Referencing the EU vocabulary for HVD categories as gmx:Anchor elements - * (in accordance with the GDI-DE mapping rules of 2024-03-20 variant b) + * Referencing the EU vocabulary for HVD categories as gmx:Anchor elements + * (in accordance with the GDI-DE mapping rules of 2024-03-20 variant b) */ @Test public void convert_highValueDataset_b() throws DocumentException, IOException { @@ -1360,17 +1360,17 @@ public class MDMetadata2DatasetTests { } /** - * In some source systems, German and English titles are strangely combined in one text. + * In some source systems, German and English titles are strangely combined in one text. */ @Test public void convert_mixedGermanEnglishTitles() throws DocumentException, IOException { final Document inputDocument = saxReader.read(getClass().getResourceAsStream("/00729c12-e689-446d-83bd-dd8cfd0eeeb8.xml")); final Resource result = service.convert(inputDocument); - assertTrue(result.hasProperty( DCTerms.title, ResourceFactory.createLangLiteral( - "Robben im Schleswig-Holsteinischen Wattenmeer 1995", "de") )); - assertTrue(result.hasProperty( DCTerms.title, ResourceFactory.createLangLiteral( - "Seals in the Schleswig-Holstein Wadden Sea in 1995", "en") )); + assertTrue(result.hasProperty(DCTerms.title, ResourceFactory.createLangLiteral( + "Robben im Schleswig-Holsteinischen Wattenmeer 1995", "de"))); + assertTrue(result.hasProperty(DCTerms.title, ResourceFactory.createLangLiteral( + "Seals in the Schleswig-Holstein Wadden Sea in 1995", "en"))); } /** @@ -1388,4 +1388,18 @@ public class MDMetadata2DatasetTests { assertEquals(FILE_TYPE_SHP, distribution.getProperty(DCTerms.format).getResource()); } + /** + * This geo series does not have a download option (which is totally valid). If the configuration "skip + * series without distribution" is set this series will be ignored. + */ + @Test + public void convert_SeriesWithoutDistribution() throws DocumentException, IOException { + final Document inputDocument = saxReader.read(getClass().getResourceAsStream("/d3c6c074-4d69-4b1f-9efb-dbd9644f82c0.xml")); + + service.getSettings().ignoreSeriesWithoutDistribution = true; + + final Resource result = service.convert(inputDocument); + + assertNull(result); + } } diff --git a/src/test/java/de/landsh/opendata/csw2dcat/ServerTests.java b/src/test/java/de/landsh/opendata/csw2dcat/ServerTests.java index 8c107685ba98730342c77929cdf6d49f72f09b07..571febe59c5cb496b156cfc88975aa7a24e4835f 100644 --- a/src/test/java/de/landsh/opendata/csw2dcat/ServerTests.java +++ b/src/test/java/de/landsh/opendata/csw2dcat/ServerTests.java @@ -107,6 +107,8 @@ public class ServerTests { environmentVariables.set("BRIDGE_2_FILTER_OPENDATA", "true"); environmentVariables.set("BRIDGE_2_SORT_RESULTS", "false"); environmentVariables.set("BRIDGE_2_TYPE_INCLUDE", "dataset,series"); + environmentVariables.set("BRIDGE_2_IGNORE_SERIES_WITHOUT_DISTRIBUTION", "true"); + environmentVariables.set("BRIDGE_3_URL", "http://localhost:8083/csw"); environmentVariables.set("BRIDGE_3_SORT_RESULTS", "1"); @@ -129,6 +131,9 @@ public class ServerTests { assertTrue(settings1.sortResults); assertFalse(settings2.sortResults); assertTrue(settings3.sortResults); + assertFalse(settings1.ignoreSeriesWithoutDistribution); + assertTrue(settings2.ignoreSeriesWithoutDistribution); + assertFalse(settings1.ignoreSeriesWithoutDistribution); assertNotNull(settings1.typeExclude); assertEquals(3, settings1.typeExclude.length); diff --git a/src/test/resources/d3c6c074-4d69-4b1f-9efb-dbd9644f82c0.xml b/src/test/resources/d3c6c074-4d69-4b1f-9efb-dbd9644f82c0.xml new file mode 100644 index 0000000000000000000000000000000000000000..8eeef8a0d24144d8a68853429f8fa6cd4c516d06 --- /dev/null +++ b/src/test/resources/d3c6c074-4d69-4b1f-9efb-dbd9644f82c0.xml @@ -0,0 +1,655 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<csw:GetRecordByIdResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"> + <gmd:MD_Metadata xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" + xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmx="http://www.isotc211.org/2005/gmx" + xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:igctx="https://www.ingrid-oss.eu/schemas/igctx" + xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://repository.gdi-de.org/schemas/geonetwork/2020-12-11/csw/2.0.2/profiles/apiso/1.0.1/apiso.xsd https://www.ingrid-oss.eu/schemas/igctx https://www.ingrid-oss.eu/schemas/igctx/igctx.xsd"> + + <gmd:fileIdentifier> + <gco:CharacterString>d3c6c074-4d69-4b1f-9efb-dbd9644f82c0</gco:CharacterString> + </gmd:fileIdentifier> + <gmd:language> + <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="ger" /> + </gmd:language> + <gmd:characterSet> + <gmd:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" + codeListValue="utf8" /> + </gmd:characterSet> + <gmd:hierarchyLevel> + <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" + codeListValue="dataset">dataset</gmd:MD_ScopeCode> + </gmd:hierarchyLevel> + <gmd:contact> + <gmd:CI_ResponsibleParty uuid="75C5BEAC-2CB6-49D1-8AFC-CFC6390CECE9"> + <gmd:individualName> + <gco:CharacterString>H C</gco:CharacterString> + </gmd:individualName> + <gmd:organisationName> + <gco:CharacterString>Landesamt für Umwelt des Landes Schleswig-Holstein (LfU)</gco:CharacterString> + </gmd:organisationName> + <gmd:positionName> + <gco:CharacterString>Abteilung 4 LfU Gewässer</gco:CharacterString> + </gmd:positionName> + <gmd:contactInfo> + <gmd:CI_Contact> + <gmd:phone> + <gmd:CI_Telephone> + <gmd:voice> + <gco:CharacterString>+49 (0) 04347 704-0</gco:CharacterString> + </gmd:voice> + <gmd:facsimile> + <gco:CharacterString>+49 (0) 04347 704-0</gco:CharacterString> + </gmd:facsimile> + </gmd:CI_Telephone> + </gmd:phone> + <gmd:address> + <gmd:CI_Address> + <gmd:deliveryPoint> + <gco:CharacterString>Hamburger Chaussee 25</gco:CharacterString> + </gmd:deliveryPoint> + <gmd:city> + <gco:CharacterString>Flintbek</gco:CharacterString> + </gmd:city> + <gmd:administrativeArea> + <gco:CharacterString>Schleswig-Holstein</gco:CharacterString> + </gmd:administrativeArea> + <gmd:postalCode> + <gco:CharacterString>24220</gco:CharacterString> + </gmd:postalCode> + <gmd:country> + <gco:CharacterString>DEU</gco:CharacterString> + </gmd:country> + <gmd:electronicMailAddress> + <gco:CharacterString>info@lfu.landsh.de</gco:CharacterString> + </gmd:electronicMailAddress> + </gmd:CI_Address> + </gmd:address> + </gmd:CI_Contact> + </gmd:contactInfo> + <gmd:role> + <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" + codeListValue="pointOfContact" /> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:contact> + <gmd:dateStamp> + <gco:Date>2023-09-29</gco:Date> + </gmd:dateStamp> + <gmd:metadataStandardName> + <gco:CharacterString>ISO19115</gco:CharacterString> + </gmd:metadataStandardName> + <gmd:metadataStandardVersion> + <gco:CharacterString>2003/Cor.1:2006</gco:CharacterString> + </gmd:metadataStandardVersion> + <gmd:referenceSystemInfo> + <gmd:MD_ReferenceSystem> + <gmd:referenceSystemIdentifier> + <gmd:RS_Identifier> + <gmd:code> + <gmx:Anchor xlink:href="http://www.opengis.net/def/crs/EPSG/0/4326">EPSG 4326: WGS 84 / geographisch</gmx:Anchor> + </gmd:code> + </gmd:RS_Identifier> + </gmd:referenceSystemIdentifier> + </gmd:MD_ReferenceSystem> + </gmd:referenceSystemInfo> + <gmd:identificationInfo> + <gmd:MD_DataIdentification uuid="https://mdi-sh.org#16fd4bd0-37f9-11e3-aa6e-0800200c9a66"> + <gmd:citation> + <gmd:CI_Citation> + <gmd:title> + <gco:CharacterString>Schadstoffe (Serie)</gco:CharacterString> + </gmd:title> + <gmd:alternateTitle> + <gco:CharacterString>Schadstoffe</gco:CharacterString> + </gmd:alternateTitle> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:DateTime>2011-10-04T00:00:00.000+02:00</gco:DateTime> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" + codeListValue="creation" /> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:DateTime>2011-10-04T00:00:00.000+02:00</gco:DateTime> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" + codeListValue="publication" /> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + <gmd:identifier> + <gmd:MD_Identifier> + <gmd:code> + <gco:CharacterString>https://mdi-sh.org#16fd4bd0-37f9-11e3-aa6e-0800200c9a66</gco:CharacterString> + </gmd:code> + </gmd:MD_Identifier> + </gmd:identifier> + </gmd:CI_Citation> + </gmd:citation> + <gmd:abstract> + <gco:CharacterString>Schadstoffdaten des Landesamtes für Landwirtschaft, Umwelt und ländliche Räume Schleswig-Holstein. + Einzelwerte und aggregierte Daten.</gco:CharacterString> + </gmd:abstract> + <gmd:purpose> + <gco:CharacterString>Darstellung und Download der Messdaten für die Meeresstrategie-Rahmenrichtlinie + (MSRL)</gco:CharacterString> + </gmd:purpose> + <gmd:status> + <gmd:MD_ProgressCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode" + codeListValue="onGoing" /> + </gmd:status> + <gmd:pointOfContact> + <gmd:CI_ResponsibleParty uuid="5DBA4760-F37F-45C4-8ED0-DB43F37EFA26"> + <gmd:organisationName> + <gco:CharacterString>Landesamt für Umwelt des Landes Schleswig-Holstein (LfU)</gco:CharacterString> + </gmd:organisationName> + <gmd:positionName> + <gco:CharacterString>AL 4</gco:CharacterString> + </gmd:positionName> + <gmd:contactInfo> + <gmd:CI_Contact> + <gmd:phone> + <gmd:CI_Telephone> + <gmd:voice> + <gco:CharacterString>+49 (0) 04347 704 0</gco:CharacterString> + </gmd:voice> + </gmd:CI_Telephone> + </gmd:phone> + <gmd:address> + <gmd:CI_Address> + <gmd:deliveryPoint> + <gco:CharacterString>Hamburger Chaussee 25</gco:CharacterString> + </gmd:deliveryPoint> + <gmd:city> + <gco:CharacterString>Flintbek</gco:CharacterString> + </gmd:city> + <gmd:administrativeArea> + <gco:CharacterString>Schleswig-Holstein</gco:CharacterString> + </gmd:administrativeArea> + <gmd:postalCode> + <gco:CharacterString>24220</gco:CharacterString> + </gmd:postalCode> + <gmd:country> + <gco:CharacterString>DEU</gco:CharacterString> + </gmd:country> + <gmd:electronicMailAddress> + <gco:CharacterString>Poststelle@lfu.landsh.de</gco:CharacterString> + </gmd:electronicMailAddress> + </gmd:CI_Address> + </gmd:address> + </gmd:CI_Contact> + </gmd:contactInfo> + <gmd:role> + <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" + codeListValue="originator" /> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:pointOfContact> + <gmd:pointOfContact> + <gmd:CI_ResponsibleParty uuid="75C5BEAC-2CB6-49D1-8AFC-CFC6390CECE9"> + <gmd:individualName> + <gco:CharacterString>H C, Herr</gco:CharacterString> + </gmd:individualName> + <gmd:organisationName> + <gco:CharacterString>Landesamt für Umwelt des Landes Schleswig-Holstein (LfU)</gco:CharacterString> + </gmd:organisationName> + <gmd:positionName> + <gco:CharacterString>Abteilung 4 LfU Gewässer</gco:CharacterString> + </gmd:positionName> + <gmd:contactInfo> + <gmd:CI_Contact> + <gmd:phone> + <gmd:CI_Telephone> + <gmd:voice> + <gco:CharacterString>+49 (0) 04347 704-0</gco:CharacterString> + </gmd:voice> + <gmd:facsimile> + <gco:CharacterString>+49 (0) 04347 704-0</gco:CharacterString> + </gmd:facsimile> + </gmd:CI_Telephone> + </gmd:phone> + <gmd:address> + <gmd:CI_Address> + <gmd:deliveryPoint> + <gco:CharacterString>Hamburger Chaussee 25</gco:CharacterString> + </gmd:deliveryPoint> + <gmd:city> + <gco:CharacterString>Flintbek</gco:CharacterString> + </gmd:city> + <gmd:administrativeArea> + <gco:CharacterString>Schleswig-Holstein</gco:CharacterString> + </gmd:administrativeArea> + <gmd:postalCode> + <gco:CharacterString>24220</gco:CharacterString> + </gmd:postalCode> + <gmd:country> + <gco:CharacterString>DEU</gco:CharacterString> + </gmd:country> + <gmd:electronicMailAddress> + <gco:CharacterString>info@lfu.landsh.de</gco:CharacterString> + </gmd:electronicMailAddress> + </gmd:CI_Address> + </gmd:address> + </gmd:CI_Contact> + </gmd:contactInfo> + <gmd:role> + <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" + codeListValue="pointOfContact" /> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:pointOfContact> + <gmd:pointOfContact> + <gmd:CI_ResponsibleParty uuid="5DBA4760-F37F-45C4-8ED0-DB43F37EFA26"> + <gmd:organisationName> + <gco:CharacterString>Landesamt für Umwelt des Landes Schleswig-Holstein (LfU)</gco:CharacterString> + </gmd:organisationName> + <gmd:positionName> + <gco:CharacterString>AL 4</gco:CharacterString> + </gmd:positionName> + <gmd:contactInfo> + <gmd:CI_Contact> + <gmd:phone> + <gmd:CI_Telephone> + <gmd:voice> + <gco:CharacterString>+49 (0) 04347 704 0</gco:CharacterString> + </gmd:voice> + </gmd:CI_Telephone> + </gmd:phone> + <gmd:address> + <gmd:CI_Address> + <gmd:deliveryPoint> + <gco:CharacterString>Hamburger Chaussee 25</gco:CharacterString> + </gmd:deliveryPoint> + <gmd:city> + <gco:CharacterString>Flintbek</gco:CharacterString> + </gmd:city> + <gmd:administrativeArea> + <gco:CharacterString>Schleswig-Holstein</gco:CharacterString> + </gmd:administrativeArea> + <gmd:postalCode> + <gco:CharacterString>24220</gco:CharacterString> + </gmd:postalCode> + <gmd:country> + <gco:CharacterString>DEU</gco:CharacterString> + </gmd:country> + <gmd:electronicMailAddress> + <gco:CharacterString>Poststelle@lfu.landsh.de</gco:CharacterString> + </gmd:electronicMailAddress> + </gmd:CI_Address> + </gmd:address> + </gmd:CI_Contact> + </gmd:contactInfo> + <gmd:role> + <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" + codeListValue="publisher" /> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:pointOfContact> + <gmd:resourceMaintenance> + <gmd:MD_MaintenanceInformation> + <gmd:maintenanceAndUpdateFrequency> + <gmd:MD_MaintenanceFrequencyCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_MaintenanceFrequencyCode" + codeListValue="asNeeded" /> + </gmd:maintenanceAndUpdateFrequency> + <gmd:updateScope> + <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" + codeListValue="dataset" /> + </gmd:updateScope> + </gmd:MD_MaintenanceInformation> + </gmd:resourceMaintenance> + <gmd:descriptiveKeywords> + <gmd:MD_Keywords> + <gmd:keyword> + <gco:CharacterString>Ozeanografisch-geografische Kennwerte</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Umweltüberwachung</gco:CharacterString> + </gmd:keyword> + <gmd:type> + <gmd:MD_KeywordTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" + codeListValue="theme" /> + </gmd:type> + <gmd:thesaurusName> + <gmd:CI_Citation> + <gmd:title> + <gco:CharacterString>GEMET - INSPIRE themes, version 1.0</gco:CharacterString> + </gmd:title> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>2008-06-01</gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" + codeListValue="publication">publication</gmd:CI_DateTypeCode> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </gmd:CI_Citation> + </gmd:thesaurusName> + </gmd:MD_Keywords> + </gmd:descriptiveKeywords> + <gmd:descriptiveKeywords> + <gmd:MD_Keywords> + <gmd:keyword> + <gco:CharacterString>msrlrelevant2012</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>MDI-SH</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Küstengewässer</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>MDI-DE</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>LLUR</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Schleswig-Holstein</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Nordsee</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Ostsee</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Metall</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>NonSynthetic</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Arsen</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Kupfer</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Zink</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Quecksilber</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Chrom</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Nickel</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Cadmium</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Blei</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Schadstoff</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>MSRL</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>EU-Richtlinie</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Meeresstrategie-Rahmenrichtlinie</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>Umweltschutz</gco:CharacterString> + </gmd:keyword> + <gmd:keyword> + <gco:CharacterString>opendata</gco:CharacterString> + </gmd:keyword> + </gmd:MD_Keywords> + </gmd:descriptiveKeywords> + <gmd:descriptiveKeywords> + <gmd:MD_Keywords> + <gmd:keyword> + <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialScope/regional">Regional</gmx:Anchor> + </gmd:keyword> + <gmd:thesaurusName> + <gmd:CI_Citation> + <gmd:title> + <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialScope">Spatial scope</gmx:Anchor> + </gmd:title> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>2019-05-22</gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" + codeListValue="publication">publication</gmd:CI_DateTypeCode> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </gmd:CI_Citation> + </gmd:thesaurusName> + </gmd:MD_Keywords> + </gmd:descriptiveKeywords> + <gmd:descriptiveKeywords> + <gmd:MD_Keywords> + <gmd:keyword> + <gco:CharacterString>ENVI</gco:CharacterString> + </gmd:keyword> + <gmd:type> + <gmd:MD_KeywordTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" + codeListValue="theme" /> + </gmd:type> + </gmd:MD_Keywords> + </gmd:descriptiveKeywords> + <gmd:resourceConstraints> + <gmd:MD_LegalConstraints> + <gmd:useLimitation> + <gco:CharacterString>keine</gco:CharacterString> + </gmd:useLimitation> + </gmd:MD_LegalConstraints> + </gmd:resourceConstraints> + <gmd:resourceConstraints> + <gmd:MD_LegalConstraints> + <gmd:useConstraints> + <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" + codeListValue="otherRestrictions" /> + </gmd:useConstraints> + <gmd:otherConstraints> + <gco:CharacterString>Datenlizenz Deutschland Namensnennung 2.0</gco:CharacterString> + </gmd:otherConstraints> + <gmd:otherConstraints> + <gco:CharacterString>Quellenvermerk: LLUR SH</gco:CharacterString> + </gmd:otherConstraints> + <gmd:otherConstraints> + <gco:CharacterString>{"id":"dl-by-de/2.0","name":"Datenlizenz Deutschland Namensnennung + 2.0","url":"https://www.govdata.de/dl-de/by-2-0","quelle":"LLUR SH"}</gco:CharacterString> + </gmd:otherConstraints> + </gmd:MD_LegalConstraints> + </gmd:resourceConstraints> + <gmd:resourceConstraints> + <gmd:MD_LegalConstraints> + <gmd:accessConstraints> + <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" + codeListValue="otherRestrictions">otherRestrictions</gmd:MD_RestrictionCode> + </gmd:accessConstraints> + <gmd:otherConstraints> + <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations">Es + gelten keine Zugriffsbeschränkungen</gmx:Anchor> + </gmd:otherConstraints> + </gmd:MD_LegalConstraints> + </gmd:resourceConstraints> + <gmd:spatialRepresentationType> + <gmd:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" + codeListValue="vector" /> + </gmd:spatialRepresentationType> + <gmd:language> + <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="ger" /> + </gmd:language> + <gmd:topicCategory> + <gmd:MD_TopicCategoryCode>environment</gmd:MD_TopicCategoryCode> + </gmd:topicCategory> + <gmd:topicCategory> + <gmd:MD_TopicCategoryCode>oceans</gmd:MD_TopicCategoryCode> + </gmd:topicCategory> + <gmd:topicCategory> + <gmd:MD_TopicCategoryCode>structure</gmd:MD_TopicCategoryCode> + </gmd:topicCategory> + <gmd:extent> + <gmd:EX_Extent> + <gmd:geographicElement> + <gmd:EX_GeographicDescription> + <gmd:extentTypeCode> + <gco:Boolean>true</gco:Boolean> + </gmd:extentTypeCode> + <gmd:geographicIdentifier> + <gmd:MD_Identifier> + <gmd:code> + <gco:CharacterString>Raumbezug des Datensatzes</gco:CharacterString> + </gmd:code> + </gmd:MD_Identifier> + </gmd:geographicIdentifier> + </gmd:EX_GeographicDescription> + </gmd:geographicElement> + <gmd:geographicElement> + <gmd:EX_GeographicBoundingBox> + <gmd:extentTypeCode> + <gco:Boolean>true</gco:Boolean> + </gmd:extentTypeCode> + <gmd:westBoundLongitude> + <gco:Decimal>7.6</gco:Decimal> + </gmd:westBoundLongitude> + <gmd:eastBoundLongitude> + <gco:Decimal>11.6</gco:Decimal> + </gmd:eastBoundLongitude> + <gmd:southBoundLatitude> + <gco:Decimal>11.6</gco:Decimal> + </gmd:southBoundLatitude> + <gmd:northBoundLatitude> + <gco:Decimal>55.4</gco:Decimal> + </gmd:northBoundLatitude> + </gmd:EX_GeographicBoundingBox> + </gmd:geographicElement> + <gmd:temporalElement> + <gmd:EX_TemporalExtent> + <gmd:extent> + <gml:TimePeriod gml:id="timePeriod_ID_b2865bd8-f2c6-47f7-84e8-10959fc781c7"> + <gml:beginPosition>2003-01-01T00:00:00.000+01:00</gml:beginPosition> + <gml:endPosition>2011-01-01T00:00:00.000+01:00</gml:endPosition> + </gml:TimePeriod> + </gmd:extent> + </gmd:EX_TemporalExtent> + </gmd:temporalElement> + </gmd:EX_Extent> + </gmd:extent> + </gmd:MD_DataIdentification> + </gmd:identificationInfo> + <gmd:distributionInfo> + <gmd:MD_Distribution> + <gmd:distributionFormat> + <gmd:MD_Format> + <gmd:name> + <gco:CharacterString>Shapefiles</gco:CharacterString> + </gmd:name> + <gmd:version> + <gco:CharacterString>9.3</gco:CharacterString> + </gmd:version> + </gmd:MD_Format> + </gmd:distributionFormat> + <gmd:distributionFormat> + <gmd:MD_Format> + <gmd:name> + <gco:CharacterString>WMS</gco:CharacterString> + </gmd:name> + <gmd:version> + <gco:CharacterString>1.1.0 1.3.0</gco:CharacterString> + </gmd:version> + <gmd:specification> + <gco:CharacterString>OpenGIS Web Map Service (WMS) Implementation Specification</gco:CharacterString> + </gmd:specification> + </gmd:MD_Format> + </gmd:distributionFormat> + <gmd:distributor> + <gmd:MD_Distributor> + <gmd:distributorContact> + <gmd:CI_ResponsibleParty> + <gmd:role> + <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" + codeListValue="distributor" /> + </gmd:role> + </gmd:CI_ResponsibleParty> + </gmd:distributorContact> + <gmd:distributionOrderProcess> + <gmd:MD_StandardOrderProcess> + <gmd:orderingInstructions> + <gco:CharacterString>Gebuehren: keine</gco:CharacterString> + </gmd:orderingInstructions> + </gmd:MD_StandardOrderProcess> + </gmd:distributionOrderProcess> + </gmd:MD_Distributor> + </gmd:distributor> + </gmd:MD_Distribution> + </gmd:distributionInfo> + <gmd:dataQualityInfo> + <gmd:DQ_DataQuality> + <gmd:scope> + <gmd:DQ_Scope> + <gmd:level> + <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" + codeListValue="dataset" /> + </gmd:level> + </gmd:DQ_Scope> + </gmd:scope> + <gmd:report> + <gmd:DQ_DomainConsistency> + <gmd:result> + <gmd:DQ_ConformanceResult> + <gmd:specification> + <gmd:CI_Citation> + <gmd:title> + <gco:CharacterString>VERORDNUNG (EG) Nr. 1089/2010 DER KOMMISSION vom 23. November 2010 zur Durchführung + der Richtlinie 2007/2/EG des Europäischen Parlaments und des Rates hinsichtlich der Interoperabilität von + Geodatensätzen und -diensten</gco:CharacterString> + </gmd:title> + <gmd:date> + <gmd:CI_Date> + <gmd:date> + <gco:Date>2013-06-14</gco:Date> + </gmd:date> + <gmd:dateType> + <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" + codeListValue="publication">publication</gmd:CI_DateTypeCode> + </gmd:dateType> + </gmd:CI_Date> + </gmd:date> + </gmd:CI_Citation> + </gmd:specification> + <gmd:explanation> + <gco:CharacterString>Die Qualität der Daten entspricht nicht den Datenspezifikationen.</gco:CharacterString> + </gmd:explanation> + <gmd:pass> + <gco:Boolean>false</gco:Boolean> + </gmd:pass> + </gmd:DQ_ConformanceResult> + </gmd:result> + </gmd:DQ_DomainConsistency> + </gmd:report> + <gmd:lineage> + <gmd:LI_Lineage> + <gmd:statement> + <gco:CharacterString>Monitoring</gco:CharacterString> + </gmd:statement> + </gmd:LI_Lineage> + </gmd:lineage> + </gmd:DQ_DataQuality> + </gmd:dataQualityInfo> + </gmd:MD_Metadata> +</csw:GetRecordByIdResponse>