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

GRASS GIS trac at osgeo.org
Thu Aug 11 13:08: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
Resolution:            |   Keywords:  WMTS, raster
       CPU:  x86-64    |   Platform:  Linux
-----------------------+--------------------------

Comment (by hellik):

 Replying to [ticket:3127 hellik]:

 > {{{
 > 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
 > }}}

 regarding ''driver=WMS_GDAL'', some tests showed that this is not the
 correct r.in.wms GDAL driver (i.e. http://www.gdal.org/frmt_wms.html) for
 this server, it should be used GDAL WMTS
 (http://www.gdal.org/frmt_wmts.html). GDAL WMTS is available since GDAL
 2.1.

 that's not implemented yet, maybe worth for an enhancement ticket.

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



More information about the grass-dev mailing list