[GRASS-dev] [GRASS GIS] #3127: r.in.wms fails

GRASS GIS trac at osgeo.org
Wed Aug 10 02:35:00 PDT 2016


#3127: r.in.wms fails
--------------------------+-------------------------
 Reporter:  hellik        |      Owner:  grass-dev@…
     Type:  defect        |     Status:  new
 Priority:  critical      |  Milestone:  7.3.0
Component:  Raster        |    Version:  svn-trunk
 Keywords:  WMTS, raster  |        CPU:  x86-64
 Platform:  Linux         |
--------------------------+-------------------------
 taken from user ML [https://lists.osgeo.org/pipermail/grass-
 user/2016-August/074653.html user ML]

 {{{
 r.in.wms --verbose
 url=https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml output=test
 layers=bmapgrau srs=3857 driver=WMTS_GRASS
 Downloading data from WMS server...
 WARNING: no switch
 Fetching 56 tiles with 256 x 256 pixel size per tile...
 Traceback (most recent call last):
   File "/home/bugs/dev/cpp/grass7_trunk/dist.x86_64-pc-
 linux-gnu/scripts/r.in.wms", line 236, in <module>
     sys.exit(main())
   File "/home/bugs/dev/cpp/grass7_trunk/dist.x86_64-pc-
 linux-gnu/scripts/r.in.wms", line 222, in main
     fetched_map = wms.GetMap(options, flags)
   File "/home/bugs/dev/cpp/grass7_trunk/dist.x86_64-pc-
 linux-gnu/etc/r.in.wms/wms_base.py", line 210, in GetMap
     self.temp_map = self._download()
   File "/home/bugs/dev/cpp/grass7_trunk/dist.x86_64-pc-
 linux-gnu/etc/r.in.wms/wms_drv.py", line 205, in _download
     tile_dataset.GetRasterBand(1).DataType)
 AttributeError: 'NoneType' object has no attribute
 'DataType'
 }}}


 {{{
 r.in.wms --verbose
 url=https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml output=test
 layers=bmapgrau srs=3857 driver=WMS_GDAL
 Downloading data from WMS server...
 ERROR 1: GDALWMS: The server returned unknown exception.
 ERROR 1: /home/bugs/grassdata/loc_epsg3857/rastadata/.tmp/na
 da/3422.1, band 1: IReadBlock failed at X offset 0, Y offset
 0
 ERROR 1: GetBlockRef failed at X block offset 0, Y block
 offset 0
 ERROR: Incorrect WMS query
 }}}


 {{{
 System Info
 GRASS version: 7.3.svn
 GRASS SVN revision: r69110
 Build date: 2016-08-09
 Build platform: x86_64-pc-linux-gnu
 GDAL: 2.1.1
 PROJ.4: 4.8.0
 GEOS: 3.4.2
 SQLite: 3.8.7.1
 Python: 2.7.9
 wxPython: 3.0.1.1
 Platform: Linux-3.16.0-4-amd64-x86_64-with-debian-8.5
 }}}


 {{{
 g.region -p
 projection: 99 (WGS 84 / Pseudo-Mercator)
 zone:       0
 datum:      wgs84
 ellipsoid:  wgs84
 north:      5961400
 south:      5930120
 west:       1401500
 east:       1407550
 nsres:      10
 ewres:      10
 rows:       3128
 cols:       605
 cells:      1892440
 }}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3127>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list