[Geoserver-devel] [jira] (GEOS-6513) Improve GetLegendGraphics treatment of multiple feature type styles and transformation functions

Andrea Aime created an issue

GeoServer / ImprovementGEOS-6513

Improve GetLegendGraphics treatment of multiple feature type styles and transformation functions

Issue Type:

ImprovementImprovement

Assignee:

Andrea Aime

Components:

WMS

Created:

01/Jun/14 1:50 AM

Priority:

MajorMajor

Reporter:

Andrea Aime

Both the above make for a ugly or incomplete legend.
Without making the painting code in GLG more complex, the style can be simply transformed before the painting code sees it:

  • the multiple feature type styles can be flattened in a single one, at the end of the day we are painting a single sample feature so it does not matter if we have many FTS or just one
  • categorize and recode can be exploded in a list of rules that the existing GLG code can handle (taking into account the combinatorial explosion in case multiple of them are used at the same timeā€¦)
  • Interpolate is harder, but we could just flatten it to a N classes setup and make it look like a categorize (in order to allow painting the other details in the symbolizer too, for example the fill or the stroke)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo