[Mapserver-users] querybyattributes logical expression
eric at gomoos.org
Wed May 26 07:03:46 EDT 2004
At 11:11 PM 05/25/2004 -0700, AARON KONING wrote:
>Just wondering if anyone has had success using
>querybyattributes with the '>', '<', '>=', '<=' operators? I have been using the 'NOT', 'AND', 'OR',
>and '=' operators with success.
>The following statement fails:
> $queryString = "('[AREA]' > '10')"
> $queryItem = 'AREA';
I haven't used querybyattributes() but have use comparison operators in CLASS EXPRESSION's.
I would try:
"([AREA] > 10)" i.e. these are number values not strings.
More information about the mapserver-users