From e459c964824766b8be45dcbef33bf5f8175a705c Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Mon, 29 Apr 2024 13:37:37 +0200 Subject: [PATCH] MW / Suggestion / Add WalOnMap new URL template https://github.com/SPW-DIG/metawal-core-geonetwork/issues/876. --- .../add-wms-and-legend-from-esrirest.xsl | 49 +++++++++++++++++-- .../resources/catalog/locales/fr-apirw.json | 1 + 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-wms-and-legend-from-esrirest.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-wms-and-legend-from-esrirest.xsl index 69261d7bf58..664debdadef 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-wms-and-legend-from-esrirest.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-wms-and-legend-from-esrirest.xsl @@ -4,10 +4,13 @@ xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" xmlns:mrc="http://standards.iso.org/iso/19115/-3/mrc/2.0" + xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" + xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:mpc="http://standards.iso.org/iso/19115/-3/mpc/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" + xmlns:util="java:org.fao.geonet.util.XslUtil" xmlns:geonet="http://www.fao.org/geonetwork" exclude-result-prefixes="#all"> @@ -15,6 +18,7 @@ + @@ -30,6 +34,27 @@ [cit:protocol/*/text() = 'WWW:LINK' and cit:linkage/*/text() = $aduUrl]) > 0"/> + + https://geoportail.wallonie.be/walonmap#panier={"serviceId":"","visible":true,"url":"{url}","label":"{title}","type":"AGS_DYNAMIC","metadataUrl":"https://geoportail.wallonie.be/catalogue/{uuid}.html"} + + + + + + + + + + 0"/> + + + + 0"/> - + @@ -90,7 +126,8 @@ select="."/> true - {"esriRestServiceUrl":{"type":"string", "defaultValue":""}} + {"esriRestServiceUrl":{"type":"string", "defaultValue":""}, + "addGeoportal2024UrlStyle":{"type":"boolean", "defaultValue":"1"}} @@ -109,7 +146,7 @@ - @@ -142,11 +179,13 @@ - + - + + + WWW:LINK diff --git a/web-ui/src/main/resources/catalog/locales/fr-apirw.json b/web-ui/src/main/resources/catalog/locales/fr-apirw.json index 197ac984d1c..1d8298f9d3b 100644 --- a/web-ui/src/main/resources/catalog/locales/fr-apirw.json +++ b/web-ui/src/main/resources/catalog/locales/fr-apirw.json @@ -4,6 +4,7 @@ "AnonymousUserServicelist_basket_title": "Mes services", "AnonymousUserServicelist_remove": "Supprimer de mes services", "AnonymousUserlist": "Mes notifications", + "addGeoportal2024UrlStyle": "URL pour Geoportail wallon 2024", "Abstract-descriptive": "Résumé détaillé", "Abstract-hook": "Accroche", "Administrator": "Administrateur",