We are using the mapserver 5.0.0, there is no multiple installation. Here is the snip from our mapsymbol.h file. We tried to increase the value MS_SYMBOL_ALLOCSIZE to 128, but no effect. The mapserver is not processing if the symbol is more than 64.
<snip> enum MS_SYMBOL_TYPE {MS_SYMBOL_SIMPLE=1000, MS_SYMBOL_VECTOR, MS_SYMBOL_ELLIPSE, MS_SYMBOL_PIXMAP, MS_SYMBOL_TRUETYPE, MS_SYMBOL_CARTOLINE, MS_SYMBOL_HATCH}; #define MS_SYMBOL_ALLOCSIZE 64 /* number of symbolObj ptrs to allocate for a symbolset at once */ #define MS_MAXVECTORPOINTS 100 /* shade, marker and line symbol parameters */ #define MS_MAXPATTERNLENGTH 10 #define MS_IMAGECACHESIZE 6 </snip> Regards Gagan ----- Forwarded by Gagan Bansal/RCL/RelianceADA on 12/15/2007 12:46 PM ----- "Manav Sethi" <[EMAIL PROTECTED]> 12/15/2007 11:38 AM To [EMAIL PROTECTED] cc Subject Fwd: [UMN_MAPSERVER-USERS] Too Many Symbols ---------- Forwarded message ---------- From: Daniel Morissette <[EMAIL PROTECTED]> Date: Dec 14, 2007 6:06 PM Subject: Re: [UMN_MAPSERVER-USERS] Too Many Symbols To: MAPSERVER-USERS@lists.umn.edu Gagan Bansal wrote: > I am facing same problem. limit for sysmbol size. > I have increased the limit 200 in mapsymbol.h file and recompiled. > #define MS_MAXSYMBOLS 200 /* maximum number of symbols in a symbol > file */ > > but after increasing symbols in symbol.sym from 64 to 74, there is still errro. > > I am using > MapServer 5.0.0 > OS : RHEL 4.6 AS x86_64 > PHP: 5.2.5 > Are you sure you are really using MapServer 5.0? In MapServer 5.0, there is no longer a limit to the number of symbols, so you should not get an error. Plus, the mapsymbol.h from MapServer 5.0 no longer has the MS_MAXSYMBOLS line that you quote above (obviously since the limit is gone). Maybe you have multiple installations on your machine and you are not using the version that you think you are using? Daniel -- Daniel Morissette http://www.mapgears.com/ The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.