MapServer / MapServer-import

3 stars 2 forks source link

CLASS TITLE not applied #2009

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: russell@goisc.com Date: 2007/01/15 - 19:57

Using MS for Windows, CLASS TITLE is not applied to label items in the 
legend.  NAME is used even when TITLE is present.
tbonfort commented 12 years ago

Author: tomkralidis Date: 2008/04/09 - 23:43 FYI I don't see CLASS.TITLE as a documented directive of the CLASS object:

http://mapserver.gis.umn.edu/docs/reference/mapfile/class

...so this might be why it's not being used/displayed.

Is there any particular use case which would require both NAME and TITLE in the CLASS object?

tbonfort commented 12 years ago

Author: sdlime Date: 2008/04/09 - 23:49 TITLE isn't used anywhere as far as I know. At one point (still do in fact) I regreted not having the ability to refer to classes using a short name (like we have with layers) and I toyed with idea of using TITLE for legends and NAME for identification of a class. That never happened though, not completely, and it certainly isn't documented as working (Russell, how did you come to try this?).

I'd be tempted then to leave this bug, but mark it for a FUTURE milestone.

Steve

tbonfort commented 12 years ago

Author: sdlime Date: 2008/04/12 - 17:54 Moving to 5.4...

Steve