Skip to content

Webcomposants Metawal

Vincent Bombaerts edited this page Nov 5, 2024 · 18 revisions

Webcomposants v4

Documentation : https://spw-dig.github.io/icho/

Configurations créées

1. Mapstore Géoportail

https://geoportail.wallonie.be/mapstore

Ce composant affiche les applications dans le géoportail sous forme de 'cards'

<link href=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css rel="stylesheet" />
<link href=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css rel="stylesheet" />

<div style="margin: 2.5em">

<catalogue-results-card 
catalogueurl=https://metawal.wallonie.be/geonetwork/mapstore 
fields='{
     "imageIndex": "overview", "imageJsonPath":"$[0].url",
     "titleIndex": "resourceTitleObject", "titleJsonPath":"$.default", "titleSize":"h4",
     "subTitleIndex": "ownerOrgForResource", "subTitleJsonPath":"",
     "textIndex": "resourceHookAbstractObject", "textJsonPath":"$.default",
     "linkIndex": "mw-gp-thematicMap", "linkJsonPath":"$[0].urlObject.default", "linkIcon":"map", "linkButtonColor":"#0676C5", "linkHook":"Découvrir",
     "additionalInfoIndex":"cl_accessConstraints", "additionalInfoJsonPath":"$[0].key"
     }
     '

filter="+(resourceType:application) -(th_infraSIG.default:Reporting_INSPIRE) -(cl_status.key:obsolete)" 
fulltextfilter="resourceHookAbstractObject.langfre, resourceTitleObject.langfre"
search_placeholder="Recherche libre"
filterfield_2="th_Themes_geoportail_wallon_hierarchy.default"
filterfield_2_placeholder="Thème"
filterfield="ownerOrgForResource"
filterfield_placeholder="Propriétaire" 
linkmdt="false"
imageheight="172" 
itemsperrow="3" size="12" marginx="1.2" margintoolsbottom="1.5" marginbottom="2" 
sorttype="asc" sortby="resourceTitleObject.default.keyword"
sortbylist='{"sortIndexRef":"resourceTitleObject.default.keyword", "sortName":"Titre"} | {"sortIndexRef":"popularity", "sortName":"Popularité"}'
> 
</catalogue-results-card>
</div>

<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js  type="module"></script>
<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js type="module"></script>
<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js type="module"></script>

2. Tableau des données intranet

https://intranet.spw.wallonie.be/accueil-geomatique/donnees-accessibles/intranet-data-table-1.html

Présente les données accessibles en interne SPW sous forme compacte, avec des informations d'exploitation utiles.

