[GRASS-dev] [GRASS GIS] #2022: wxGUI: r.in.wms wrapper tool not parsing section titles correctly

#2022: wxGUI: r.in.wms wrapper tool not parsing section titles correctly
---------------------------------------+------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: r.in.wms, ogc_services.py | Platform: All
      Cpu: All |
---------------------------------------+------------------------------------
Hi,

6.4.3svn wxGUI File->Import raster-> r.in.wms ->
   url = http://neowms.sci.gsfc.nasa.gov/wms/wms?
{{{
  r.in.wms -l maps="http://neowms.sci.gsfc.nasa.gov/wms/wms?" \
    out=dummy > neowms.nasa.wms.txt
}}}

in devbr6 and relbr64 (but not trunk) gui/wxpython/modules/ogc_services.py
was not parsing the section titles correctly, it thought they were layer
titles. If the section Title came before the first layer you got an error,
and if between layers they overwrote the previous layer's description.

hopefully fixed in devbr6 with r56965, please test so we can backport it
for 6.4.3.

Hamish

ps- this server might make a nice example for the r.in.wms help page,
since `OnEarth` is now tiled-only and the osgeo/flightgear one has limited
performance.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2022&gt;
GRASS GIS <http://grass.osgeo.org>

#2022: wxGUI: r.in.wms wrapper tool not parsing section titles correctly
---------------------------------------+------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: r.in.wms, ogc_services.py | Platform: All
      Cpu: All |
---------------------------------------+------------------------------------

Comment(by neteler):

Replying to [ticket:2022 hamish]:
> hopefully fixed in devbr6 with r56965, please test so we can backport it
for 6.4.3.

For the record: This was done in 2013 in r57040.

Close ticket?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2022#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2022: wxGUI: r.in.wms wrapper tool not parsing section titles correctly
---------------------------------------+------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.4
Component: wxGUI | Version: svn-develbranch6
Keywords: r.in.wms, ogc_services.py | Platform: All
      Cpu: All |
---------------------------------------+------------------------------------
Changes (by neteler):

  * milestone: 6.4.3 => 6.4.4

Comment:

Oh, I just noted in the changesets a difference:

  layers[lastLayer][key] = value.decode('utf8')

versus

  layers[lastLayer][key] = value

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2022#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>