Boer, dr. W.M. de (Thijs) wrote:
Hi Yewondwossen,

finally I found the solution.
The layer in question had all of its classes commented out...
Once I fixed that, it was no problem anymore.
Thanks for your offer to help.

Thijs

Great. Note that It was the first thing I tried (removing all classes) to reproduce the issue but could not using both gd and agg output. I was getting an empty valid image.The tests I have done were using the latest MapServer.

regards,

-----Oorspronkelijk bericht-----
Van: Yewondwossen Assefa [mailto:[email protected]]
Verzonden: 26 november 2009 15:09
Aan: Boer, dr. W.M. de (Thijs)
CC: [email protected]
Onderwerp: Re: [mapserver-users] getLegendGraphic Request error


Hi There,

Boer, dr. W.M. de (Thijs) wrote:
Hello list,

wenn I send my getLegendGraphic Request I get the following error:

[Thu Nov 26 09:44:02 2009].113000 msImageCreateGD(): Image handling error. 
Cannot create GD image of size 67x-2.
[Thu Nov 26 09:44:02 2009].113000 msDrawLegend(): GD library error. Unable to 
initialize image.

Does anyone know, what can be wrong? How can I solve the problem?

Would it be possible to make available a map/data and the full getlegendgraphic url and I can quickly check the case your are facing? Something is going wrong when calculating the size of the legend or the icons but could not quickly identify it by looking in the code.

regards

Greetings,
Thijs


Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is gezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. The State accepts no 
liability for damage of any kind resulting from the risks inherent in the 
electronic transmission of messages.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users





--
----------------------------------------------------------------
Assefa Yewondwossen Software Analyst Email: [email protected] http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to