[Mapserver-users] Logical expressions in CLASS EXPRESSION

Jaime Mejía jaime at maintask.com
Mon Jul 26 10:48:28 PDT 2004


Try

 #CLASSITEM   "Riq50"
 CLASS
    EXPRESSION   ([Riq50]>1)
    COLOR         255 0 0
    OUTLINECOLOR  0 0 0
 END

Saludos,

Jaime Mejía.


Tyler Mitchell wrote:

>> CLASSITEM   "Riq50"
>> CLASS
>>    EXPRESSION   ([Riq50]>1)
>>    COLOR         255 0 0
>>    OUTLINECOLOR  0 0 0
>> END
>>
>>This expression works:  EXPRESSION   '1'
>>This one doesn't:           EXPRESSION   ([Riq50]>1)
>>    
>>
>
>I feel your pain, not a simple one to nail down some times.  Try changing your 
>field names to upper case in CLASSITEM and EXPRESSION.
>
>Tyler
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
>  
>





More information about the MapServer-users mailing list