<div>I am hitting the threshold because I have the three styles on multiple zoom levels. </div>
<div>But in Primagis there is now a way of combining the symbolizers, so that it would equate one style per zoomlevel. I am not sure how this maps down to mapserver, but I will give it a try tomorrow. Sean is also helping me out with this. (The worst would be recompiling, so the issue is not exactly pressing).
</div>
<div>&nbsp;</div>
<div>Ludwig<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/13/06, <b class="gmail_sendername">Steve Lime</b> &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Um, er... It was a relatively arbitrary decision. By that I mean I didn't have any symbolization use cases that
<br>required more than 3, let alone 5. So to bump it you'd have to recompile. There should be virtually no penalty<br>for going to a value of say 10.<br><br>That said, you are only describing a case with 3 styles. If that's the case then the issue is why are you hitting
<br>the limit at all? (and the limit of 5 is protecting you). Are you actually creating classes with more than 5?<br><br>Steve<br><br>&gt;&gt;&gt; Ludwig Max Brinckmann &lt;<a href="mailto:ludwigbrinckmann@GMAIL.COM">ludwigbrinckmann@GMAIL.COM
</a>&gt; 7/13/2006 10:53:12 AM &gt;&gt;&gt;<br>I am using Mapserver through Primagis, which uses mapserver as rendering<br>engine.<br><br>I have a road network which I want to display at varying zoom levels in<br>different ways, with the roads rendered by stacking styles on top of each
<br>other: eg. a wide black line on top of which comes a narrower yellow line on<br>top of which comes a narrow black line, which overall gives the impression<br>of a divided highway as we know it from paper maps.<br><br>
I do this at varying zoom levels, but then when rendering I get the message<br><br>MapServerChildError: insertStyle(): Child array error. Maximum number of<br>class styles, 5, has been reached<br><br>which comes from classobject.c
.<br><br>Obviously, I can change this in map.h and recompile.<br><br>But is there a good reason for such a low maximum? Is it there to protect<br>people from their own errors or is there a significant performance penalty<br>
or some such?<br><br><br>Ludwig<br></blockquote></div><br><br clear="all"><br>-- <br>Ludwig M Brinckmann<br>phone: 020 7254 1181<br>mobile: 07949 460787