Opened 11 years ago
Last modified 9 years ago
#2022 new defect
wxGUI: r.in.wms wrapper tool not parsing section titles correctly
Reported by: | hamish | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.6 |
Component: | wxGUI | Version: | svn-develbranch6 |
Keywords: | r.in.wms, ogc_services.py | Cc: | |
CPU: | All | Platform: | All |
Description
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.
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Milestone: | 6.4.3 → 6.4.4 |
---|
Oh, I just noted in the changesets a difference:
layers[lastLayer][key] = value.decode('utf8')
versus
layers[lastLayer][key] = value
comment:3 by , 9 years ago
Milestone: | 6.4.4 → 6.4.6 |
---|
Replying to hamish:
For the record: This was done in 2013 in r57040.
Close ticket?