<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. &filter=fieldname=fieldvalue) which geoserver can accept. <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> # name of layer<br> NAME "vector:sangis_unexploded_ordnance_child"<br>
GROUP "SanGIS_parent"<br><br> # what type of data is this?<br> TYPE RASTER<br><br> # always returned with interface<br> STATUS ON<br> <br> TRANSPARENCY 100<br> <br> CONNECTION "<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>"<br>
CONNECTIONTYPE WMS<br> METADATA<br> "wms_srs" "EPSG:4326"<br> "wms_name" "vector:sangis_unexploded_ordnance"<br> "wms_server_version" "1.1.1"<br>
"wms_format" "image/png"<br> "wms_style" "sangis_unexploded_ordnance_style"<br> END<br> END<br><br clear="all"><br>-- <br>John J. Mitchell<br>
</div>