Maybe you forget to add this statement:<br><br>TYPE POLYGON<br>LABELITEM "NM_DESA" #field label to display<br> METADATA<br> "DESCRIPTION" "Tanah"<br> END <br><br>Hope helps<br>
<br>-- <br>Regards,<br><br>Henda Satya<br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>AVOID Jakarta traffic - join <a href="http://www.bebasmacet.com" target="_top" rel="nofollow">http://www.bebasmacet.com</a> and follow <a href="http://twitter.com/bebasmacet" target="_top" rel="nofollow">http://twitter.com/bebasmacet</a><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br><br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 11:22 PM, MeLv1n wAuRaN (via Nabble) <span dir="ltr"><<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2671094&i=0" target="_top" rel="nofollow">ml-user%2B174339-1550548835@...</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi all,<br><br>i have a problem that needs to be solved soon. I included a label in a layer but the label does not appear in my browser. In the .dbf file, the informations i want to display as the labels are in the 5th column with the name "NM_DESA"<br>
<br>i use openlayers 2.7 to run my mapserver mapfile. Can anyone help me? thx<br><br>here's my detail:<br><br>LAYER<br> NAME "Tanah"<br> DATA "Desa"<br> STATUS ON<br> TYPE POLYGON<br> METADATA<br>
"DESCRIPTION" "Tanah"<br> END <br> CLASS<br> LABEL<br> FONT "sans"<br> TYPE
TRUETYPE<br> SIZE 8<br> BUFFER 1<br> COLOR 0 0 0<br> FORCE TRUE<br> END<br> COLOR 225 200 100<br> OUTLINECOLOR 0 0 0<br> END<br> END<br><br><div><br>Cheers,<br>Melvin<br>
</div></td></tr></tbody></table><br>
<br>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2671032&i=0" rel="nofollow" target="_blank">mapserver-users@...</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br><br clear="all"><br><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/problem-with-my-%22label%22-tp2671032p2671094.html">Re: [mapserver-users] problem with my "label"</a><br>
Sent from the <a href="http://n2.nabble.com/Mapserver---User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>