<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi there,</p>
<p><br>
</p>
<p>I'm new to mapserver. </p>
<p><br>
</p>
<p>I need to develop a custom function to add a dynamic watermark using a wms layer.</p>
<p><br>
</p>
<p>The process is simple : I have a polygon layer with a "providerName" field. This layer will be used as an overlay on top of other layers.</p>
<p><br>
</p>
<p>I need to get the features returned byt the spatial query, get all the provider names for the current bbox by using the features collection, add a point to the layer (ex: bottom center) with the names of the providers as a label. This has to be done on each
 pan and zoom.</p>
<p><br>
</p>
<p><span style="font-size: 12pt;">I think it's quite simple so how would I get the list of features returned by the spatial query ? How do I add the point and the label ?</span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">I'm thinking to use python. Where
 do I put the code ? How do I link it to the mapfile ?</span><br>
</span></p>
<p><br>
</p>
<p>I'll continue reading in the meantime.</p>
<p><br>
</p>
<p>Thanks</p>
<p><br>
</p>
<div id="Signature">
<p>Envoyé à partir d’<a href="http://aka.ms/weboutlook" id="LPNoLP">Outlook</a><br>
</p>
</div>
</div>
</body>
</html>