Ticket #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 .
