Opened 10 years ago

Last modified 10 years ago

#2379 closed defect

GETMAPLEGENDIMAGE does not handle ShowInLegend style setting and multi-style scale ranges properly — at Version 1

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.

Change History (6)

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

Note: See TracTickets for help on using tickets.