<div dir="ltr">Below I have listed a sample layer section which does a WMS call to a local geoserver and this work fine, but what I would like to now do is be able to add to this WMS request a filter parameter (e.g. &amp;filter=fieldname=fieldvalue) which geoserver can accept.&nbsp; <br>
How can I add adhoc requests like the filter example listed above to the end of the WMS request when mapserver is making a WMS request?<br><br>Thanks,<br><br>John<br><br><br>LAYER<br>&nbsp; # name of layer<br>&nbsp; NAME &quot;vector:sangis_unexploded_ordnance_child&quot;<br>
&nbsp; GROUP &quot;SanGIS_parent&quot;<br><br>&nbsp; # what type of data is this?<br>&nbsp; TYPE RASTER<br><br>&nbsp; # always returned with interface<br>&nbsp; STATUS ON<br>&nbsp; <br>&nbsp; TRANSPARENCY 100<br>&nbsp; <br>&nbsp; CONNECTION &quot;<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>&quot;<br>
&nbsp; CONNECTIONTYPE WMS<br>&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &quot;wms_srs&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;EPSG:4326&quot;<br>&nbsp;&nbsp;&nbsp; &quot;wms_name&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;vector:sangis_unexploded_ordnance&quot;<br>&nbsp;&nbsp;&nbsp; &quot;wms_server_version&quot;&nbsp; &quot;1.1.1&quot;<br>
&nbsp;&nbsp;&nbsp; &quot;wms_format&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;image/png&quot;<br>&nbsp;&nbsp;&nbsp; &quot;wms_style&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;sangis_unexploded_ordnance_style&quot;<br>&nbsp; END<br>&nbsp;END<br><br clear="all"><br>-- <br>John J. Mitchell<br>
</div>