error r.in.wms GRASS GIS

by Peter   Last Updated August 14, 2018 13:22 PM

I am trying to import a aerial photo into GRASS via wms. The following error occurs:

Downloading data from WMS server...
Traceback (most recent call last):
 File "/usr/lib/grass72/scripts/r.in.wms", line 236, in
<module>
sys.exit(main())
File "/usr/lib/grass72/scripts/r.in.wms", line 222, in
main
fetched_map = wms.GetMap(options, flags)
File "/usr/lib/grass72/etc/r.in.wms/wms_base.py", line
210, in GetMap
self.temp_map = self._download()
File "/usr/lib/grass72/etc/r.in.wms/wms_drv.py", line 205,
in _download
tile_dataset.GetRasterBand(1).DataType)
AttributeError: 'NoneType' object has no attribute
'DataType'

Adding the layer to QGIS works without issues. Can someone advise what the problem can be?

Tags : grass wms import


Related Questions



Is it possible to import/run AML script into GRASS?

Updated October 02, 2017 08:22 AM

How can I import tif file in GRASS GIS

Updated March 21, 2017 12:22 PM

GRASS GIS v.in.ply

Updated April 01, 2017 13:22 PM

GRASS importing same-name rasters fails

Updated August 02, 2017 17:22 PM