From d841392b6451e9aeb12732220980f483b21e2091 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Mon, 30 Sep 2024 11:46:55 +0200 Subject: [PATCH] Metawal / Suggestion ADU / Update to new URL layout https://github.com/SPW-DIG/metawal-core-geonetwork/issues/876. --- .../add-wms-and-legend-from-esrirest.xsl | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 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 e1d1110a2a3..c99bca43b44 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 @@ -34,8 +34,11 @@ [cit:protocol/*/text() = 'WWW:LINK' and cit:linkage/*/text() = $aduUrl]) > 0"/> + + - https://geoportail.wallonie.be/walonmap#PANIER=[{"serviceId":"1","visible":true,"url":"{url}","label":"{title}","type":"AGS_DYNAMIC","metadataUrl":"https://geodata.wallonie.be/id/{uuid}"}] + PANIER=[{"serviceId":"1","visible":true,"url":"{url}","label":"{title}","type":"AGS_DYNAMIC","metadataUrl":"https://geodata.wallonie.be/id/{uuid}"}] + select="concat($geoportalWallon2024urlEndPoint, encode-for-uri(replace(replace(replace( + $geoportalWallon2024urlTemplate, '\{url\}', $esriRestServiceUrl), + '\{title\}', replace(util:escapeForJson($geoportalLinkRecordtitle), '\\', '\\\\')), + '\{uuid\}', $geoportalLinkRecordUuid)))"/> + + select="concat($geoportalWallon2024urlEndPoint, encode-for-uri(replace(replace(replace( + $geoportalWallon2024urlTemplate, '\{url\}', current()), + '\{title\}', replace(util:escapeForJson($geoportalLinkRecordtitle), '\\', '\\\\')), + '\{uuid\}', $geoportalLinkRecordUuid)))"/>