expression in mapserver

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue May 1 10:06:51 EDT 2007


Yewondwossen Assefa wrote:
> Hi There,
> 
> Using mapserver for svn, I am running into a problem where class 
> expressions seems to not validate : I have an expression which looks 
> like this :
> 
> Layer
>  Class
>     EXPRESSION ("[Capital]" = "1")
>   ...
> 
>  The evaluation of the expression in msEvalExpression return always false.
>  This expression is valid with a build of Mapserver done early last week.
> 
>  Did some one have a similar issue ?
> 
> Thanks
> 
>  PS : I am running on windows
> 

Assefa,

This is probably not you problem, but when I look at the expression 
above the following alarms sound for me:

1) Capital vs CAPITAL
2) =  vs ==
3) Do you need the quotes about "[Capital]"? I thought not.

-Steve W



More information about the mapserver-dev mailing list