Tom,

If you set the name parameter inside the rule, It will be used to set the class name on the layer. The class name is the one that is used as text in the legend. (Bug 1451 is realted to this).

 Later,


Kralidis,Tom [Burlington] wrote:
Hi, Does MapServer's OGC:WMS GetLegendGraphic support changing of legend text in addition to the actual graphic mark? We're able to do the latter via SLD, but we can't seem to change the legend text. We're using latest CVS. Test URL: http://devgeo.cciw.ca/cgi-bin/mapserv/hydromet?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=hydromet_latest_water_levels&format=image/jpeg&sld=http://devgeo.cciw.ca/ms_tmp/kyw_sld.xml Under the hood, the data from the OGC:WMS is a point layer, with the following CLASS block: CLASS
   NAME "Water Levels"
   SYMBOL 'circle'
   SIZE 3
   COLOR 0 0 255
  END
...so I'm not sure whether something has to be enabled from the server end to enable the SLD to specify titles, or if the SLD is off. Please advise. Thanks ..Tom


--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: [EMAIL PROTECTED]
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

Reply via email to