[Chameleon] FILTER on a WMS layer
Paul Spencer
pspencer at dmsolutions.ca
Wed Apr 20 17:46:24 EDT 2005
Hi Rod,
WMS layers do not support any sort of styling or filtering (by default).
To accomplish this, you can possibly use SLD (Styled Layer Descriptors).
If the remote WMS server supports SLD, then you can create an SLD
document that includes an appropriate filter. How to do this would be
best discussed on the mapserver mailing list as there are many more
folks there who would understand this and be able to help
Cheers
Paul
Suddaby, Rod wrote:
> Hi All:
>
> Is it possible to set a filter on a WMS layer? For example, I have the map
> file used to initialize chameleon:
>
> ...
> LAYER
> NAME FireWeather
> CONNECTIONTYPE WMS
> ...
> END
> ...
>
> and within the initializing .phtml file I do something like:
>
> ...
> $oLayer = getLayerByName("FireWeather");
> $oLayer->setFilter("filter_string");
> $oApp->CWCExecute();
>
> This does not do any filtering and I'm starting to suspect that this is not
> possible with WMS layers. Any thoughts?
>
> Thanks,
> Rod.
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list