dynamic layer filter, again

Adam Hill adam.hill at GMAIL.COM
Wed Nov 16 15:22:57 EST 2005


So my next queston is if I am requesting "LAYERS=layer1,layer2,layer3"
will "&layer1_filter=expr1&layer2_filter=expr2&layer3_filter=expr3"
work?

adam...

On 11/16/05, Stephen Davies <sdc at sdc.com.au> wrote:
> I just today succeeded in getting layer filter changes via URL to work by
> following the ideas in the CGI Reference. ie
> ...&map_layername_filter=sql_expression...
>
> HTH,
> Stephen
>
> On Tue, 15 Nov 2005 16:52:04 -0300, Mauricio Stange H. <mstangeh at GMAIL.COM>
> wrote:
>
> >Hi, me again,
> >    please, does somebody know, how to do this. I already have posted
> >the question.
> >    Since then I tried with every time recreating a mapfile, (reading
> >from a map file without the filter and inserting it in the new file),
> >but I have problems with it, sometimes I select another filter and the
> >map does't change unless I use a map control.
> >    I tried with mapscript too: got the map, got the layer, and have set
> >the filter property, but how update the modified layer into the map???
> >
> >Please, if somebody have an idea....
> >
> >Thanks,
> >    Mauricio Stange H.
>



More information about the mapserver-users mailing list