[Mapserver-dev] single CLASS layers giving back layer title on GetLegendGraphic output

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Thu Oct 21 16:21:15 EDT 2004


Hi,

I have one CLASS object for a layer in my mapfile:

  CLASS
   NAME "Watershed Polygons, Ontario"
   SYMBOL 0
   COLOR -1 -1 -1
   OUTLINECOLOR 0 0 200
  END

Using CVS, this is what I get back if I request GetLegendGraphic:

http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?service=WMS&version=1.1.1&re
quest=GetLegendGraphic&layer=hydroshedg&format=image/png

I thought the "multiple CLASS" GetLegendGraphic bug took care of this,
i.e. if one CLASS, then don't print title, if multiple CLASSES, prints
CLASS NAME as text.

Cheers

..Tom




More information about the mapserver-dev mailing list