Opened 13 years ago

Last modified 13 years ago

#4012 assigned defect

Label using TEXT shows field name instead of field contents

Reported by: saharlan Owned by: sdlime
Priority: normal Milestone: 6.0.1 release
Component: MapServer C Library Version: 6.0
Severity: normal Keywords: label text
Cc:

Description

I am labeling a simple line using the TEXT directive in a CLASS element. The field used to label is called NAME and I am adding a text prefix to the label. The line "TEXT 'Bus [NAME]'" labels the line correctly. However, if I change the word 'Bus' to the word 'Loop', the map label does not display the contents of the field NAME. Instead, it displays the name of the field.

Attachments (1)

msbugrep.zip (124.9 KB ) - added by saharlan 13 years ago.
Zipped files to reproduce bug. Use SHP2IMG with example line in 'map' file.

Download all attachments as: .zip

Change History (3)

by saharlan, 13 years ago

Attachment: msbugrep.zip added

Zipped files to reproduce bug. Use SHP2IMG with example line in 'map' file.

comment:1 by saharlan, 13 years ago

Command used to produce bug: shp2img.exe -m test.map -o test.png -s 400 400 -e -92.69 37.64 -92.63 37.67

comment:2 by sdlime, 13 years ago

Status: newassigned
Note: See TracTickets for help on using tickets.