geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Update catalog and background layers url configuration in settings.py and related files

Open allyoucanmap opened this issue 4 years ago • 0 comments

We should remove all the reference to geo-solutions.it endpoint in the mapstore configuration included in the settings.py files.

  • remove default mapstore catalog services and use only the geonode one https://github.com/GeoNode/geonode/blob/b140576d6308c1dd55af3fe65427f69e98bbe071/geonode/settings.py#L1461-L1476

  • update url endpoint for the s2cloudless background layer https://github.com/GeoNode/geonode/blob/b140576d6308c1dd55af3fe65427f69e98bbe071/geonode/settings.py#L1498-L1508

new endpoints

{
    "type": "wms",
    "title": "Sentinel-2 cloudless - https://s2maps.eu",
    "format": "image/jpeg",
    "id": "s2cloudless",
    "name": "s2cloudless:s2cloudless",
    "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"
    ],
    "group": "background",
    "thumbURL": f"{SITEURL}static/mapstorestyle/img/s2cloudless-s2cloudless.png",
    "visibility": False,
    "credits": {
      "title": "<a class=\"a-light\" xmlns:dct=\"http://purl.org/dc/terms/\" href=\"https://s2maps.eu\" property=\"dct:title\">Sentinel-2 cloudless 2016</a> by <a class=\"a-light\" xmlns:cc=\"http://creativecommons.org/ns#\" href=\"https://eox.at\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">EOX IT Services GmbH</a>"
    }
}
  • remove all the reference to geo-solutions endpoint from the repository https://github.com/GeoNode/geonode/search?p=2&q=geo-solutions

allyoucanmap avatar Jul 22 '21 09:07 allyoucanmap