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