[mapserver-users] Need help with Expression

Havard Tveite havard.tveite at umb.no
Fri Sep 30 10:30:05 EDT 2011


Have you seen:

http://www.mapserver.org/mapfile/expressions.html

Feedback on the contents of that page would be appreciated.

Håvard

On 9/30/2011 3:51 PM, Bistrais, Bob wrote:
> I’m trying to create an Expression to select features in a Class, MapServer 6.0.1.  I want to do something such as a wildcard or a Like statement, to select records with certain item values.  Something similar to this:
>
> EXPRESSION (‘[RDNAME]’ = ‘Main%’ )
>
> Or perhaps
>
> EXPRESSION (‘[RDNAME]’ like ‘Main%’)
>
> -neither of these formats worked for me. I checked the MS documentation under Expression, but could not find the solution. Can anyone shed some light on this?
>

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/


More information about the mapserver-users mailing list