Created
August 30, 2026 18:40
-
-
Save aborruso/ab2414dddbb605e3bc0992f60a30f7a0 to your computer and use it in GitHub Desktop.
GeoLibre issue 2166: five-layer CORS test project (Italian public WMS/WFS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| "name": "Test CORS in GeoLibre Desktop", | |
| "mapView": { | |
| "center": [ | |
| 12.5, | |
| 42.5 | |
| ], | |
| "zoom": 5.5, | |
| "bearing": 0, | |
| "pitch": 0 | |
| }, | |
| "basemapStyleUrl": "https://tiles.openfreemap.org/styles/positron", | |
| "basemapVisible": true, | |
| "basemapOpacity": 1, | |
| "layers": [ | |
| { | |
| "id": "9613bf19-95af-417d-a76a-5320f5472d9e", | |
| "name": "A. WMS ISPRA ArcGIS 1:1M (CORS doppio header: in Web fallisce)", | |
| "type": "wms", | |
| "visible": true, | |
| "opacity": 1, | |
| "style": { | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "fillColor": "#3b82f6", | |
| "strokeColor": "#1e40af", | |
| "strokeWidth": 2, | |
| "fillOpacity": 0.6, | |
| "circleRadius": 6, | |
| "textColor": "#111827", | |
| "textHaloColor": "#ffffff", | |
| "textHaloWidth": 2, | |
| "textSize": 16, | |
| "extrusionEnabled": false, | |
| "extrusionColor": "#3b82f6", | |
| "extrusionOpacity": 0.8, | |
| "extrusionHeightProperty": "height", | |
| "extrusionHeightScale": 1, | |
| "extrusionBase": 0, | |
| "extrusionAdvancedStyleEnabled": false, | |
| "extrusionColorExpression": "", | |
| "extrusionHeightExpression": "", | |
| "vectorStyleMode": "single", | |
| "vectorStyleProperty": "", | |
| "vectorStyleClassCount": 5, | |
| "vectorStyleColorRamp": "viridis", | |
| "vectorStyleClassificationScheme": "equal-interval", | |
| "vectorStyleStops": [ | |
| { | |
| "value": 0, | |
| "color": "#dbeafe" | |
| }, | |
| { | |
| "value": 1, | |
| "color": "#2563eb" | |
| } | |
| ], | |
| "vectorStyleExpression": "", | |
| "pointRenderer": "single", | |
| "heatmapRadius": 30, | |
| "heatmapIntensity": 1, | |
| "clusterRadius": 50, | |
| "clusterMaxZoom": 14, | |
| "rasterBrightnessMin": 0, | |
| "rasterBrightnessMax": 1, | |
| "rasterSaturation": 0, | |
| "rasterContrast": 0, | |
| "rasterHueRotate": 0, | |
| "blendMode": "normal" | |
| }, | |
| "metadata": { | |
| "service": "wms" | |
| }, | |
| "source": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://sgi2.isprambiente.it/arcgis/services/raster/geo_1000k_italia/ImageServer/WMSServer?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=geo_1000k_italia&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=TRUE&CRS=EPSG%3A3857&BBOX={bbox-epsg-3857}&WIDTH=256&HEIGHT=256" | |
| ], | |
| "tileSize": 256, | |
| "url": "https://sgi2.isprambiente.it/arcgis/services/raster/geo_1000k_italia/ImageServer/WMSServer", | |
| "layers": "geo_1000k_italia", | |
| "styles": "", | |
| "format": "image/png", | |
| "transparent": true, | |
| "version": "1.3.0" | |
| } | |
| }, | |
| { | |
| "id": "cf7d8d60-84b5-462c-803b-a829067884f0", | |
| "name": "B. WMS ISPRA GeoServer 1:500K (CORS ok: in Web funziona)", | |
| "type": "wms", | |
| "visible": true, | |
| "opacity": 1, | |
| "style": { | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "fillColor": "#3b82f6", | |
| "strokeColor": "#1e40af", | |
| "strokeWidth": 2, | |
| "fillOpacity": 0.6, | |
| "circleRadius": 6, | |
| "textColor": "#111827", | |
| "textHaloColor": "#ffffff", | |
| "textHaloWidth": 2, | |
| "textSize": 16, | |
| "extrusionEnabled": false, | |
| "extrusionColor": "#3b82f6", | |
| "extrusionOpacity": 0.8, | |
| "extrusionHeightProperty": "height", | |
| "extrusionHeightScale": 1, | |
| "extrusionBase": 0, | |
| "extrusionAdvancedStyleEnabled": false, | |
| "extrusionColorExpression": "", | |
| "extrusionHeightExpression": "", | |
| "vectorStyleMode": "single", | |
| "vectorStyleProperty": "", | |
| "vectorStyleClassCount": 5, | |
| "vectorStyleColorRamp": "viridis", | |
| "vectorStyleClassificationScheme": "equal-interval", | |
| "vectorStyleStops": [ | |
| { | |
| "value": 0, | |
| "color": "#dbeafe" | |
| }, | |
| { | |
| "value": 1, | |
| "color": "#2563eb" | |
| } | |
| ], | |
| "vectorStyleExpression": "", | |
| "pointRenderer": "single", | |
| "heatmapRadius": 30, | |
| "heatmapIntensity": 1, | |
| "clusterRadius": 50, | |
| "clusterMaxZoom": 14, | |
| "rasterBrightnessMin": 0, | |
| "rasterBrightnessMax": 1, | |
| "rasterSaturation": 0, | |
| "rasterContrast": 0, | |
| "rasterHueRotate": 0, | |
| "blendMode": "normal" | |
| }, | |
| "metadata": { | |
| "service": "wms" | |
| }, | |
| "source": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://sgi2.isprambiente.it/geoserver/ge-core3/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=geo500K&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=TRUE&CRS=EPSG%3A3857&BBOX={bbox-epsg-3857}&WIDTH=256&HEIGHT=256" | |
| ], | |
| "tileSize": 256, | |
| "url": "https://sgi2.isprambiente.it/geoserver/ge-core3/wms", | |
| "layers": "geo500K", | |
| "styles": "", | |
| "format": "image/png", | |
| "transparent": true, | |
| "version": "1.3.0" | |
| } | |
| }, | |
| { | |
| "id": "a88d9f08-eb6f-4ce7-ab90-e2c643bf351e", | |
| "name": "C. WFS FVG acque sotterranee (niente CORS: in Web fallisce)", | |
| "type": "geojson", | |
| "visible": true, | |
| "opacity": 1, | |
| "style": { | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "fillColor": "#3b82f6", | |
| "strokeColor": "#1e40af", | |
| "strokeWidth": 2, | |
| "fillOpacity": 0.6, | |
| "circleRadius": 6, | |
| "textColor": "#111827", | |
| "textHaloColor": "#ffffff", | |
| "textHaloWidth": 2, | |
| "textSize": 16, | |
| "extrusionEnabled": false, | |
| "extrusionColor": "#3b82f6", | |
| "extrusionOpacity": 0.8, | |
| "extrusionHeightProperty": "height", | |
| "extrusionHeightScale": 1, | |
| "extrusionBase": 0, | |
| "extrusionAdvancedStyleEnabled": false, | |
| "extrusionColorExpression": "", | |
| "extrusionHeightExpression": "", | |
| "vectorStyleMode": "single", | |
| "vectorStyleProperty": "", | |
| "vectorStyleClassCount": 5, | |
| "vectorStyleColorRamp": "viridis", | |
| "vectorStyleClassificationScheme": "equal-interval", | |
| "vectorStyleStops": [ | |
| { | |
| "value": 0, | |
| "color": "#dbeafe" | |
| }, | |
| { | |
| "value": 1, | |
| "color": "#2563eb" | |
| } | |
| ], | |
| "vectorStyleExpression": "", | |
| "pointRenderer": "single", | |
| "heatmapRadius": 30, | |
| "heatmapIntensity": 1, | |
| "clusterRadius": 50, | |
| "clusterMaxZoom": 14, | |
| "rasterBrightnessMin": 0, | |
| "rasterBrightnessMax": 1, | |
| "rasterSaturation": 0, | |
| "rasterContrast": 0, | |
| "rasterHueRotate": 0, | |
| "blendMode": "normal" | |
| }, | |
| "metadata": { | |
| "sourceKind": "maplibre-gl-vector", | |
| "externalNativeLayer": true, | |
| "controlOwnsPaint": true, | |
| "identifiable": false, | |
| "nativeLayerIds": [], | |
| "sourceIds": [ | |
| "a88d9f08-eb6f-4ce7-ab90-e2c643bf351e-source" | |
| ], | |
| "vectorSource": "url", | |
| "vectorState": { | |
| "renderMode": "geojson", | |
| "format": "geojson" | |
| } | |
| }, | |
| "source": { | |
| "type": "geojson", | |
| "url": "https://serviziogc.regione.fvg.it/geoserver/IDROGRAF/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=IDROGRAF:ACQUE_SOTTERRANEE&OUTPUTFORMAT=application/json&SRSNAME=EPSG:4326&COUNT=500" | |
| }, | |
| "sourcePath": "https://serviziogc.regione.fvg.it/geoserver/IDROGRAF/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=IDROGRAF:ACQUE_SOTTERRANEE&OUTPUTFORMAT=application/json&SRSNAME=EPSG:4326&COUNT=500" | |
| }, | |
| { | |
| "id": "b40bbe41-3dd3-40c5-8cda-1faff45c4a25", | |
| "name": "D. WFS Sardegna aree marine protette (CORS ok: in Web funziona)", | |
| "type": "geojson", | |
| "visible": true, | |
| "opacity": 1, | |
| "style": { | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "fillColor": "#3b82f6", | |
| "strokeColor": "#1e40af", | |
| "strokeWidth": 2, | |
| "fillOpacity": 0.6, | |
| "circleRadius": 6, | |
| "textColor": "#111827", | |
| "textHaloColor": "#ffffff", | |
| "textHaloWidth": 2, | |
| "textSize": 16, | |
| "extrusionEnabled": false, | |
| "extrusionColor": "#3b82f6", | |
| "extrusionOpacity": 0.8, | |
| "extrusionHeightProperty": "height", | |
| "extrusionHeightScale": 1, | |
| "extrusionBase": 0, | |
| "extrusionAdvancedStyleEnabled": false, | |
| "extrusionColorExpression": "", | |
| "extrusionHeightExpression": "", | |
| "vectorStyleMode": "single", | |
| "vectorStyleProperty": "", | |
| "vectorStyleClassCount": 5, | |
| "vectorStyleColorRamp": "viridis", | |
| "vectorStyleClassificationScheme": "equal-interval", | |
| "vectorStyleStops": [ | |
| { | |
| "value": 0, | |
| "color": "#dbeafe" | |
| }, | |
| { | |
| "value": 1, | |
| "color": "#2563eb" | |
| } | |
| ], | |
| "vectorStyleExpression": "", | |
| "pointRenderer": "single", | |
| "heatmapRadius": 30, | |
| "heatmapIntensity": 1, | |
| "clusterRadius": 50, | |
| "clusterMaxZoom": 14, | |
| "rasterBrightnessMin": 0, | |
| "rasterBrightnessMax": 1, | |
| "rasterSaturation": 0, | |
| "rasterContrast": 0, | |
| "rasterHueRotate": 0, | |
| "blendMode": "normal" | |
| }, | |
| "metadata": { | |
| "sourceKind": "maplibre-gl-vector", | |
| "externalNativeLayer": true, | |
| "controlOwnsPaint": true, | |
| "identifiable": false, | |
| "nativeLayerIds": [], | |
| "sourceIds": [ | |
| "b40bbe41-3dd3-40c5-8cda-1faff45c4a25-source" | |
| ], | |
| "vectorSource": "url", | |
| "vectorState": { | |
| "renderMode": "geojson", | |
| "format": "geojson" | |
| } | |
| }, | |
| "source": { | |
| "type": "geojson", | |
| "url": "https://webgis2.regione.sardegna.it/geoserver/dbu/ows?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=dbu:areemarineprotette&OUTPUTFORMAT=application/json&SRSNAME=EPSG:4326" | |
| }, | |
| "sourcePath": "https://webgis2.regione.sardegna.it/geoserver/dbu/ows?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=dbu:areemarineprotette&OUTPUTFORMAT=application/json&SRSNAME=EPSG:4326" | |
| }, | |
| { | |
| "id": "4f20a309-5d10-4235-bb18-0f3d4dd0744e", | |
| "name": "E. WMS FVG acque sotterranee (niente CORS, tile ok a curl)", | |
| "type": "wms", | |
| "visible": true, | |
| "opacity": 1, | |
| "style": { | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "fillColor": "#3b82f6", | |
| "strokeColor": "#1e40af", | |
| "strokeWidth": 2, | |
| "fillOpacity": 0.6, | |
| "circleRadius": 6, | |
| "textColor": "#111827", | |
| "textHaloColor": "#ffffff", | |
| "textHaloWidth": 2, | |
| "textSize": 16, | |
| "extrusionEnabled": false, | |
| "extrusionColor": "#3b82f6", | |
| "extrusionOpacity": 0.8, | |
| "extrusionHeightProperty": "height", | |
| "extrusionHeightScale": 1, | |
| "extrusionBase": 0, | |
| "extrusionAdvancedStyleEnabled": false, | |
| "extrusionColorExpression": "", | |
| "extrusionHeightExpression": "", | |
| "vectorStyleMode": "single", | |
| "vectorStyleProperty": "", | |
| "vectorStyleClassCount": 5, | |
| "vectorStyleColorRamp": "viridis", | |
| "vectorStyleClassificationScheme": "equal-interval", | |
| "vectorStyleStops": [ | |
| { | |
| "value": 0, | |
| "color": "#dbeafe" | |
| }, | |
| { | |
| "value": 1, | |
| "color": "#2563eb" | |
| } | |
| ], | |
| "vectorStyleExpression": "", | |
| "pointRenderer": "single", | |
| "heatmapRadius": 30, | |
| "heatmapIntensity": 1, | |
| "clusterRadius": 50, | |
| "clusterMaxZoom": 14, | |
| "rasterBrightnessMin": 0, | |
| "rasterBrightnessMax": 1, | |
| "rasterSaturation": 0, | |
| "rasterContrast": 0, | |
| "rasterHueRotate": 0, | |
| "blendMode": "normal" | |
| }, | |
| "metadata": { | |
| "service": "wms" | |
| }, | |
| "source": { | |
| "type": "raster", | |
| "tiles": [ | |
| "https://serviziogc.regione.fvg.it/geoserver/IDROGRAF/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=IDROGRAF%3AACQUE_SOTTERRANEE&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=TRUE&CRS=EPSG%3A3857&BBOX={bbox-epsg-3857}&WIDTH=256&HEIGHT=256" | |
| ], | |
| "tileSize": 256, | |
| "url": "https://serviziogc.regione.fvg.it/geoserver/IDROGRAF/wms", | |
| "layers": "IDROGRAF:ACQUE_SOTTERRANEE", | |
| "styles": "", | |
| "format": "image/png", | |
| "transparent": true, | |
| "version": "1.3.0" | |
| } | |
| } | |
| ], | |
| "styles": {}, | |
| "preferences": { | |
| "map": { | |
| "restrictBounds": false, | |
| "bounds": [ | |
| -180, | |
| -85, | |
| 180, | |
| 85 | |
| ], | |
| "minZoom": 0, | |
| "maxZoom": 24, | |
| "maxPitch": 85, | |
| "renderWorldCopies": true | |
| }, | |
| "environmentVariables": [] | |
| }, | |
| "metadata": {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment