Opened 10 years ago

Closed 10 years ago

#2379 closed defect (fixed)

GETMAPLEGENDIMAGE does not handle ShowInLegend style setting and multi-style scale ranges properly

Reported by: jng Owned by: jng
Priority: low Milestone:
Component: Mapping Service Version: 2.5.0
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

If you have a layer that has all style types and some of them have ShowInLegend = false, that setting is disregarded by the GETMAPLEGENDIMAGE operation.

In addition, a layer with multiple geom styles will not render properly because the code currently always gets the first geom style regardless.

Attachments (5)

2379.patch (6.2 KB ) - added by jng 10 years ago.
Patch to fix issue
2379_v2.patch (6.2 KB ) - added by jng 10 years ago.
2379_v3.patch (6.7 KB ) - added by jng 10 years ago.
2379_v4.patch (6.8 KB ) - added by jng 10 years ago.
2379_v5.patch (97.0 KB ) - added by jng 10 years ago.
Latest patch with unit tests

Download all attachments as: .zip

Change History (7)

comment:1 by jng, 10 years ago

Description: modified (diff)
Summary: GETMAPLEGENDIMAGE disregards ShowInLegend style settingGETMAPLEGENDIMAGE does not handle ShowInLegend style setting and multi-style scale ranges properly

by jng, 10 years ago

Attachment: 2379.patch added

Patch to fix issue

by jng, 10 years ago

Attachment: 2379_v2.patch added

by jng, 10 years ago

Attachment: 2379_v3.patch added

by jng, 10 years ago

Attachment: 2379_v4.patch added

by jng, 10 years ago

Attachment: 2379_v5.patch added

Latest patch with unit tests

comment:2 by jng, 10 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r7913) and 2.5 (r7912)

Note: See TracTickets for help on using tickets.