[mapserver-users] php mapscript loadQuery problem

Daniel Morissette dmorissette at mapgears.com
Tue Feb 9 12:00:49 PST 2010


Moen, Paul T. wrote:
> 
> The right items are high lighted now but I get many of the following errors when I dumping the error stack.
> 
>  Error in msEvalExpression(): Cannot evaluate expression, no item index defined.
> 
> This only seems to happen when there are many classes in the layer.  Are these errors expected?
> 

This would happen if you have classes with string constants (EXPRESSION 
"...") or regular expressions (EXPRESSION /.../), but you did not 
specify an ITEM in the layer definition (so MapServer has no attribute 
value to use in matching the expression).

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list