Opened 20 years ago

Last modified 17 years ago

#642 new enhancement

LABELSIZEITEM to allow aritmetical expressions

Reported by: bugzilla@… Owned by: sdlime
Priority: high Milestone: FUTURE
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc:

Description

I found it will be very useful if i could use something like: 
 
LABELSIZEITEM [MOD] * 4 
 
or 
 
LABELSIZEITEM [MOD] + 10 
 
in order to draw labels (arrows in my map) from attributes not in pixels.

Change History (3)

comment:1 by sdlime, 20 years ago

op_sys: LinuxAll
Version: 4.0unspecified
It's gonna be awhile on something like this. My approach would be to allow for
general expression handling for most if not all parameters rather than piece
meal. Will leave as a reminder...

Steve

comment:2 by bugzilla@…, 17 years ago

Hello,

how about this suggestion?

I would like to use

RANGEITEM "90 - [pixel]"

Are there plans to allow expressions handling in all *ITEM labels?

comment:3 by sdlime, 17 years ago

Milestone: FUTURE
RFC 19 paves the way for this but the initial implementation will not allow for 
expressions. I can't see anything being done with this (without funding) before 
5.0, it's just not hight enough on anyone's priority list.

Steve
Note: See TracTickets for help on using tickets.