expression in mapserver
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Tue May 1 10:21:06 EDT 2007
Stephen Woodbridge wrote:
> 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
>
Steve,
I tried it with different combination (Capital vs CAPITAL, = vs eq,
quotes and no quotes). The thing is that this same map file with the
expression works with a MapServer build from last week but not that one
I grabbed from svn yesterday. It might just be my build which is not
correct but wanted to know if others have the same issues (at least on
Windows).
Thanks.
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the mapserver-dev
mailing list