Display point with multiple attributes
Taka Wong
taka_www at SINAMAN.COM
Thu Nov 8 23:37:22 PST 2007
Dear All
I have a question about the attribute display on each pt. It may be a little bit
complicated.
Now, there are 3 men,
man 1 : red blue
man 2 : red
man 3 : blue
According to my layer definition:
LAYER
NAME MAN
TYPE POINT
....
CLASS
....
EXPRESSION ('[LAYER1]' = 'R,B')
SYMBOL 'symbols/label1.gif'
....
END
CLASS
....
EXPRESSION ('[LAYER1]' = 'R')
SYMBOL 'symbols/label2.gif'
....
END
CLASS
....
EXPRESSION ('[LAYER1]' = 'B')
SYMBOL 'symbols/label3.gif'
....
END
....
END
If I search for men carrying red ball, it results
Man 1's symbol is label1.gif
Man 2's symbol is label2.gif
However, I suppose that if I only search for red ball, all points' symbol would
be label2.gif
i.e. Man 1's symbol is label2.gif
Man 2's symbol is label2.gif
Similarly, if I search for men carrying blue ball, it is supposed to results
Man 1's symbol is label3.gif
Man 3's symbol is label3.gif
And, if I search for men carrying blue ball or red, it is supposed to results
Man 1's symbol is label1.gif
Man 2's symbol is label2.gif
Man 3's symbol is label3.gif
are there any person has experiensed such case before?
Please advice me. Thanks a lot.
Regards
Taka Wong
More information about the MapServer-users
mailing list