[mapserver-users] adhoc requests to the end of the WMS request within mapserver map file

John Mitchell mitchelljj98 at gmail.com
Mon Aug 18 16:10:31 PDT 2008


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.
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?

Thanks,

John


LAYER
  # name of layer
  NAME "vector:sangis_unexploded_ordnance_child"
  GROUP "SanGIS_parent"

  # what type of data is this?
  TYPE RASTER

  # always returned with interface
  STATUS ON

  TRANSPARENCY 100

  CONNECTION "http://localhost:8080/geoserver/wms"
  CONNECTIONTYPE WMS
  METADATA
    "wms_srs"             "EPSG:4326"
    "wms_name"            "vector:sangis_unexploded_ordnance"
    "wms_server_version"  "1.1.1"
    "wms_format"          "image/png"
    "wms_style"           "sangis_unexploded_ordnance_style"
  END
 END


-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080818/17ede470/attachment.htm>


More information about the MapServer-users mailing list