[mapserver-users] Expressions

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Oct 5 10:08:21 PDT 2010


You can use regular expressions instead. E.g.

Classitem 'name'
Class
  Expression /xyz/
End

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ibrahim Saricicek [ibrahimsaricicek at gmail.com]
Sent: Tuesday, October 05, 2010 8:08 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Expressions

Hi List;

instead of an sql ,in the connection string including 'LIKE';
(select id, name,the_geom from public.mytable where name like '%xyz%')
I would like to use an expression.
But documents say "The following logical operators are supported:
=,>,<,<=,>=,=,or,and,lt,gt,ge,le,eq,ne"

How can I use something like this?
 CLASS
    EXPRESSION ([name]  like '%xyz%')

Thanks in Advance...
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Expressions-tp5603053p5603053.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list