Multiple classitems in a mapfile

المشرف العام

Administrator
طاقم الإدارة
I would like to get a symbology using several columns. I have read that it was not possible to set up several fields within the CLASSITEM option in the mapfile. I have tried to do this in a different way but the layer is not displaying at all...

I'm using Mapserver 6.2.1. Here is a simplified extract of my mapfile's code :

CLASS NAME "Symbol 1" EXPRESSION (("[field1]"="01") && ("[field2]"="01")) STYLE SYMBOL circle COLOR 255 0 0 SIZE 10 ENDENDCLASS NAME "Symbol 2" EXPRESSION (("[field1]"="02") && ("[field2]"="02")) STYLE SYMBOL circle COLOR 0 255 0 SIZE 10 ENDEND

أكثر...
 
أعلى