getLegendGraphic - GD Library Error
Daniel Morissette
dmorissette at DMSOLUTIONS.CA
Wed Oct 27 14:38:45 PDT 2004
Astrid Emde wrote:
> Hello,
>
> wenn I send my getLegendGraphic-Request I get the following error:
>
> msDrawLegend(): GD library error. Unable to initialize image.
> msImageCreateGD(): Image handling error. Cannot create GD image of size
> 60 x 0.
>
> Does anyone know, what can be wrong? How can I solve the problem?
>
Is this using the 4.4.0-beta1? If not then the first thing to do would
be to try 4.4.0-beta1.
I tried hacking together a quick mapfile using your layer and legend
definitions to reproduce this with your URL but I don't get this error.
I do get a legend with one item on it. I'll attach my test mapfile, you
may want to try it at your end.
If you still get this error with the latest version then perhaps you
could file a bug with a small testcase to reproduce and one of us can
have a look (your testcase should include mapfile, symbolset and
fontset, but data shouldn't be needed).
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testlegend.map
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041027/35e63eb9/attachment.ksh>
More information about the MapServer-users
mailing list