[Mapserver-users] querybyattributes logical expression
Eric Bridger
eric@gomoos.org
Wed, 26 May 2004 07:03:46 -0400
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.
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users