Won't work. Bobb is trying to use feature-level properties at the 
legend/layer-level. Can't be done... Steve

________________________________________
From: mapserver-users [[email protected]] on behalf of 
[email protected] [[email protected]]
Sent: Wednesday, March 30, 2016 10:32 AM
To: Basques, Bob (CI-StPaul)
Cc: [email protected]; mapserver-users
Subject: [mapserver-users] RE  Mapfile, EXPRESSION for CLASS >> NAME

Perhaps you can use CLASS TITLE instead of NAME



"Basques, Bob (CI-StPaul)" <[email protected]>@lists.osgeo.org
Envoyé par : "mapserver-users" <[email protected]>

2016-03-25 16:44


A
        "[email protected]" <[email protected]>
cc

Objet
        [mapserver-users] Mapfile, EXPRESSION for CLASS >> NAME









All,

I think I’m trying to be too clever . . .

I have this MAPFILE chunk:

CLASS
COLOR 0 255 0
OUTLINECOLOR 0 0 0
      SIZE 10
      SYMBOL 'circle'
NAME '[FOLDERTYPE]'
TEXT '[FOLDERTYPE]'
      LABEL
        FORCE TRUE
        COLOR 255 255 0
        OUTLINECOLOR 0 0 0
        POSITION ur
TYPE TRUETYPE
FONT 'arial-bold'
SIZE 11
      END
    END


and I’m trying to use an Expression for the Label in the Legend graphic.  The 
FOLDERTYPE and is the two later code for map labels, while the FOLDERDESC is 
the long pretty name for the Legend.



Question, is it possible??  Ideas??  Before you say a separate class for each 
one, there are 120 FOLDERTYPEs in all, that would be a big, and hard to 
maintain Mapfile.

thanks

bobb



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to