[GRASS-dev] [GRASS GIS] #3702: r.in.wms: examples return errors
GRASS GIS
trac at osgeo.org
Wed Dec 5 04:51:36 PST 2018
#3702: r.in.wms: examples return errors
-------------------------+-------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.6.0
Component: Raster | Version: unspecified
Keywords: r.in.wms | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
Hi, I'm testing r.in.wms examples from the manual page but most of them
return errors
{{{
r.in.wms url="https://tiles.maps.eox.at/wms?" layers=s2cloudless
output=sentinel2 format=png
ERROR 1: KEA was compiled against GDAL 2.2, but the current library
version is 2.3
Downloading data from WMS server...
Reprojecting raster...
ERROR 1: KEA was compiled against GDAL 2.2, but the current library
version is 2.3
ERROR 1: Cannot guess driver for
/home/lucadelu/grassdata/nc_spm_08/test/.tmp/geowork/14177.0
ERROR: gdalwarp failed
}}}
{{{
r.in.wms url="http://ows.mundialis.de/services/service?" layer=TOPO-WMS
output=topo format=png
ERROR 1: KEA was compiled against GDAL 2.2, but the current library
version is 2.3
Downloading data from WMS server...
RuntimeError: module compiled against API version 0xc but this version of
numpy is 0xa
Traceback (most recent call last):
File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-
gnu/scripts/r.in.wms", line 241, in <module>
sys.exit(main())
File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-
gnu/scripts/r.in.wms", line 227, in main
fetched_map = wms.GetMap(options, flags)
File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/r.in.wms/wms_base.py", line 215, in GetMap
self.temp_map = self._download()
File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/r.in.wms/wms_drv.py", line 194, in _download
tile_dataset = self._pct2rgb(temp_tile, temp_tile_pct2rgb)
File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-
gnu/etc/r.in.wms/wms_drv.py", line 285, in _pct2rgb
src_data = src_band.ReadAsArray(0, iY, src_ds.RasterXSize, 1)
File "/usr/lib/python2.7/dist-packages/osgeo/gdal.py", line 2598, in
ReadAsArray
import gdalnumeric
File "/usr/lib/python2.7/dist-packages/osgeo/gdalnumeric.py", line 1, in
<module>
from osgeo.gdal_array import *
File "/usr/lib/python2.7/dist-packages/osgeo/gdal_array.py", line 17, in
<module>
_gdal_array = swig_import_helper()
File "/usr/lib/python2.7/dist-packages/osgeo/gdal_array.py", line 16, in
swig_import_helper
return importlib.import_module('_gdal_array')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
import_module
__import__(name)
ImportError: No module named _gdal_array
}}}
{{{
r.in.wms url="http://watzmann-geog.urz.uni-heidelberg.de/cached/osm"
layers=osm_auto:all output=osm format=png
ERROR 1: KEA was compiled against GDAL 2.2, but the current library
version is 2.3
Downloading data from WMS server...
ERROR: Unable to fetch capabilities from
<http://watzmann-geog.urz.uni-heidelberg.de/cached/osm?>. Reason:
Proxy Error
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3702>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list