#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>
GRASS GIS <http://grass.osgeo.org>