[Mapserver-users] querybyattributes logical expression
AARON KONING
aaronkoning at shaw.ca
Tue May 25 23:11:49 PDT 2004
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);
----
<br />
<b>Warning</b>: [MapServer Error]: msQueryByAttributes(): No matching record(s) foun
d.
in <b>/var/www/html/igf/code/ri_php/riUMinnMapserverMap_class.php</b> on line <b>103
5</b><br />
<br />
<b>Warning</b>: [MapServer Error]: msyyparse(): parse error
in <b>/var/www/html/igf/code/ri_php/riUMinnMapserverMap_class.php</b> on line <b>103
5</b><br />
---
I am using PHP, mapserver-4.0.2, and shapefiles.
thanks,
Aaron
More information about the MapServer-users
mailing list