[mapserver-users] problem with my "label"

Hendra Satya hendra.satya at gmail.com
Tue Apr 21 12:31:05 EDT 2009


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) <
ml-user+174339-1550548835 at n2.nabble.com<ml-user%2B174339-1550548835 at n2.nabble.com>
> 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-users at ...<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
> ml-node+1969211-1631322126 at n2.nabble.com<ml-node%2B1969211-1631322126 at n2.nabble.com>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090421/8f2283d8/attachment.html


More information about the mapserver-users mailing list