[Mapserver-users] querybyattributes logical expression
Eric Bridger
eric at gomoos.org
Wed May 26 04:03:46 PDT 2004
At 11:11 PM 05/25/2004 -0700, AARON KONING wrote:
>Hi List,
>
>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';
> $map->querybyattributes($queryitem,$queryString,MS_MULTIPLE);
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
mailing list