[Qgis-developer] WMS metadata() in non-English locale

Tom Chadwin tom.chadwin at nnpa.org.uk
Tue Jan 31 11:49:31 PST 2017


I am trying to retrieve the WMS version of a layer, and am just parsing its
metadata(), as no other solution was suggested here:

http://gis.stackexchange.com/questions/213817/get-wms-version-from-qgis-layer-in-python

However, what does metadata() return if the user's locale is not English? In
other words, will "VERSION" be translated, and hence will this method fail? 



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-metadata-in-non-English-locale-tp5305601.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list