Opened 20 years ago

Closed 20 years ago

#1154 closed enhancement (worksforme)

SLD_BODY support for GetLegendGraphic request

Reported by: bartvde@… Owned by: valik.solorzano.barboza@…
Priority: high Milestone:
Component: WMS Server Version: 4.4
Severity: minor Keywords:
Cc:

Description

Currently we have the situation that users can change Map symbology on the fly,
this is done by combining a GetMap request with an SLD_BODY parameter which
contains the whole SLD document "inline" in the request.

But now we don't have the ability to request a legend which depicts the exact
same symbology. So we run into situations e.g. in prints where map and legend
are not in sync anymore.

I guess implementation could be quite easy since the code for translating
SLD_BODY into Mapserver classes already exists for the GetMap request.

Change History (2)

comment:1 by bartvde@…, 20 years ago

Appears that the SLD_BODY tag is being interpreted already, only problem is that
the legend shows both SLD classes as well as the original classes.

comment:2 by bartvde@…, 20 years ago

Resolution: worksforme
Status: newclosed
This does not appear to be a bug in Mapserver WMS. Apparently the SLD we were
sending to Mapserver contained 8 classes instead of 4.

Closing this bug as WORKSFORME.
Note: See TracTickets for help on using tickets.