[mapserver-users] Thematic Legend, Name / Label?

Hankley, Chip Chip.Hankley at GASAI.Com
Wed Jun 20 12:49:08 EDT 2001


I received one response from Rob Ellis (thanks!), he suggested the
following:

I have bee able to specify classes within layers that can be used to
produce 'grouping' labels. They look something like this:

    CLASSITEM Vm_stat_id
	CLASS
	expression ""
	name "Remnant Of Concern REs"
	end

    CLASSITEM Vm_stat_id
      CLASS
        EXPRESSION '3'
	NAME "   Dominant"
        COLOR 255 191 0
	OUTLINECOLOR 0 0 0
     END  # CLASS

This worked reasonably well, although on my system / application (NT, PWS,
MapServer 3.4, PHP MapScript), the legend came out like this:

    Remnant Of Concern REs
  O Dominant

I was hoping to generate something like this (where the grouping label is
indented):

Remnant Of Concern REs
  O Dominant

Cheers!

Chip



More information about the mapserver-users mailing list