<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>This is my first port to this mailing list. I have to start it
with a big thank you for all OWSLib contributors. This lib is
awesome.</p>
<p>I would like to parse QGIS Server GetProjectSettings requests,
which is quite similar to the GetCapabilities. GetProjectSettings
adds more details about the layers, available print layouts and
layer order (like this [1]).</p>
<p>1) Which is the OWSLib policy about such non standard requests?
Are they welcome? Can we add support for these kind of requests?<br>
</p>
<p>2) Parsing GetProjectSettings documents is similar to the
GetCapabilities. I think we just need to change the
ContentMetadata class. In my OWSLib fork [2], I've created a
completely new wmsqgis.py instance (clone of wms130.py) with these
small changes on ContentMetadata. If the answer to question 1)
allows support for GetProjectSetttings, what would be the best
approach to include it in the library? Enhance wms130.py or create
a completely new wmsqgis.py?</p>
<p>I'm using it with:</p>
<p>wms = wmsqgis.WebMapService_QGIS(url +
"&service=WMS&request=GetProjectSettings&version=1.3.0",
version='1.3.0')</p>
<p>Calling:</p>
<p>wms = WebMapService(url, version='1.3.0')</p>
<p>will replace the request=GetProjectSettings with the expected and
standard request=GetCapabilities.</p>
<p>Comments are welcome.<br>
</p>
<p>Best regards,</p>
<p>Jorge Gustavo<br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://gist.github.com/jgrocha/0bc7c393c1fb32c8906515ea5c336386">https://gist.github.com/jgrocha/0bc7c393c1fb32c8906515ea5c336386</a></p>
<p>[2]
<a class="moz-txt-link-freetext" href="https://github.com/jgrocha/OWSLib/commit/1570a487ba22dac2929f067b4d22c136c261ffea">https://github.com/jgrocha/OWSLib/commit/1570a487ba22dac2929f067b4d22c136c261ffea</a><br>
</p>
<div class="moz-signature">-- <br>
<title>Email Signature</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<table style="width: 525px; font-size: 11pt; font-family: Arial,
sans-serif;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="text-align:center; font-size: 10pt; font-family:
Arial, sans-serif; border-right: 1px solid;
border-right-color: #fb6303; width: 125px; padding-right:
10px; vertical-align: top;" rowspan="6" width="125"
valign="top"> <a href="https://www.geomaster.pt"
target="_blank"><img alt="Logo" style="width:105px;
height:auto; border:0;"
src="https://geomaster.pt/wp-content/uploads/2017/02/cropped-geomaster300x300-1.png"
width="85" border="0"></a> </td>
<td style="padding-left:10px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-size: 10pt; color:#0079ac;
font-family: Arial, sans-serif; width: 400px;
padding-bottom: 5px; padding-left: 10px;
vertical-align: top;" valign="top"> <strong><span
style="font-size: 14pt; font-family: Arial,
sans-serif; color:#fb6303;">Geomaster</span></strong><br>
<strong><span style="font-size: 11pt; font-family:
Arial, sans-serif; color:black;">Jorge Gustavo
Rocha</span></strong> <span
style="font-family: Arial, sans-serif;
font-size:11pt; color:#000000;"><span
style="padding-right: 5px; padding-left: 5px;">
| </span>Software Engineer</span> </td>
</tr>
<tr>
<td style="font-size: 10pt; color:#444444;
font-family: Arial, sans-serif; padding-bottom:
5px; padding-top: 5px; padding-left: 10px;
vertical-align: top; line-height:17px;"
valign="top"> <span><span style="color: #fb6303;"><strong>e:</strong></span><span
style="font-size: 10pt; font-family: Arial,
sans-serif; color:#000000;"> <a class="moz-txt-link-abbreviated" href="mailto:jgr@geomaster.pt">jgr@geomaster.pt</a></span></span>
<span><span style="padding-left:
5px;padding-right: 5px;"> | </span><span
style="color: #fb6303;"><strong>m:</strong></span><span
style="font-size: 10pt; font-family: Arial,
sans-serif; color:#000000;"> +351 910 333 888<br>
</span></span> <span><span style="color:
#fb6303;"><strong>g:</strong></span><span
style="font-size: 10pt; font-family: Arial,
sans-serif; color:#000000;"> 41.54094,-8.40490</span></span>
<span><span style="padding-left:
7px;padding-right: 5px;"> | </span><span
style="color: #fb6303;"><strong>v: </strong></span><span
style="font-size: 10pt; font-family: Arial,
sans-serif; color:#000000; padding-left: 7px;">
510 906 109<br>
</span></span> <span> <span style="color:
#fb6303;"><strong>a: </strong></span> </span>
<span> <span style="font-size: 10pt; font-family:
Arial, sans-serif; color: #000000;"><span> </span>Rua
António Cândido Pinto, 67, 4715-400 Braga<br>
</span></span> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>