no legendgraphic for class with (colored) TEXT as a symbol

Huub Fleuren hfl at HOME.NL
Fri Jan 6 03:59:05 PST 2006


Bart,

thanks, the following is the correct way to do it

adding a symbol

SYMBOL
  NAME B
  TYPE TRUETYPE
  FONT arial_bold
  FILLED true
  ANTIALIAS true
  CHARACTER 'B'
END

and changing

  CLASS
    EXPRESSION ([PROJECTSOORT] = 200)
    NAME "Bouwlocatie"
    STYLE
        SYMBOL 'B'
        COLOR 255 100 0
        SIZE 14
    END
  END

Regards, Huub (geodan)


>>
>> CLASS
>>   TEXT "B"
>>   EXPRESSION ([PROJECTSOORT] = 200)
>>   NAME "Bouwlocatie"
>>   LABEL
>>     SIZE 14
>>     POSITION CC
>>     COLOR 255 100 0
>>     TYPE TRUETYPE
>>     FONT arial_bold
>>     ANTIALIAS false
>>     BUFFER 0
>>     FORCE true
>>   END
>> END
>
>



More information about the MapServer-users mailing list