#2714 closed defect (fixed)
the key image isn't scaled, as it is with GD (WMS-GetLegendGraphic and raster-pixmap)
Reported by: | hschoenhammer | Owned by: | tbonfort |
---|---|---|---|
Priority: | high | Milestone: | 5.2.1 release |
Component: | AGG | Version: | 5.0 |
Severity: | normal | Keywords: | AGG, GetLegendGraphic |
Cc: |
Description
Using GD as driver for creating the output, i get the correct legend-image: The definition looks like:
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
EXTENSION PNG
IMAGEMODE RGBA
TRANSPARENT ON
END
Only changing the output-driver, I get the a legend-picture which is only a part of the original pixmap:
The definition looks like:
OUTPUTFORMAT
MIMETYPE "image/png"
NAME 'AGG_Q'
DRIVER AGG/PNG
EXTENSION PNG
IMAGEMODE RGBA
TRANSPARENT ON
END
The problem using AGG is this:
If using a pixmap with "KEYIMAGE …."
CLASS
NAME "Topografische Karte 1:50.000"
KEYIMAGE "/data/raster/topo_karten/tk50_legende.png"
END
only a part of the raster-image is used for generating the legend (the right side of th picture, the middle of the picture).
Attachments (2)
Change History (4)
by , 16 years ago
Attachment: | agg-legend.bmp added |
---|
comment:1 by , 16 years ago
Milestone: | 5.2.1 release → 5.4 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
fixed in r7945
Legend generated with AGG