Expressions {Scanned}

Siki Zoltan siki at AGT.BME.HU
Fri Jan 12 18:33:43 EST 2007


Hi Eduardo,

I suppose you want to create a logical expression on a column of the layer 
data table. Try
EXPRESSION ([COLUMN_NAME] < 0.4)
See http://mapserver.gis.umn.edu/docs/howto/msexpressions

Zoltan

On Fri, 12 Jan 2007, Eduardo Zenaide wrote:

> 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
> 
> 
> 
> 
> 



More information about the mapserver-users mailing list