<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />
<div style="margin: 2.5em">
<p>&nbsp;</p>
<catalogue-results-table catalogueurl="https://metawal.wallonie.be/geonetwork/intranet" 
fields='
    {"columnName":"Nom de la donnée","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"2"} |
    {"columnName":"Nom de la donnée","columnIndex":"overview","columnJsonPath":"$[0].url","columnWidth":"2"} |
    {"columnName":"Identifiant","columnIndex":"mw-gp-localIdentifier","columnJsonPath":"","columnWidth":"2"} |
    {"columnName":"Type","columnIndex":"resourceType","columnJsonPath":"$[0]","columnIcon":{"series":"copy outline","dataset":"file outline"},"columnLabel":{"series":"blue","dataset":"teal"},"columnFormatter":"withouttext","columnWidth":"1"} |
    {"columnName":"BD","columnIndex":"mw-gp-localIdentifierCodespace","columnJsonPath":"","columnValue":{"BE.SPW.INFRASIG.GINET":"G","BE.SPW.INFRASIG.CARTON":"I","BE.SPW.INFRASIG.ENTREPOT":"E"},"columnLabel":{"BE.SPW.INFRASIG.GINET":"green","BE.SPW.INFRASIG.CARTON":"pink","BE.SPW.INFRASIG.ENTREPOT":"yellow"},"columnWidth":"1"} |
    {"columnName":"Statut","columnIndex":"cl_status","columnJsonPath":"$[0].key","columnPopup":"true","columnIcon":{"onGoing":"sync alternate","completed":"check","obsolete":"ban","planned":"calendar alternate outline","superseded":"ban"}, "columnIconColor":{"onGoing":"violet","completed":"green","obsolete":"red","planned":"orange","superseded":"red"},"columnFormatter":"withouttext","columnWidth":"1"}  |
    {"columnName":"Modèle et légende","columnIndex":"link","columnJsonPath":"$[?(@.function==\"featureCatalogue\")].url","columnIcon":"th","columnWidth":"2"} |
    {"columnName":"Modèle et légende","columnIndex":"link","columnJsonPath":"$[?(@.function==\"legend\")].url","columnIcon":"paint brush","columnWidth":"2"} |
    {"columnName":"Consulter (applications et services)","columnIndex":"mw-gp-thematicMap","columnJsonPath":"$[*].url","columnIcon":"map","columnWidth":"3"} |
    {"columnName":"Consulter (applications et services)","columnIndex":"mw-gp-allWebServices","columnJsonPath":"$[*].url","columnIcon":"world","columnWidth":"3"}|
    {"columnName":"Crédits","columnIndex":"resourceCreditObject","columnJsonPath":"$[0].langfre","columnWidth":"2"}|
    {"columnName":"Note","columnIndex":"supplementalInformationObject","columnJsonPath":"$.langfre","columnWidth":"3"}
	'
	filter="+(resourceType:dataset or resourceType:series)" 
	filterfield="th_Themes_geoportail_wallon_hierarchy.default"
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />
<div style="margin: 2.5em">
<p>&nbsp;</p>
<catalogue-results-table catalogueurl="https://metawal.wallonie.be/geonetwork/geoportailwal" 
fields='
    {"columnName":"Nom du service","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"3"} |
    {"columnName":"Protocole","columnIndex":"linkProtocol","columnJsonPath":"$[0]","columnWidth":"1"} |
    {"columnName":"Accès et infos","columnIndex":"linkUrl","columnJsonPath":"","columnWidth":"5"} |
    {"columnName":"Données servies","columnIndex":"recordLink","columnJsonPath":"$[*].title","columnWidth":"5"}
	'
	filter="+(resourceType:service)" 
	filterfield="th_Themes_geoportail_wallon_hierarchy.default" 
fulltextfilter="mw_default_query"
	size="20" 
	sortby="linkUrl" 
	sorttype="asc" 
	togglebuttonstyle='{"bg":"rgb(104 169 191)", "bg_active":"rgb(104 169 191)","text_color":"grey","text_color_active":"black"}' 
	togglefilterfield="linkProtocol" 
	toggleismultiselect="true" 
	togglelabel='{"label": "ESRI REST", "value": "ESRI:REST"} | {"label": "OGC WMS", "value": "OGC:WMS"} | {"label": "OGC WMTS", "value": "OGC:WMTS"} | {"label": "Atom feed", "value": "atom:feed"} | {"label": "OGC WFS", "value": "OGC:WFS"} | {"label": "OGC WCS", "value": "OGC:WCS"} |  {"label": "OGC CSW", "value": "OGC:CSW"}'
	> 
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>
</catalogue-results-table>
</div>
	size="25" sortby="mw-gp-localIdentifier" 
	sorttype="asc" 
	togglebuttonstyle='{"bg":"rgb(204 0 0)", "bg_active":"rgb(204 0 0)","text_color":"rgb(200 200 200)","text_color_active":"white"}' 
	togglefilterfield="mw-gp-localIdentifierCodespace" 
	toggleismultiselect="true" 
	togglelabel='{"label": "BDREF SIG ARNE", "value": "BE.SPW.INFRASIG.GINET"} | {"label": "BD_INFRASIG", "value": "BE.SPW.INFRASIG.CARTON"} | {"label": "ENTREPOT", "value": "BE.SPW.INFRASIG.ENTREPOT"}'
	> 
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>
</catalogue-results-table>
</div>

3. Mapstore intranet

https://intranet.spw.wallonie.be/accueil-geomatique/webgis.html

Liste des applications WebGIS accessibles en interne au SPW, sous forme de 'cards'

<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />

<div style="margin: 2.5em">
<catalogue-results-card 
catalogueurl="https://metawal.wallonie.be/geonetwork/mapstore-intranet" 
fields='{
	"imageIndex": "overview", "imageJsonPath":"$[0].url",
	"titleIndex": "resourceTitleObject", "titleJsonPath":"$.default", "titleSize":"h4",
	"subTitleIndex": "ownerOrgForResource", "subTitleJsonPath":"",
	"textIndex": "purposeObject", "textJsonPath":"$.default",
	"linkIndex": "mw-gp-thematicMap", "linkJsonPath":"$[0].urlObject.default", "linkIcon":"map", "linkButtonColor":"#0676C5", "linkHook":"Découvrir",
	"additionalInfoIndex":"cl_accessConstraints", "additionalInfoJsonPath":"$[0].key"
	}'
filter='+(resourceType:application) -(th_infraSIG.default:Reporting_INSPIRE) -(cl_status.key:obsolete)' 
fulltextfilter="resourceTitleObject.default, resourceHookAbstractObject.default"
search_placeholder="Recherche libre"
filterfield_2="th_Themes_geoportail_wallon_hierarchy.default"
filterfield_2_placeholder="Thème"
filterfield="resourceTypeNameObject.default"
filterfield_placeholder="Type d'application" 
linkmdt="false"
imageheight="172" 
itemsperrow="3" size="12" marginx="1.2" margintoolsbottom="1.5" marginbottom="2" 
sorttype="desc" sortby="popularity"
sortbylist='{"sortIndexRef":"resourceTitleObject.default.keyword", "sortName":"Titre"} | {"sortIndexRef":"popularity", "sortName":"Popularité"}'
> 
</catalogue-results-card>
</div>

<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>

4. Tableau des licences spécifiques

https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/licences/content

Ca tableau reprend les données qui sont disponibles sous licences spécifiques, à destination du helpdesk pour la gestion des demandes d'accès aux données.

<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
<title>Tableau des données à licences particulières</title>

<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />

<div style="margin: 2.5em">

<catalogue-results-table 
catalogueurl="https://metawal.wallonie.be/geonetwork/srv" 
fields='
   {"columnName":"Nom de la donnée","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"2"} |
   {"columnName":"GUID","columnIndex":"_id","columnJsonPath":"","columnWidth":"3"} |
   {"columnName":"CGA","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CGA/.test(@.link))].link","columnWidth":"2"} |
   {"columnName":"CPA","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPA/.test(@.link))].link","columnWidth":"2"} |
   {"columnName":"CGU","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CGU/.test(@.link))].link","columnWidth":"2"} |
   {"columnName":"CPU","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPU/.test(@.link))].link","columnWidth":"2"} 
' 

filter="+(resourceType:dataset or resourceType:series) -(th_infraSIG.default:Reporting INSPIRE) -(cl_status.key:obsolete) +(mw-gp-constraintsObject.link:*DataSPW-CPA-TypeD1* or mw-gp-constraintsObject.link:*DataSPW-CPA-TypeB2*.pdf or mw-gp-constraintsObject.link:*DataSPW-CPA-TypeA1*.pdf)" 
filterfield="mw-gp-constraintsObject.link" 
fulltextfilter="mw_default_query"
size="25" 
sortby="mw-gp-localIdentifier" 
sorttype="asc" 
togglefilterfield="mw-gp-constraintsObject.link" 
toggleismultiselect="true" 
togglelabel='{"label": "Licence A1", "value": "https://geoportail.wallonie.be/files/documents/ConditionsSPW/DataSPW-CPA-TypeA1.pdf"} | {"label": "Licence B2", "value": "https://geoportail.wallonie.be/files/documents/ConditionsSPW/DataSPW-CPA-TypeB2.pdf"} |{"label": "Licence D1", "value": "https://geoportail.wallonie.be/files/documents/ConditionsSPW/DataSPW-CPA-TypeD1.pdf"}'
toggleButtonStyle='{"bg":"rgb(204 0 0)", "bg_active":"rgb(204 0 0)","text_color":"rgb(200 200 200)","text_color_active":"white"}'
>
</catalogue-results-table>
</div>

<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script><script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script><script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>

5. Tableau des licences SPW

https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/licenceall/content

Page présentant un tableau des données utilisant au moins une licence spécifique SPW (tout type)

<!DOCTYPE html>
<html lang="fr"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
<title>Tableau des données utilisant des licences SPW</title>
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />
<div style="margin: 2.5em">
<catalogue-results-table 
catalogueurl="https://metawal.wallonie.be/geonetwork/srv" 
fields='
    {"columnName":"Nom de la donnée","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"2"} |
    {"columnName":"GUID","columnIndex":"_id","columnJsonPath":"","columnWidth":"2"} |
    {"columnName":"CGA","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CGA/.test(@.link))].link","columnWidth":"2"} |
    {"columnName":"CPA-TypeA1","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPA-TypeA1/.test(@.link))].link","columnWidth":"1"} |
    {"columnName":"CPA-TypeC4","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPA-TypeC4/.test(@.link))].link","columnWidth":"1"} |
    {"columnName":"CPA-TypeD1","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPA-TypeD1/.test(@.link))].link","columnWidth":"1"} |
    {"columnName":"CGU","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CGU/.test(@.link))].link","columnWidth":"2"} |
    {"columnName":"CPU-TypeA","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPU-TypeA/.test(@.link))].link","columnWidth":"1"} |
    {"columnName":"CPU-TypeB","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPU-TypeB/.test(@.link))].link","columnWidth":"1"} |
    {"columnName":"CPU-TypeC","columnIndex":"mw-gp-constraintsObject","columnJsonPath":"$[?(/CPU-TypeC/.test(@.link))].link","columnWidth":"1"} 
	' 
filter="+(resourceType:dataset or resourceType:series)" 
filterfield="mw-gp-constraintsObject.link" 
fulltextfilter="mw_default_query"
size="20" 
sortby="mw-gp-localIdentifier" 
sorttype="asc" 
>
</catalogue-results-table>
</div>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script><script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script><script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>

6. Demo - Tableau des relations entre les données

https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/demorelated/content

Tableau des relations entre les données (filiation, etc)

<!DOCTYPE html>
<html lang="fr"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
<title>Related demo</title>
	
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />

<div style="margin: 2.5em">
<h1>Données associées</h1>

<catalogue-results-table
catalogueurl="https://metawal.wallonie.be/geonetwork/srv"
fields='
    {"columnName":"Nom de la donnée","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"2"} |
    {"columnName":"Identifiant","columnIndex":"mw-gp-localIdentifier","columnJsonPath":"","columnWidth":"2"} |
    {"columnName":"Fait partie de","columnIndex":"related","columnJsonPath":"$.parent[*]._source.resourceTitleObject.langfre","columnWidth":"2" , "columnIcon":"th","columnFormatter":"withtext"} |
    {"columnName":"Est constitué de","columnIndex":"related","columnJsonPath":"$.children[*]._source.resourceTitleObject.langfre","columnWidth":"2", "columnIcon":"th","columnFormatter":"withtext"} |
    {"columnName":"Sert de source pour","columnIndex":"related","columnJsonPath":"$.hassources[*]._source.resourceTitleObject.langfre","columnWidth":"2", "columnIcon":"th","columnFormatter":"withtext"}|
    {"columnName":"Est dérivé de","columnIndex":"related","columnJsonPath":"$.sources[*]._source.resourceTitleObject.langfre","columnWidth":"2", "columnIcon":"th","columnFormatter":"withtext"} |
    {"columnName":"Est une révision de","columnIndex":"related","columnJsonPath":"$.siblings[?(@.properties.associationType==\"revisionOf\")]._source.resourceTitleObject.default","columnWidth":"2", "columnIcon":"th","columnFormatter":"withtext"}|
    {"columnName":"En lien avec","columnIndex":"related","columnJsonPath":"$.associated[*]._source.resourceTitleObject.default","columnWidth":"2", "columnIcon":"th","columnFormatter":"withtext"}
	'
size="10"
fulltextfilter="mw_default_query"
filter="+(resourceType:dataset or resourceType:series)"
filterfield="resourceType"
sortby="mw-gp-localIdentifier"
sorttype="asc"
>
</catalogue-results-table>
</div>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>
</html>

7. Liste des données de la DGO3 pour le portail environnement


7b. Mapstore SPWARNE

Inventaire des applications - L'Environnement en Wallonie

8. Liste des données HVD

<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8" />
    <title>Tableau HVD version 4</title>
  </head>
 <body>

<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />

<div style="margin: 2.5em">
<p>     </p>
<h1>Tableau des données HVD</h1>
<p>     </p>
<catalogue-results-table 
catalogueurl="https://metawal.wallonie.be/geonetwork/hvd" 
fields='
    {"columnName":"Aperçu","columnIndex":"overview","columnJsonPath":"$[0].url","columnWidth":"1"} |
    {"columnName":"Titre","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"3"} |
    {"columnName":"Type","columnIndex":"resourceType","columnJsonPath":"$[0]","columnIcon":{"series":"copy outline","dataset":"file outline"},"columnLabel":{"series":"blue","dataset":"teal"},"columnFormatter":"withouttext","columnWidth":"1"} |
    {"columnName":"Catégories HVD","columnIndex":"th_high-value-dataset-category","columnJsonPath":"$[*].default","columnWidth":"2"} |
    {"columnName":"Législations","columnIndex":"th_applicable-legislation","columnJsonPath":"$[*].default","columnWidth":"1"} |
    {"columnName":"Statut","columnIndex":"cl_status","columnJsonPath":"$[0].default","columnWidth":"1"}  |
    {"columnName":"Lien API","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"atom:feed\")].urlObject.default","columnIcon":"arrow alternate circle down","columnWidth":"3"} |
    {"columnName":"Lien API","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"OGC:WFS\")].urlObject.default","columnIcon":"arrow alternate circle down","columnWidth":"3"} |
    {"columnName":"Lien API","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"OGC:WMS\")].urlObject.default","columnIcon":"eye","columnWidth":"3"} |
    {"columnName":"Lien API","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"ESRI:REST\")].urlObject.default","columnIcon":"eye","columnWidth":"3"} |
	{"columnName":"Organisme","columnIndex":"ownerOrgForResourceObject","columnJsonPath":"$.langfre","columnWidth":"2"}
	' 
filter="+isTemplate:n +isPublishedToAll:true -resourceType:service -resourceType:application" 
fulltextfilter="mw_default_query"
search_placeholder="Recherche libre"
filterfield="th_high-value-dataset-category.default"
filterfield_placeholder="Filtrer par catégorie HVD"
size="15" 
asortby="mw-gp-localIdentifier" 
sorttype="desc"

>
</catalogue-results-table>
</div>


<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>


 </body>
</html>

9. Liste des webservices pour le Géoportail

https://geoportail.wallonie.be/home/cartes-et-donnees/webservices.html

Démo : https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/gp_services/content

Liste des webservices qui apparaissaient avant dans l'onglet "service" du catalogue du Géoportail (onglet supprimé suite à décision de recentrer le catalogue sur les données)

<link href=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css rel="stylesheet" />
<link href=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css rel="stylesheet" />
<div style="margin: 2.5em">
<p>&nbsp;</p>
<catalogue-results-table catalogueurl=https://metawal.wallonie.be/geonetwork/geoportailwal 
fields='
    {"columnName":"Nom du service","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"3"} |
    {"columnName":"Protocole","columnIndex":"linkProtocol","columnJsonPath":"$[0]","columnWidth":"1"} |
    {"columnName":"Accès et infos","columnIndex":"linkUrl","columnJsonPath":"","columnWidth":"5"} |
    {"columnName":"Données servies","columnIndex":"recordLink","columnJsonPath":"$[*].title","columnWidth":"5"}
       '
       filter="+(resourceType:service)" 
       filterfield="th_Themes_geoportail_wallon_hierarchy.default"
fulltextfilter="mw_default_query"
       size="20" 
       sortby="linkUrl" 
       sorttype="asc" 
       togglebuttonstyle='{"bg":"rgb(104 169 191)", "bg_active":"rgb(104 169 191)","text_color":"grey","text_color_active":"black"}' 
       togglefilterfield="linkProtocol" 
       toggleismultiselect="true" 
       togglelabel='{"label": "ESRI REST", "value": "ESRI:REST"} | {"label": "OGC WMS", "value": "OGC:WMS"} | {"label": "OGC WMTS", "value": "OGC:WMTS"} | {"label": "Atom feed", "value": "atom:feed"} | {"label": "OGC WFS", "value": "OGC:WFS"} | {"label": "OGC WCS", "value": "OGC:WCS"} |  {"label": "OGC CSW", "value": "OGC:CSW"}'
       > 
<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js  type="module"></script>
<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js type="module"></script>
<script src=https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js type="module"></script>
</catalogue-results-table>
</div>

10. Liste des données INSPIRE

page à publie

Démo : https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/INSPIRE/content

Liste des données INSPIRE avec thème et liens vers view et download service

<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8" />
    <title>Tableau des données INSPIRE</title>
  </head>
 <body>

<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/styles.css" rel="stylesheet" />
<link href="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.css" rel="stylesheet" />

<div style="margin: 2.5em">
<p>     </p>
<h1>Tableau des données INSPIRE</h1>
<p>     </p>
<catalogue-results-table 
catalogueurl="https://metawal.wallonie.be/geonetwork/inspire" 
fields='
    {"columnName":"Aperçu","columnIndex":"overview","columnJsonPath":"$[0].url","columnWidth":"1"} |
    {"columnName":"Titre","columnIndex":"resourceTitleObject","columnJsonPath":"$.langfre","columnWidth":"3"} |
    {"columnName":"Type","columnIndex":"resourceType","columnJsonPath":"$[0]","columnIcon":{"series":"copy outline","dataset":"file outline"},"columnLabel":{"series":"blue","dataset":"teal"},"columnFormatter":"withouttext","columnWidth":"1"} |
    {"columnName":"Thème INSPIRE","columnIndex":"th_httpinspireeceuropaeutheme-theme","columnJsonPath":"$[*].default","columnWidth":"2"} |
    {"columnName":"Législation donnée prioritaire","columnIndex":"th_httpinspireeceuropaeumetadatacodelistPriorityDataset-PriorityDataset","columnJsonPath":"$[*].default","columnWidth":"2"} |
    {"columnName":"Statut","columnIndex":"cl_status","columnJsonPath":"$[0].default","columnWidth":"1"}  |
    {"columnName":"View and download services","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"OGC:WMS\")].urlObject.default","columnIcon":"eye","columnWidth":"3"} |
    {"columnName":"View and download services","columnIndex":"link","columnJsonPath":"$[?(@.protocol==\"atom:feed\")].urlObject.default","columnIcon":"arrow alternate circle down","columnWidth":"3"} |
	{"columnName":"Organisme","columnIndex":"ownerOrgForResourceObject","columnJsonPath":"$.langfre","columnWidth":"2"}
	' 
filter="+isTemplate:n +isPublishedToAll:true -resourceType:service -resourceType:application" 
fulltextfilter="mw_default_query"
search_placeholder="Recherche libre"
filterfield="th_httpinspireeceuropaeutheme-theme.default"
filterfield_placeholder="Filtrer par thème INSPIRE"
size="15" 
asortby="mw-gp-localIdentifier" 
sorttype="desc"

>
</catalogue-results-table>
</div>


<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/runtime.esm.js"  type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/polyfills.esm.js" type="module"></script>
<script src="https://metawal.wallonie.be/geonetwork/catalog/lib/icho/main.esm.js" type="module"></script>


 </body>
</html>

Webcomposants v5

Configurations

1. Mapstore Géoportail

To do

2. Tableau des données intranet

To do

3. Mapstore intranet

To do

4. Tableau des licences spécifiques

To do

5. Tableau des licences SPW

Utile sous forme de Webcomposant ?

6. Demo - Tableau des relations entre les données

To do

7. Liste des données de la DGO3 pour le portail environnement

Inventaire des données et cartographie - L'Environnement en Wallonie

7b. Mapstore SPWARNE

Inventaire des applications - L'Environnement en Wallonie

8. Liste des données HVD

https://metawal.wallonie.be/geonetwork/srv/api/pages/fre/hvd/content

Présente une liste des données HVD, leur statut de publication et les liens d'accès

<div style="margin: 10px">
    
<script src="https://apps.titellus.net/webcomponents/main.js" type="module"></script>
<link rel="stylesheet" href="https://apps.titellus.net/webcomponents/styles.css" media="all" onload="this.media='all'">
<gc-search-results-table-component
          api-url="https://metawal.wallonie.be/geonetwork/srv/api"
          filter="+th_high-value-dataset-category.link:* +isTemplate:n +isPublishedToAll:true -resourceType:service -resourceType:application"
          size="15"
          list-of-label="Aperçu,Titre,Type,Catégories HVD,Législations,Status,API,Organisme"
          list-of-field="overview[*],resourceTitleObject.default,resourceType[0],th_high-value-dataset-category[*],th_high-value-dataset-applicable-legislation[*],cl_status[0].default,link[?(@.protocol == 'OGC:WMS' || @.protocol == 'OGC:WFS' || @.protocol == 'ESRI:REST' || @.protocol == 'atom:feed')],ownerOrgForResource_tree"
          list-of-filter="resourceType,th_high-value-dataset-category.default,th_applicable-legislation.default,cl_status.default,ownerOrgForResourceObject.default"
          landing-page="https://geodata.wallonie.be/id/${uuid}"
          landing-page-link-on="resourceTitleObject.default"
          scroll-height="80vh"></gc-search-results-table-component>
</div>