From 147f178b2b62dd4867499eb57b51b42163612134 Mon Sep 17 00:00:00 2001 From: mahmoudadel54 Date: Wed, 25 Oct 2023 11:55:42 +0300 Subject: [PATCH] edit format of new.json, localConfig.json files --- web/client/configs/localConfig.json | 246 ++++++++++++++-------------- web/client/configs/new.json | 3 +- 2 files changed, 125 insertions(+), 124 deletions(-) diff --git a/web/client/configs/localConfig.json b/web/client/configs/localConfig.json index 732ebf0ad5..ec87aa9cd4 100644 --- a/web/client/configs/localConfig.json +++ b/web/client/configs/localConfig.json @@ -104,129 +104,129 @@ }, "staticServices": { "default_map_backgrounds": { - "type": "backgrounds", - "title": "Default Backgrounds", - "titleMsgId": "defaultMapBackgroundsServiceTitle", - "autoload": true, - "backgrounds": [{ - "format": "image/jpeg", - "group": "background", - "name": "osm:osm_simple_light", - "opacity": 1, - "title": "OSM Simple Light", - "thumbURL": "product/assets/img/osm-simple-light.jpg", - "type": "wms", - "url": [ - "https://maps1.geosolutionsgroup.com/geoserver/wms", - "https://maps2.geosolutionsgroup.com/geoserver/wms", - "https://maps3.geosolutionsgroup.com/geoserver/wms", - "https://maps4.geosolutionsgroup.com/geoserver/wms", - "https://maps5.geosolutionsgroup.com/geoserver/wms", - "https://maps6.geosolutionsgroup.com/geoserver/wms" - ], - "visibility": false, - "singleTile": false, - "credits": { - "title": "OSM Simple Light | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" - } - }, { - "format": "image/jpeg", - "group": "background", - "name": "osm:osm_simple_dark", - "opacity": 1, - "title": "OSM Simple Dark", - "thumbURL": "product/assets/img/osm-simple-dark.jpg", - "type": "wms", - "url": [ - "https://maps6.geosolutionsgroup.com/geoserver/wms", - "https://maps3.geosolutionsgroup.com/geoserver/wms", - "https://maps1.geosolutionsgroup.com/geoserver/wms", - "https://maps4.geosolutionsgroup.com/geoserver/wms", - "https://maps2.geosolutionsgroup.com/geoserver/wms", - "https://maps5.geosolutionsgroup.com/geoserver/wms" - ], - "visibility": false, - "singleTile": false, - "credits": { - "title": "OSM Simple Dark | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" - } - }, { - "format": "image/jpeg", - "group": "background", - "name": "osm:osm", - "opacity": 1, - "title": "OSM Bright", - "thumbURL": "product/assets/img/osm-bright.jpg", - "type": "wms", - "url": [ - "https://maps1.geosolutionsgroup.com/geoserver/wms", - "https://maps2.geosolutionsgroup.com/geoserver/wms", - "https://maps3.geosolutionsgroup.com/geoserver/wms", - "https://maps4.geosolutionsgroup.com/geoserver/wms", - "https://maps5.geosolutionsgroup.com/geoserver/wms", - "https://maps6.geosolutionsgroup.com/geoserver/wms" - ], - "visibility": true, - "singleTile": false, - "credits": { - "title": "OSM Bright | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" - } - }, { - "format": "image/jpeg", - "group": "background", - "name": "ne:ne-political", - "opacity": 1, - "title": "NE Political", - "thumbURL": "product/assets/img/ne-political.jpg", - "type": "wms", - "url": [ - "https://maps1.geosolutionsgroup.com/geoserver/wms", - "https://maps2.geosolutionsgroup.com/geoserver/wms", - "https://maps3.geosolutionsgroup.com/geoserver/wms", - "https://maps4.geosolutionsgroup.com/geoserver/wms", - "https://maps5.geosolutionsgroup.com/geoserver/wms", - "https://maps6.geosolutionsgroup.com/geoserver/wms" - ], - "visibility": false, - "singleTile": false, - "credits": { - "title": "

\n" - } - }, { - "format": "image/jpeg", - "group": "background", - "name": "s2cloudless:s2cloudless", - "opacity": 1, - "title": "Sentinel 2 Cloudless", - "type": "wms", - "url": [ - "https://maps1.geosolutionsgroup.com/geoserver/wms", - "https://maps2.geosolutionsgroup.com/geoserver/wms", - "https://maps3.geosolutionsgroup.com/geoserver/wms", - "https://maps4.geosolutionsgroup.com/geoserver/wms", - "https://maps5.geosolutionsgroup.com/geoserver/wms", - "https://maps6.geosolutionsgroup.com/geoserver/wms" - ], - "source": "s2cloudless", - "singleTile": false, - "visibility": false - }, { - "type": "osm", - "title": "Open Street Map", - "name": "mapnik", - "source": "osm", - "group": "background", - "visibility": false - }, { - "source": "ol", - "group": "background", - "title": "Empty Background", - "fixed": true, - "type": "empty", - "visibility": false - } - ] - } + "type": "backgrounds", + "title": "Default Backgrounds", + "titleMsgId": "defaultMapBackgroundsServiceTitle", + "autoload": true, + "backgrounds": [{ + "format": "image/jpeg", + "group": "background", + "name": "osm:osm_simple_light", + "opacity": 1, + "title": "OSM Simple Light", + "thumbURL": "product/assets/img/osm-simple-light.jpg", + "type": "wms", + "url": [ + "https://maps1.geosolutionsgroup.com/geoserver/wms", + "https://maps2.geosolutionsgroup.com/geoserver/wms", + "https://maps3.geosolutionsgroup.com/geoserver/wms", + "https://maps4.geosolutionsgroup.com/geoserver/wms", + "https://maps5.geosolutionsgroup.com/geoserver/wms", + "https://maps6.geosolutionsgroup.com/geoserver/wms" + ], + "visibility": false, + "singleTile": false, + "credits": { + "title": "OSM Simple Light | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" + } + }, { + "format": "image/jpeg", + "group": "background", + "name": "osm:osm_simple_dark", + "opacity": 1, + "title": "OSM Simple Dark", + "thumbURL": "product/assets/img/osm-simple-dark.jpg", + "type": "wms", + "url": [ + "https://maps6.geosolutionsgroup.com/geoserver/wms", + "https://maps3.geosolutionsgroup.com/geoserver/wms", + "https://maps1.geosolutionsgroup.com/geoserver/wms", + "https://maps4.geosolutionsgroup.com/geoserver/wms", + "https://maps2.geosolutionsgroup.com/geoserver/wms", + "https://maps5.geosolutionsgroup.com/geoserver/wms" + ], + "visibility": false, + "singleTile": false, + "credits": { + "title": "OSM Simple Dark | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" + } + }, { + "format": "image/jpeg", + "group": "background", + "name": "osm:osm", + "opacity": 1, + "title": "OSM Bright", + "thumbURL": "product/assets/img/osm-bright.jpg", + "type": "wms", + "url": [ + "https://maps1.geosolutionsgroup.com/geoserver/wms", + "https://maps2.geosolutionsgroup.com/geoserver/wms", + "https://maps3.geosolutionsgroup.com/geoserver/wms", + "https://maps4.geosolutionsgroup.com/geoserver/wms", + "https://maps5.geosolutionsgroup.com/geoserver/wms", + "https://maps6.geosolutionsgroup.com/geoserver/wms" + ], + "visibility": true, + "singleTile": false, + "credits": { + "title": "OSM Bright | Rendering GeoSolutions | Data © OpenStreetMap contributors, ODbL" + } + }, { + "format": "image/jpeg", + "group": "background", + "name": "ne:ne-political", + "opacity": 1, + "title": "NE Political", + "thumbURL": "product/assets/img/ne-political.jpg", + "type": "wms", + "url": [ + "https://maps1.geosolutionsgroup.com/geoserver/wms", + "https://maps2.geosolutionsgroup.com/geoserver/wms", + "https://maps3.geosolutionsgroup.com/geoserver/wms", + "https://maps4.geosolutionsgroup.com/geoserver/wms", + "https://maps5.geosolutionsgroup.com/geoserver/wms", + "https://maps6.geosolutionsgroup.com/geoserver/wms" + ], + "visibility": false, + "singleTile": false, + "credits": { + "title": "

\n" + } + }, { + "format": "image/jpeg", + "group": "background", + "name": "s2cloudless:s2cloudless", + "opacity": 1, + "title": "Sentinel 2 Cloudless", + "type": "wms", + "url": [ + "https://maps1.geosolutionsgroup.com/geoserver/wms", + "https://maps2.geosolutionsgroup.com/geoserver/wms", + "https://maps3.geosolutionsgroup.com/geoserver/wms", + "https://maps4.geosolutionsgroup.com/geoserver/wms", + "https://maps5.geosolutionsgroup.com/geoserver/wms", + "https://maps6.geosolutionsgroup.com/geoserver/wms" + ], + "source": "s2cloudless", + "singleTile": false, + "visibility": false + }, { + "type": "osm", + "title": "Open Street Map", + "name": "mapnik", + "source": "osm", + "group": "background", + "visibility": false + }, { + "source": "ol", + "group": "background", + "title": "Empty Background", + "fixed": true, + "type": "empty", + "visibility": false + } + ] + } } } }, diff --git a/web/client/configs/new.json b/web/client/configs/new.json index 2cfb7049ef..1a59fbde5d 100644 --- a/web/client/configs/new.json +++ b/web/client/configs/new.json @@ -9,7 +9,8 @@ -20037508.34, -20037508.34, 20037508.34, 20037508.34 ], - "layers": [{ + "layers": [ + { "format": "image/jpeg", "group": "background", "name": "osm:osm_simple_light",