From 3ea479ea08b01a4bc24d9529f12c5f9d56d6ba20 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Wed, 24 May 2023 15:23:44 +0200 Subject: [PATCH] Created the Geoportal Viewer Configurations --- .../grouped_cross_filtering_layers.json | 48 +++++++++++++++++++ .../DEV/devVRE/grouped_overlay_layers.json | 32 +++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 D4S_GeoViewer_Configs/DEV/devVRE/grouped_cross_filtering_layers.json create mode 100644 D4S_GeoViewer_Configs/DEV/devVRE/grouped_overlay_layers.json diff --git a/D4S_GeoViewer_Configs/DEV/devVRE/grouped_cross_filtering_layers.json b/D4S_GeoViewer_Configs/DEV/devVRE/grouped_cross_filtering_layers.json new file mode 100644 index 0000000..ecb3f7a --- /dev/null +++ b/D4S_GeoViewer_Configs/DEV/devVRE/grouped_cross_filtering_layers.json @@ -0,0 +1,48 @@ +{ + "_id": "org.gcube.portlets.user.grouped_cross_filtering_layers", + "_type": "GROUPED_CROSS_FILTERING_LAYERS", + "_configuration": { + "grouped_cross_filtering_layers": [ + { + "name": "Limiti Amministrativi Italiani 2023", + "description": "Filtra per i confini amministrativi italiani 2023'", + "layers": [ + { + "title": "Regioni Italiane", + "description": "Le Regioni Italiane", + "name": "limiti_amministrativi:regioni", + "wfs_url": "https://geoserver1.dev.d4science.org/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=limiti_amministrativi:regioni&maxFeatures=50&outputFormat=application%2Fjson&propertyName=COD_REG,DEN_REG", + "table_show_field": "DEN_REG", + "table_key_field": "COD_REG", + "table_parent_key_field": "", + "table_geometry_name": "the_geom", + "related_to": [ + { + "title": "Province Italiane", + "description": "Le Province Italiane", + "name": "limiti_amministrativi:province", + "wfs_url": "https://geoserver1.dev.d4science.org/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=limiti_amministrativi:province&maxFeatures=150&outputFormat=application%2Fjson&propertyName=COD_PROV,DEN_PROV,COD_REG", + "table_show_field": "DEN_PROV", + "table_key_field": "COD_PROV", + "table_parent_key_field": "COD_REG", + "table_geometry_name": "the_geom", + "related_to": [ + { + "title": "Comuni Italiani", + "description": "I Comuni Italiani", + "name": "limiti_amministrativi:comuni", + "wfs_url": "https://geoserver1.dev.d4science.org/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=limiti_amministrativi:comuni&maxFeatures=9000&outputFormat=application%2Fjson&propertyName=COD_CM,COMUNE,COD_PROV", + "table_show_field": "COMUNE", + "table_key_field": "COD_CM", + "table_parent_key_field": "COD_PROV", + "table_geometry_name": "the_geom" + } + ] + } + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/D4S_GeoViewer_Configs/DEV/devVRE/grouped_overlay_layers.json b/D4S_GeoViewer_Configs/DEV/devVRE/grouped_overlay_layers.json new file mode 100644 index 0000000..4d34fa6 --- /dev/null +++ b/D4S_GeoViewer_Configs/DEV/devVRE/grouped_overlay_layers.json @@ -0,0 +1,32 @@ +{ + "_id": "org.gcube.portlets.user.grouped_overlay_layers", + "_type": "GROUPED_OVERLAY_LAYERS", + "_configuration": { + "grouped_overlay_layers": [ + { + "name": "Limiti Amministrativi Italiani 2023", + "description": "Layer (Regioni/Province/Comuni) aggiunti automaticamente alla Mappa in base al livello di zoom", + "layers": [ + { + "title": "Regioni", + "name": "limiti_amministrativi:regioni", + "wms_url": "https://geoserver1.dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:regioni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers", + "display": true + }, + { + "title": "Province", + "name": "limiti_amministrativi:province", + "wms_url": "https://geoserver1.dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:province&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers", + "display": true + }, + { + "title": "Comuni", + "name": "limiti_amministrativi:comuni", + "wms_url": "https://geoserver1.dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:comuni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers", + "display": true + } + ] + } + ] + } +} \ No newline at end of file