From 87a8e3df5871ae240e3496f97bf75b4041dcb386 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Mon, 9 Sep 2024 18:16:43 +0200 Subject: [PATCH] Harvester / Simple URL / ODS improvement * Ignore "null" value * Add support for "metas/dcat" * Fix path for language when using v2 API * Add spatial and temporal extent when available * Add extra keywords based one "metas/dcat/temporal" and "metas/default/territory" * Add resource identifier * Add record count and geometry type * Add lineage and credit * Add references * Cleanup namespaces Follow up of https://github.com/geonetwork/core-geonetwork/pull/7201 Related to https://github.com/geonetwork/core-geonetwork/pull/8359 --- .../ISO19115_3_2018Namespaces.java | 22 + .../ISO19115_3_2018SchemaPlugin.java | 2 +- .../convert/fromJsonOpenDataSoft.xsl | 1323 ++++++++++------- .../convert/odstheme-mapping.xsl | 1 + .../geonet/schema/LanguageXslProcessTest.java | 25 +- .../fao/geonet/schema/XslConversionTest.java | 75 + .../java/org/fao/geonet/util/XslUtil.java | 25 + .../src/test/resources/ods.json | 381 +++++ .../src/test/resources/ods.xml | 854 +++++++++++ 9 files changed, 2155 insertions(+), 553 deletions(-) create mode 100644 schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/XslConversionTest.java create mode 100644 schemas/iso19115-3.2018/src/test/resources/ods.json create mode 100644 schemas/iso19115-3.2018/src/test/resources/ods.xml diff --git a/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018Namespaces.java b/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018Namespaces.java index e495952af4d..6d47aeb24e7 100644 --- a/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018Namespaces.java +++ b/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018Namespaces.java @@ -1,3 +1,25 @@ +/* + * Copyright (C) 2001-2024 Food and Agriculture Organization of the + * United Nations (FAO-UN), United Nations World Food Programme (WFP) + * and United Nations Environment Programme (UNEP) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, + * Rome - Italy. email: geonetwork@osgeo.org + */ package org.fao.geonet.schema.iso19115_3_2018; import org.jdom.Namespace; diff --git a/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018SchemaPlugin.java b/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018SchemaPlugin.java index 403f1037946..aa73fd0d2fd 100644 --- a/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018SchemaPlugin.java +++ b/schemas/iso19115-3.2018/src/main/java/org/fao/geonet/schema/iso19115_3_2018/ISO19115_3_2018SchemaPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2001-2023 Food and Agriculture Organization of the + * Copyright (C) 2001-2024 Food and Agriculture Organization of the * United Nations (FAO-UN), United Nations World Food Programme (WFP) * and United Nations Environment Programme (UNEP) * diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/fromJsonOpenDataSoft.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/fromJsonOpenDataSoft.xsl index 04e69e18483..8c7b9b76bf2 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/fromJsonOpenDataSoft.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/fromJsonOpenDataSoft.xsl @@ -1,224 +1,169 @@ + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ISO 19115-3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - publisher - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + ISO 19115-3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + publisher + + + + + + + + + + @@ -232,403 +177,683 @@ - - - - - - - - - - originator - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + originator + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + - + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + csv + + + json + + - csv + geojson - - json - - + - geojson + shapefile - - - shapefile - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - csv - - - json - - - - geojson - - - - shp - - - - - - - - - + + + - + - WWW:LINK:LANDING_PAGE + - Landing Page + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + csv + + + json + + + + geojson + + + + shp + + + + + + + + + + + + + + + + + + + WWW:LINK:LANDING_PAGE + + + + + Landing Page + + + + + + + + + + + + + + + + + + + + WWW:LINK + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + '/exports/', $format, '?use_labels=true')"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/odstheme-mapping.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/odstheme-mapping.xsl index c5046e099cf..3b99ba96c35 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/odstheme-mapping.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/odstheme-mapping.xsl @@ -6,6 +6,7 @@ Santé Health + Qualité de Vie Environnement diff --git a/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/LanguageXslProcessTest.java b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/LanguageXslProcessTest.java index c3f5a966ce3..b91a3eddd62 100644 --- a/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/LanguageXslProcessTest.java +++ b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/LanguageXslProcessTest.java @@ -1,3 +1,25 @@ +/* + * Copyright (C) 2001-2024 Food and Agriculture Organization of the + * United Nations (FAO-UN), United Nations World Food Programme (WFP) + * and United Nations Environment Programme (UNEP) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, + * Rome - Italy. email: geonetwork@osgeo.org + */ package org.fao.geonet.schema; import org.fao.geonet.schema.iso19115_3_2018.ISO19115_3_2018SchemaPlugin; @@ -14,9 +36,6 @@ import static org.junit.Assert.assertThat; import static org.xmlunit.matchers.EvaluateXPathMatcher.hasXPath; -/** - * Created by francois on 3/24/14. - */ public class LanguageXslProcessTest extends XslProcessTest { public LanguageXslProcessTest() { diff --git a/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/XslConversionTest.java b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/XslConversionTest.java new file mode 100644 index 00000000000..926e6045a99 --- /dev/null +++ b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/schema/XslConversionTest.java @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2001-2024 Food and Agriculture Organization of the + * United Nations (FAO-UN), United Nations World Food Programme (WFP) + * and United Nations Environment Programme (UNEP) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, + * Rome - Italy. email: geonetwork@osgeo.org + */ +package org.fao.geonet.schema; + +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import org.fao.geonet.schema.iso19115_3_2018.ISO19115_3_2018SchemaPlugin; +import org.fao.geonet.schemas.XslProcessTest; +import org.fao.geonet.utils.Xml; +import org.jdom.Element; +import static org.junit.Assert.assertFalse; +import org.junit.Test; +import org.xmlunit.builder.DiffBuilder; +import org.xmlunit.builder.Input; +import org.xmlunit.diff.DefaultNodeMatcher; +import org.xmlunit.diff.Diff; +import org.xmlunit.diff.ElementSelectors; + +public class XslConversionTest extends XslProcessTest { + + public XslConversionTest() { + super(); + this.setNs(ISO19115_3_2018SchemaPlugin.allNamespaces); + } + + @Test + public void testOdsConversion() throws Exception { + xslFile = Paths.get(testClass.getClassLoader().getResource("convert/fromJsonOpenDataSoft.xsl").toURI()); + xmlFile = Paths.get(testClass.getClassLoader().getResource("ods.xml").toURI()); + Path jsonFile = Paths.get(testClass.getClassLoader().getResource("ods.json").toURI()); + String jsonString = Files.readString(jsonFile); + Element xmlFromJSON = Xml.getXmlFromJSON(jsonString); + xmlFromJSON.setName("record"); + xmlFromJSON.addContent(new Element("nodeUrl").setText("https://www.odwb.be")); + + Element inputElement = Xml.loadFile(xmlFile); + String expectedXml = Xml.getString(inputElement); + + Element resultElement = Xml.transform(xmlFromJSON, xslFile); + String resultOfConversion = Xml.getString(resultElement); + + Diff diff = DiffBuilder + .compare(Input.fromString(resultOfConversion)) + .withTest(Input.fromString(expectedXml)) + .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byName)) + .normalizeWhitespace() + .ignoreComments() + .checkForSimilar() + .build(); + assertFalse( + String.format("Differences: %s", diff.toString()), + diff.hasDifferences()); + } +} diff --git a/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/util/XslUtil.java b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/util/XslUtil.java index d26836d4400..8d40393b2e0 100644 --- a/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/util/XslUtil.java +++ b/schemas/iso19115-3.2018/src/test/java/org/fao/geonet/util/XslUtil.java @@ -1,7 +1,32 @@ +/* + * Copyright (C) 2001-2024 Food and Agriculture Organization of the + * United Nations (FAO-UN), United Nations World Food Programme (WFP) + * and United Nations Environment Programme (UNEP) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + * Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, + * Rome - Italy. email: geonetwork@osgeo.org + */ package org.fao.geonet.util; public class XslUtil { public static String twoCharLangCode(String iso3code) { return iso3code.substring(0, 2); } + public static String threeCharLangCode(String iso2code) { + return "fre"; + } } diff --git a/schemas/iso19115-3.2018/src/test/resources/ods.json b/schemas/iso19115-3.2018/src/test/resources/ods.json new file mode 100644 index 00000000000..daaba03772d --- /dev/null +++ b/schemas/iso19115-3.2018/src/test/resources/ods.json @@ -0,0 +1,381 @@ +{ + "links": [ + { + "rel": "self", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes" + }, + { + "rel": "datasets", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets" + }, + { + "rel": "records", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/records" + }, + { + "rel": "exports", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/exports" + }, + { + "rel": "facets", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/facets" + }, + { + "rel": "reuses", + "href": "https://www.odwb.be/api/explore/v2.0/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/reuses" + } + ], + "dataset": { + "visibility": "domain", + "dataset_id": "collecte-de-sang-centre-de-prelevement-fixes", + "dataset_uid": "da_lac5du", + "has_records": true, + "features": [ + "calendar", + "geo", + "analyze", + "timeserie", + "custom_view" + ], + "attachments": [], + "alternative_exports": [], + "data_visible": true, + "fields": [ + { + "name": "identifiant", + "description": null, + "annotations": { + + }, + "label": "identifiant", + "type": "text" + }, + { + "name": "code_collecte", + "description": null, + "annotations": { + + }, + "label": "code_collecte", + "type": "text" + }, + { + "name": "nom", + "description": null, + "annotations": { + "sortable": true + }, + "label": "nom", + "type": "text" + }, + { + "name": "type_de_collecte", + "description": null, + "annotations": { + "facet": true + }, + "label": "type_de_collecte", + "type": "text" + }, + { + "name": "description", + "description": null, + "annotations": { + + }, + "label": "description", + "type": "text" + }, + { + "name": "url_source", + "description": null, + "annotations": { + + }, + "label": "url_source", + "type": "text" + }, + { + "name": "latitude", + "description": null, + "annotations": { + + }, + "label": "latitude", + "type": "text" + }, + { + "name": "longitude", + "description": null, + "annotations": { + + }, + "label": "longitude", + "type": "text" + }, + { + "name": "rue", + "description": null, + "annotations": { + + }, + "label": "rue", + "type": "text" + }, + { + "name": "code_postal", + "description": null, + "annotations": { + + }, + "label": "code postal", + "type": "text" + }, + { + "name": "ville", + "description": null, + "annotations": { + "facet": true + }, + "label": "ville", + "type": "text" + }, + { + "name": "date_collecte", + "description": null, + "annotations": { + "facetsort": "-count", + "timeserie_precision": "day" + }, + "label": "date_collecte", + "type": "date" + }, + { + "name": "horaire_am1", + "description": null, + "annotations": { + + }, + "label": "horaire_am1", + "type": "text" + }, + { + "name": "horaire_am2", + "description": null, + "annotations": { + + }, + "label": "horaire_am2", + "type": "text" + }, + { + "name": "horaire_pm1", + "description": null, + "annotations": { + + }, + "label": "horaire_pm1", + "type": "text" + }, + { + "name": "horaire_pm2", + "description": null, + "annotations": { + + }, + "label": "horaire_pm2", + "type": "text" + }, + { + "name": "collecte_publique", + "description": null, + "annotations": { + + }, + "label": "collecte_publique", + "type": "text" + }, + { + "name": "collecte_avec_rdv", + "description": null, + "annotations": { + + }, + "label": "collecte_avec_rdv", + "type": "text" + }, + { + "name": "statut", + "description": null, + "annotations": { + + }, + "label": "statut", + "type": "text" + }, + { + "name": "infos_complementaires", + "description": null, + "annotations": { + + }, + "label": "Infos complémentaires", + "type": "text" + }, + { + "name": "geopointarcgis", + "description": null, + "annotations": { + + }, + "label": "geopointarcgis", + "type": "geo_point_2d" + }, + { + "name": "commune", + "description": null, + "annotations": { + + }, + "label": "commune", + "type": "text" + }, + { + "name": "province", + "description": null, + "annotations": { + + }, + "label": "province", + "type": "text" + } + ], + "metas": { + "dcat": { + "created": null, + "issued": null, + "creator": null, + "contributor": null, + "contact_name": "Thomas Paulus 084 32 16 00 pendant les heures d'ouverture.", + "contact_email": "sfs.communication@croix-rouge.be", + "accrualperiodicity": "daily", + "spatial": null, + "temporal": null, + "granularity": null, + "dataquality": "lineage", + "publisher_type": [ + "NonProfitOrganisation" + ], + "conforms_to": null, + "temporal_coverage_start": "2020", + "temporal_coverage_end": "2022", + "accessRights": null + }, + "semantic": { + "rml_mapping": null, + "classes": null, + "properties": null + }, + "default": { + "title": "Tous les lieux de collecte de sang en Région wallonne et à Bruxelles", + "description": "\u003Cp\u003E\u003Cfont face=\"Open Sans, sans-serif\"\u003E\u003Cspan style=\"font-size: 12px;\"\u003EToutes les collectes de sang organisées par le Service du Sang de la Croix-Rouge, en Région wallonne et à Bruxelles, y compris les dons de plasma et de plaquettes. \u003C/span\u003E\u003C/font\u003E\u003C/p\u003E\u003Cp\u003E\u003Cfont face=\"Open Sans, sans-serif\"\u003E\u003Cspan style=\"font-size: 12px;\"\u003ERecherchez le lieu de collecte le plus proche de chez vous et prenez rendez-vous si nécessaire.\u003C/span\u003E\u003C/font\u003E\u003Cbr\u003E\u003C/p\u003E", + "theme": [ + "Qualité de Vie" + ], + "keyword": [ + "Centre de prélèvement", + "Sang", + "don de sang", + "Croix rouge", + "santé", + "Collecte" + ], + "license": "Creative Commons - CC0", + "license_url": "http://www.opendefinition.org/licenses/cc-by/", + "language": "fr", + "metadata_languages": [ + "fr" + ], + "timezone": [ + "Europe/Brussels" + ], + "modified": "2024-08-29T08:09:20.651000+00:00", + "modified_updates_on_metadata_change": true, + "modified_updates_on_data_change": true, + "data_processed": "2024-08-29T08:09:20.651000+00:00", + "metadata_processed": "2024-08-29T08:09:20.896000+00:00", + "geographic_reference": [ + "be_40_03000", + "be_40_04000" + ], + "geographic_reference_auto": false, + "territory": [ + "Région wallonne", + "Région de Bruxelles-Capitale" + ], + "geometry_types": [ + "Point" + ], + "bbox": { + "type": "Feature", + "geometry": { + "coordinates": [ + [ + [6.17299164645374, 50.8502430282533], + [3.97492295131087, 50.8502430282533], + [3.97492295131087, 49.9810485122725], + [6.17299164645374, 49.9810485122725], + [6.17299164645374, 50.8502430282533] + ] + ], + "type": "Polygon" + }, + "properties": { + + } + }, + "publisher": "Croix-rouge de Belgique - Service du sang", + "references": "https://www.donneurdesang.be", + "records_count": 2355, + "attributions": [ + "National Geographic Institute (NGI-IGN, ngi.be)" + ], + "source_domain": null, + "source_domain_title": null, + "source_domain_address": null, + "source_dataset": null, + "shared_catalog": null, + "federated": false, + "oauth_scope": null, + "parent_domain": null, + "update_frequency": null + }, + "inspire": { + "theme": null, + "type": null, + "file_identifier": null, + "hierarchy_level": null, + "hierarchy_level_name": null, + "spatial_resolution": null, + "topologic_consistency": null, + "contact_individual_name": null, + "contact_position": null, + "contact_address": null, + "contact_email": null, + "identification_purpose": null, + "extend_description": null, + "extend_bounding_box_westbound_longitude": null, + "extend_bounding_box_eastbound_longitude": null, + "extend_bounding_box_southbound_latitude": null, + "extend_bounding_box_northbound_latitude": null + }, + "custom": { + "echelon-territorial": [ + "Régional" + ], + "high-value-dataset": false, + "nom-moissonneur": null + } + } + } +} diff --git a/schemas/iso19115-3.2018/src/test/resources/ods.xml b/schemas/iso19115-3.2018/src/test/resources/ods.xml new file mode 100644 index 00000000000..5caa315c569 --- /dev/null +++ b/schemas/iso19115-3.2018/src/test/resources/ods.xml @@ -0,0 +1,854 @@ + + + + + + collecte-de-sang-centre-de-prelevement-fixes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Croix-rouge de Belgique - Service du sang + + + + + + + + + + + + + + + + + + + + 2024-08-29T08:09:20.651000+00:00 + + + + + + + + + + 2024-08-29T08:09:20.651000+00:00 + + + + + + + + + + ISO 19115-3 + + + + + + + + + + + + 2355 + + + + + + + + + + + Tous les lieux de collecte de sang en Région wallonne et à Bruxelles + + + + + 2024-08-29T08:09:20.651000+00:00 + + + + + + + + + + 2024-08-29T08:09:20.651000+00:00 + + + + + + + + + + collecte-de-sang-centre-de-prelevement-fixes + + + + + + + <p><font face="Open Sans, sans-serif"><span style="font-size: 12px;">Toutes les collectes de sang organisées par le Service du Sang de la Croix-Rouge, en Région wallonne et à Bruxelles, y compris les dons de plasma et de plaquettes. </span></font></p><p><font face="Open Sans, sans-serif"><span style="font-size: 12px;">Recherchez le lieu de collecte le plus proche de chez vous et prenez rendez-vous si nécessaire.</span></font><br></p> + + + National Geographic Institute (NGI-IGN, ngi.be) + + + + + publisher + + + + + Croix-rouge de Belgique - Service du sang + + + + + + + + + + + + + + Croix-rouge de Belgique - Service du sang + + + + + + + sfs.communication@croix-rouge.be + + + + + + + + + Thomas Paulus 084 32 16 00 pendant les heures d'ouverture. + + + + + + + + + + health + + + + + + + + 3.97492295131087 + + + 6.17299164645374 + + + 49.9810485122725 + + + 50.8502430282533 + + + + + + + + + 2020 + + + 2022 + + + + + + + + + + + be_40_03000 + + + + + + + + + + + be_40_04000 + + + + + + + + + + + + + + + + + + Région wallonne + + + + + + + + + + Région de Bruxelles-Capitale + + + + + + + + + + Qualité de Vie + + + + + + + + + + Centre de prélèvement + + + Sang + + + don de sang + + + Croix rouge + + + santé + + + Collecte + + + + + + + + + Creative Commons - CC0 + + + + + http://www.opendefinition.org/licenses/cc-by/ + + + + + + + + + + + + + Creative Commons - CC0 + + + + + + + + + + + + + + + + + + + + + + + Tous les lieux de collecte de sang en Région wallonne et à Bruxelles + + false + + + + identifiant + + identifiant + + 1 + + + + text + + + + + + + + code_collecte + + code_collecte + + 1 + + + + text + + + + + + + + nom + + nom + + 1 + + + + text + + + + + + + + type_de_collecte + + type_de_collecte + + 1 + + + + text + + + + + + + + description + + description + + 1 + + + + text + + + + + + + + url_source + + url_source + + 1 + + + + text + + + + + + + + latitude + + latitude + + 1 + + + + text + + + + + + + + longitude + + longitude + + 1 + + + + text + + + + + + + + rue + + rue + + 1 + + + + text + + + + + + + + code_postal + + code postal + + 1 + + + + text + + + + + + + + ville + + ville + + 1 + + + + text + + + + + + + + date_collecte + + date_collecte + + 1 + + + + date + + + + + + + + horaire_am1 + + horaire_am1 + + 1 + + + + text + + + + + + + + horaire_am2 + + horaire_am2 + + 1 + + + + text + + + + + + + + horaire_pm1 + + horaire_pm1 + + 1 + + + + text + + + + + + + + horaire_pm2 + + horaire_pm2 + + 1 + + + + text + + + + + + + + collecte_publique + + collecte_publique + + 1 + + + + text + + + + + + + + collecte_avec_rdv + + collecte_avec_rdv + + 1 + + + + text + + + + + + + + statut + + statut + + 1 + + + + text + + + + + + + + infos_complementaires + + Infos complémentaires + + 1 + + + + text + + + + + + + + geopointarcgis + + geopointarcgis + + 1 + + + + geo_point_2d + + + + + + + + commune + + commune + + 1 + + + + text + + + + + + + + province + + province + + 1 + + + + text + + + + + + + + + + + + + + + + + + + + https://www.odwb.be/api/explore/v2.1/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/exports/csv?use_labels=true + + + WWW:DOWNLOAD:text/csv + + + csv + + + csv + + + + + + + + + + https://www.odwb.be/api/explore/v2.1/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/exports/json?use_labels=true + + + WWW:DOWNLOAD:application/json + + + json + + + json + + + + + + + + + + https://www.odwb.be/api/explore/v2.1/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/exports/geojson?use_labels=true + + + WWW:DOWNLOAD:application/vnd.geo+json + + + geojson + + + geojson + + + + + + + + + + https://www.odwb.be/api/explore/v2.1/catalog/datasets/collecte-de-sang-centre-de-prelevement-fixes/exports/shp?use_labels=true + + + WWW:DOWNLOAD:x-gis/x-shapefile + + + shp + + + shp + + + + + + + + + + + + + + https://www.odwb.be/explore/dataset/collecte-de-sang-centre-de-prelevement-fixes/information/ + + + WWW:LINK:LANDING_PAGE + + + Landing Page + + + + + + + + + + https://www.donneurdesang.be + + + WWW:LINK + + + + + + + + + + + lineage + + + + + + + + + + +