Opened 23 years ago

Last modified 13 years ago

#60 closed enhancement

Label formatting — at Version 5

Reported by: assefa Owned by: assefa
Priority: high Milestone: FUTURE
Component: MapServer C Library Version: 4.1
Severity: minor Keywords:
Cc: stephan.holl@…, jmckenna, dmorissette, sdlime

Description (last modified by dmorissette)

There was a request from a client to be able to format the output of his labels 
:
 For example the dbf file contains something like 1000.000 and he would like to 
display this value like an integer (1000).

 I should discuss this with Steve before going ahead. AY

Change History (5)

comment:1 by dmorissette, 21 years ago

Cc: steve.lime@… added
Version: 3.54.1
Maybe in 4.1?

comment:2 by assefa, 16 years ago

Milestone: FUTURE

comment:3 by sholl, 14 years ago

Cc: stephan.holl@… added

Since this ticket is quite old I am also interested in this feature and willing to test patches if available. In discussion with Steve he told me that this issue will be adressed in 6.0.

comment:4 by jmckenna, 14 years ago

Cc: jmckenna added

comment:5 by dmorissette, 14 years ago

Cc: dmorissette sdlime added
Description: modified (diff)

If we want this to happen we should talk about the way to specify the format string.

Adding Steve to CC to get his input. There is some basic format support in maptemplate.c for query result field values, but it seems quite limited. I wonder if we could use the same or if we would be better use a print-like format string.

Note: See TracTickets for help on using tickets.