msDrawLegend(): Memory allocation error

Düster Horst Horst.Duester at bd.so.ch
Wed Feb 21 02:17:15 PST 2001


Hi 
 
I try to draw a legend but MapServer bails out with the error message: 
 
msDrawLegend(): Memory allocation error. Error allocating heights array. 
 
The LEGEND key looks like:
 
#
# Start of legend
#
LEGEND
  KEYSIZE 18 12
   LABEL
    TYPE BITMAP
    SIZE SMALL
    COLOR 0 0 89
  END
  STATUS ON
END
 
Can anybody help me to solve this problem.
 
 
Horst
 



More information about the MapServer-users mailing list