[mapserver-users] More Labels on a layer

Andrea Peri aperi2007 at gmail.com
Tue Oct 30 04:20:03 PDT 2012


Hi,
I'm trying to have more distinct label on a single layer,.
To do this I try to set

a classgroup and three class in that group every class use a distinct label.

LAYER
...
 CLASSGROUP "aaa"
..
CLASS
 GROUP "aaa"
 LABEL
  ..
  TEXT "[FIELD1]"
  ..
 END
END
CLASS
 GROUP "aaa"
 LABEL
  ..
  TEXT "[FIELD2]"
  ..
 END
END

But seem that mapserver only apply the first class. I see only the FIELD1
label.

Perhaps mapserver allow only a label for layer ?

Thx,


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121030/0e6326e1/attachment.htm>


More information about the MapServer-users mailing list