Hi,<br>I notice also that the dcumentiation <br>say of element TEXT on the CLASS section but don't speak anything about the choice to put the TEXT element in the LABEL section.<br><br>Instead it is possible on the mapserver 6.2 and is necessary to have multiple labels on the same class.<br>
<br> CLASS<br> NAME 'class-name'<br> LABEL<br> TEXT '[field-1]' <br> ..<br> END<br> LABEL<br> TEXT '[field-2]'<br> ..<br> END<br> END<br><br>
<br>Regards,<br><br><div class="gmail_quote">2012/10/30 Havard Tveite <span dir="ltr"><<a href="mailto:havard.tveite@umb.no" target="_blank">havard.tveite@umb.no</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Steve,<br>
<br>
FYI, I have now documented the possibility for multiple labels<br>
in a class (updated the class document in master).<br>
<br>
Håvard<div class="im"><br>
<br>
On 10/30/2012 3:37 PM, Andrea Peri wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Steve,<br>
<br>
It work greatly.<br>
<br>
I was not understand that on a class can put more than one LABEL.<br>
<br>
Andrea.<br>
<br>
<br></div>
2012/10/30 Lime, Steve D (DNR) <<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a> <mailto:<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a><u></u>>><div class="im">
<br>
<br>
A feature can only match 1 class... 6.2 supports multiple labels per class though.<br>
<br>
Steve<br>
<br>
______________________________<u></u>__________<br></div>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.<u></u>osgeo.org</a> <mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-<u></u>bounces@lists.osgeo.org</a>> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@<u></u>lists.osgeo.org</a> <mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-<u></u>bounces@lists.osgeo.org</a>>] on behalf of Andrea Peri [<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a> <mailto:<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>>]<div class="im">
<br>
Sent: Tuesday, October 30, 2012 6:20 AM<br></div>
To: <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a> <mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.<u></u>osgeo.org</a>><div>
<div class="h5"><br>
Subject: [mapserver-users] More Labels on a layer<br>
<br>
Hi,<br>
I'm trying to have more distinct label on a single layer,.<br>
To do this I try to set<br>
<br>
a classgroup and three class in that group every class use a distinct label.<br>
<br>
LAYER<br>
...<br>
CLASSGROUP "aaa"<br>
..<br>
CLASS<br>
GROUP "aaa"<br>
LABEL<br>
..<br>
TEXT "[FIELD1]"<br>
..<br>
END<br>
END<br>
CLASS<br>
GROUP "aaa"<br>
LABEL<br>
..<br>
TEXT "[FIELD2]"<br>
..<br>
END<br>
END<br>
<br>
But seem that mapserver only apply the first class. I see only the FIELD1 label.<br>
<br>
Perhaps mapserver allow only a label for layer ?<br>
<br>
Thx,<br>
<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
<br>
<br>
<br>
<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Håvard Tveite<br>
Department of Mathematical Sciences and Technology, UMB<br>
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY<br>
Phone: <a href="tel:%2B47%2064965483" value="+4764965483" target="_blank">+47 64965483</a> Fax: <a href="tel:%2B47%2064965401" value="+4764965401" target="_blank">+47 64965401</a> <a href="http://www.umb.no/imt/" target="_blank">http://www.umb.no/imt/</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>