<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
Hi all,
</div>
<div>
</div>
<div>
In Python I would to parse WMS GetCapabilities:
</div>
<div>
the main goal is to gather informations of all exposed layers
</div>
<div>
</div>
<div>
I might be wrong, but in QGIS 2.0 API I didn't found any interface or class to achieve this.
</div>
<div>
Instead in QGIS source there is qgswmsprovider.cpp that has all methods that I need.
</div>
<div>
</div>
<div>
I already have a simple wms parser in python but possibly I wouldn't duplicate code... nor to use external python libraries like OWSLib.
</div>
<div>
</div>
<div>
Any suggestion to achieve this without reinventing the wheel?
</div>
<div>
</div>
<div>
TIA
</div>
<div id="ox-signature">
<p style="margin: 0;"> </p>
<p style="margin: 0;"> Enzo Ciarmoli</p>
<p style="margin: 0;"> </p>
</div>
</body></html>