Expressions

Eduardo Zenaide ezenaide at GMAIL.COM
Fri Jan 12 12:33:44 EST 2007


there's a way to apply a query to all features without name all?
for example:

 (* <= 0.4)

i've tried this and returns:

 msQueryByAttributes(): Search returned no results. No matching record(s)
found.

even if there is a match record.


thanks!

2007/1/5, Eduardo Zenaide <ezenaide at gmail.com>:
>
> thanks, Steve!
>
> 2007/1/5, Steve Lime <Steve.Lime at dnr.state.mn.us>:
> >
> > Try ([IDH_2000] <= 0.4)
> >
> > Steve
> >
> > >>> Eduardo Zenaide <ezenaide at GMAIL.COM> 1/5/2007 11:50:07 AM >>>
> > hi, all,
> >
> > i'm trying to understand how expressions work here.
> > i have one layer with IDH_2000 class wich has lots of numerical
> > values.
> > i try using ("[IDH_2000]" <= /0.4/) and it returns the error:
> >
> > msQueryByAttributes(): Search returned no results. No matching
> > record(s)
> > found.
> > msEvalExpression: Expression parser error. Failed to parse expression
> > msyyparse(): Expression parser error. syntax error
> >
> > i think i'm using the wrong syntax, but i've read
> >  http://mapserver.gis.umn.edu/docs/howto/msexpressions
> > and couldn't get it.
> >
> > if i do the same but using =~ works :P
> > so, any clues?
> >
> > thanks!
> >
> > --
> > Eduardo Zenaide
> >
>
>
>
> --
> Eduardo Zenaide




-- 
Eduardo Zenaide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070112/2e63af68/attachment.html


More information about the mapserver-users mailing list