Independently of MapServer, I don't think the WMS spec supports a FILTER=... param the way WFS does. However you can use filters inside SLD rules, and MapServer does support SLDs, so I suggest that you check in that direction.
Daniel Julien Cigar wrote: > Hello, > > I wondered if I can use OGC filters with WMS ? It works well with WFS, > but nothing is indicated in the documentation for WMS, and I tried to > add > "&Filter=<Filter><PropertyIsEqualTo><PropertyName>info</PropertyName><Literal>test10</Literal></PropertyIsEqualTo></Filter>" > to my WMS request but it doesn't work :( > > In case it isn't supported, what's the "Mapserver-way" to do it ? Should > I use a FILTER in my LAYER section ? > > My final goal is to add layers dynamically in OpenLayers based on an OGC > filter .. > > Thanks, > Julien > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Daniel Morissette http://www.mapgears.com/ _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
