Ticket #2284 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

follow-up: ↓ 4   Changed 6 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

  Changed 6 years ago by tbonfort

  • status changed from new to assigned
  • milestone changed from 5.0 release to 5.2 release

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

  Changed 6 years ago by tbonfort

  • status changed from assigned to closed
  • resolution set to fixed

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 ?

in reply to: ↑ 1   Changed 6 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.