Display point with multiple attributes

=?BIG5?Q?Taka_Wong?= taka_www at SINAMAN.COM
Fri Nov 9 02:37:22 EST 2007


Dear All

I have a question about the attribute display on each pt. It may be a lit=
tle bit=20
complicated.

Now, there are 3 men,=20
man 1 : red blue=20
man 2 : red
man 3 : blue

According to my layer definition:

LAYER
  NAME MAN
  TYPE POINT
   ....
  CLASS
    ....
    EXPRESSION ('[LAYER1]' =3D 'R,B')
    SYMBOL 'symbols/label1.gif'
    ....
  END
  CLASS
    ....
    EXPRESSION ('[LAYER1]' =3D 'R')
    SYMBOL 'symbols/label2.gif'
    ....
  END
  CLASS
    ....
    EXPRESSION ('[LAYER1]' =3D 'B')
    SYMBOL 'symbols/label3.gif'
    ....
  END
  ....
END

If I search for men carrying red ball, it results=20
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=20
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 resu=
lts=20
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 res=
ults=20
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