浏览代码

WMS: replace broken URLs with alternative WMS (#1635)

- both NASA GIBS and irs.gis-lab.info are no longer reachable
- replaced with global WMS by terrestris.de and Sentinel-2 by EOX.at

Note that the list shown in the GUI may be extended by the local list in `$HOME/.grass8/wxWS` if present (i.e., old WMS records to be removed there)

Co-authored-by: Luca Delucchi <lucadeluge@gmail.com>
Markus Neteler 3 年之前
父节点
当前提交
70e0c0ef9c
共有 1 个文件被更改,包括 5 次插入6 次删除
  1. 5 6
      gui/wxpython/web_services/dialogs.py

+ 5 - 6
gui/wxpython/web_services/dialogs.py

@@ -9,7 +9,7 @@ List of classes:
  - dialogs::WSPropertiesDialog
  - dialogs::SaveWMSLayerDialog
 
-(C) 2009-2013 by the GRASS Development Team
+(C) 2009-2021 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -66,14 +66,13 @@ class WSDialogBase(wx.Dialog):
 
         # TODO: should be in file
         self.default_servers = {
-            "OSM-WMS-EUROPE": [
-                "http://watzmann-geog.urz.uni-heidelberg.de/cached/osm",
+            "OSM-WMS": [
+                "https://ows.terrestris.de/osm/service?",
                 "",
                 "",
             ],
-            "irs.gis-lab.info (OSM)": ["http://irs.gis-lab.info", "", ""],
-            "NASA GIBS WMTS": [
-                "http://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi",
+            "tiles.maps.eox.at (Sentinel-2)": [
+                "https://tiles.maps.eox.at/wms",
                 "",
                 "",
             ],