Maybe you forget to add this statement:

TYPE POLYGON
LABELITEM "NM_DESA"        #field label to display
    METADATA
      "DESCRIPTION"    "Tanah"
    END

Hope helps

-- 
Regards,

Henda Satya

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AVOID Jakarta traffic - join http://www.bebasmacet.com and follow
http://twitter.com/bebasmacet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Tue, Apr 21, 2009 at 11:22 PM, MeLv1n wAuRaN (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

> Hi all,
>
> 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"
>
> i use openlayers 2.7 to run my mapserver mapfile. Can anyone help me? thx
>
> here's my detail:
>
> LAYER
>     NAME "Tanah"
>     DATA "Desa"
>     STATUS ON
>     TYPE POLYGON
>     METADATA
>       "DESCRIPTION"    "Tanah"
>     END
>     CLASS
>       LABEL
>         FONT "sans"
>           TYPE TRUETYPE
>           SIZE 8
>           BUFFER 1
>           COLOR 0 0 0
>           FORCE TRUE
>         END
>       COLOR 225 200 100
>       OUTLINECOLOR 0 0 0
>     END
>   END
>
>
> Cheers,
> Melvin
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2671032&i=0>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/problem-with-my-%22label%22-tp2671032p2671032.html
> To start a new topic under Mapserver - User, email
> [email protected]<ml-node%[email protected]>
> To unsubscribe from Mapserver - User, click here< (link removed) >.
>
>
>

-- 
View this message in context: 
http://n2.nabble.com/problem-with-my-%22label%22-tp2671032p2671094.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to