Add LABELITEM "NM_DESA" to your layer definition. Steve
>>> On 4/21/2009 at 11:15 AM, in message <[email protected]>, MeLv1n wAuRaN <[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 [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
