Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS: replace broken URLs with alternative WMS #1635

Merged
merged 3 commits into from
Jun 22, 2021
Merged

WMS: replace broken URLs with alternative WMS #1635

merged 3 commits into from
Jun 22, 2021

Conversation

neteler
Copy link
Member

@neteler neteler commented Jun 11, 2021

WMS URL updates:

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

TODO: it is not clear to me if the EOX tile service is supported at all.

Alternative suggestions are welcome, ideally WMS services with global coverage.

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)

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

TODO: it is not clear to me if the EOX tile service is supported at all.

Alternative suggestions are welcome, ideally WMS services with global coverage.

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)
@neteler neteler added bug Something isn't working help wanted Extra attention is needed backport_needed labels Jun 11, 2021
@veroandreo
Copy link
Contributor

The EOX does not work for me in NC location. I get errors like this one in the terminal:

Module run d.wms d.wms --q wms_version=1.1.1 driver=WMS_GRASS url=https://tiles.maps.eox.at/wms?service=wms&request=getcapabilities layers=bluemarble styles= format=png srs=4326 maxcols=500 maxrows=500 urlparams= method=cubicspline map=Blue marble background layer by EOX - 4326 ended with error

GRASS_INFO_ERROR(7364,1): Process ended with non-zero return code 1. See errors in the (error) output.
GRASS_INFO_END(7364,1)
ERROR 4: /home/veroandreo/grassdata/nc_basic_spm_grass7/PERMANENT/.tmp/localhost.localdomain/6703.4: No such file or directory
ERROR 4: /home/veroandreo/grassdata/nc_basic_spm_grass7/PERMANENT/.tmp/localhost.localdomain/6703.4: No such file or directory

Is this bc something is missing in my settings? In QGIS, EOX WMS service works fine though

@neteler
Copy link
Member Author

neteler commented Jun 14, 2021

The EOX does not work for me in NC location. I get errors like this one in the terminal:

Same here...

Module run d.wms d.wms --q wms_version=1.1.1 driver=WMS_GRASS url=https://tiles.maps.eox.at/wms?service=wms&request=getcapabilities layers=bluemarble...

I suspect that driver=WMS_GRASS is the problem. I locally changed it in gui/wxpython/web_services/widgets.py to driver=WMS_GDAL but then I get

Traceback (most recent call last):
  File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-gnu/etc/r.in.wms/wms_base.py", line 51, in __del__
    for temp_file in self.temp_files_to_cleanup:
AttributeError: 'WMSGdalDrv' object has no attribute 'temp_files_to_cleanup'
Traceback (most recent call last):
  File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-gnu/gui/scripts/d.wms", line 218, in <module>
    sys.exit(main())
  File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-gnu/gui/scripts/d.wms", line 208, in main
    wms = WMSGdalDrv()
TypeError: __init__() missing 1 required positional argument: 'createopt'

Improvements welcome (in a separate PR).

@tmszi
Copy link
Member

tmszi commented Jun 18, 2021

r.in.wms command:

GRASS test/PERMANENT:~ > r.in.wms url="https://tiles.maps.eox.at/wms?service=wms&request=getcapabilities" output=costline layers=coastline
Downloading data from WMS server...
ERROR: WMS server error: no band(s) received. Is server URL correct?
       <https://tiles.maps.eox.at/wms?service=wms&request=getcapabilities>

@neteler
Copy link
Member Author

neteler commented Jun 21, 2021

Ok, so I'll remove the apparently unsupported tile server.

What else to add as WMS?

Copy link
Contributor

@lucadelu lucadelu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is wrong, please try with the new link

gui/wxpython/web_services/dialogs.py Outdated Show resolved Hide resolved
Co-authored-by: Luca Delucchi <lucadeluge@gmail.com>
@neteler
Copy link
Member Author

neteler commented Jun 22, 2021

The link is wrong, please try with the new link

Ah thanks. Slow but works for me now.

@neteler neteler merged commit 70e0c0e into OSGeo:master Jun 22, 2021
@neteler neteler deleted the wms_update_urls branch June 22, 2021 11:24
neteler added a commit that referenced this pull request Jun 22, 2021
- 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>
@neteler
Copy link
Member Author

neteler commented Jun 22, 2021

Example Sentinel-2 - North Carolina sample dataset:

image

neteler added a commit that referenced this pull request Jun 22, 2021
WMS URL updates:

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

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

Backport of #1635
@neteler neteler removed backport_needed help wanted Extra attention is needed labels Jun 22, 2021
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 23, 2021
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 23, 2021
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 23, 2021
* develop:
  WMS: replace broken URLs with alternative WMS (OSGeo#1635)
@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Jun 30, 2021

@neteler I can connect without issue to http://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi using GRASS 7.8.5 OSGeo4W on Windows 7.
image

@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
- 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>
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request May 9, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request May 9, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request May 21, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request May 21, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 3, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 3, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 27, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 27, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 2, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 2, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 10, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 10, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 31, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 31, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Aug 13, 2024
- 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>
a0x8o added a commit to a0x8o/grass that referenced this pull request Aug 13, 2024
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants