Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2284 closed defect (fixed)

No AGG rendering of legend icons

Reported by: havatv Owned by: tbonfort
Priority: normal Milestone: 5.2 release
Component: AGG Version: 5.0
Severity: normal Keywords:
Cc: havatv

Description

Mapserver 5.0 beta 5.

There seems to be a problem with AGG-rendering of legend graphics. This seems to apply to both HTML legends, PHP classObj->createLegendIcon and WMS getLegendGraphics.

1) I am having problems getting WMS "getlegendgraphics" to work when agg/png is used. "getMap" works nicely, with very nice rendering, but "getLegendGraphics" returns:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE ServiceExceptionReport? SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd"> <ServiceExceptionReport? version="1.1.1"> <ServiceException? code="InvalidFormat?"> msWMSGetLegendGraphic(): Image handling error. Unsupported output format (image/png). </ServiceException?> </ServiceExceptionReport?>

When I switch to the default (GD?) image/png output, everything seems to works OK (but not so nice graphics...).

2) AGG-rendering seems not to be done for traditional mapserver legends (HTML).

3) In PHP mapscript I do not seem to get AGG-rendering for classObj->createLegendIcon .

Change History (4)

comment:1 Changed 13 years ago by tbonfort

Cc: havatv added

for number 1, I commited a fix in r6578

as for the others I'll need some more info from the mapscript maintainers as there's potential for breakage

comment:2 Changed 13 years ago by tbonfort

Milestone: 5.0 release5.2 release
Status: newassigned

pushing to 5.2 as the potential for breakage is a bit too high so close to 5.0

comment:3 Changed 13 years ago by tbonfort

Resolution: fixed
Status: assignedclosed

numbers 2 and 3 should now be fixed along with #2348 havatv could you confirm, and reopen this bug if this isn't the case ?

comment:4 in reply to:  1 Changed 13 years ago by tbonfort

Replying to tbonfort:

for number 1, I commited a fix in r6578

as for the others I'll need some more info from the mapscript maintainers as there's potential for breakage

should read r6758

Note: See TracTickets for help on using tickets.