Ticket #1889 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

[WMS SLD] use Title of Rule if Name not present

Reported by: bartvde@… Owned by: mapserverbugs
Priority: high Milestone:
Component: WMS Server Version: 4.8
Severity: normal Keywords:
Cc:

Description

An SLD Rule can have a Name and/or Title.

Mapserver currently only maps the Name to the NAME of the CLASS.

If an SLD only has a Title and not a Name, it should map the Title to the NAME
of the CLASS.

For instance the ArcMap2SLD tool only outputs a Title and no Name. In that case
legends in Mapserver WMS become problematic.

Change History

Changed 7 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed
Fixed in CVS : class name is set using  rule name if available, if not title, if
not set to unkown.
Note: See TracTickets for help on using tickets.