[mapserver-users] Runtime variable Substitution Filter

2016-03-10 Thread milad nidal
Hi, I'm using Runtime variable Substitution (FILTER "nom in ( %municipalitylist% )") to chose one municipality from a list and it is going good. But how I can visualize all the municipalities in the layer? Is-it possible to ignore the filter? Thanks _

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-10 Thread Michael Smith
You can set a default value for your layer when no value is set. What I do is set it to something like 1=1 and then all values will display. http://mapserver.org/cgi/runsub.html#default-values-if-not-provided-in-the-url Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers > On M

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-10 Thread Richard Greenwood
Michael's suggestion is very good. Another method would be to define the later twice with two different names and no filter in one of the definitions. That would also allow you to style the layer differently which might be desirable. Rich On Thu, Mar 10, 2016 at 6:44 PM, Michael Smith wrote: >

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-11 Thread milad nidal
Could you please explain more about how to do it (the first time which I'm using this variable).. Do you mean that I use ‘default_nom’ ‘ aaa’ in the layer metadata (it does not work).. where I should put the default value? Thanks On Thu, Mar 10, 2016 at 11:06 PM, Richard Greenwood < richard.

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-11 Thread lars . schylberg
tum: 2016-03-11 14:31 Ämne: Re: [mapserver-users] Runtime variable Substitution Filter Could you please explain more about how to do it (the first time which I'm using this variable).. Do you mean that I use 'default_nom' ' aaa' in the layer metadata (it does not work).. wh

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-11 Thread milad nidal
> > /Lars S. > > -- > -Originalmeddelande- > Från: "milad nidal" > Till: "Richard Greenwood" , "MapserverList > OSGEO" > Datum: 2016-03-11 14:31 > Ämne: Re: [mapserver-users] Runtime variable Substitutio

Re: [mapserver-users] Runtime variable Substitution Filter

2016-03-11 Thread thomas bonfort
>> -- >> -Originalmeddelande- >> Från: "milad nidal" >> Till: "Richard Greenwood" , "MapserverList >> OSGEO" >> Datum: 2016-03-11 14:31 >> Ämne: Re: [mapserver-users] Runtime variable Substituti