Steve,<br><br>I&#39;d be in favour of fixing the division by zero problem I&#39;ve reported previously (see below) before the beta.<br>However I&#39;m waiting for someone who confirms that there would be no negative impact on setting the symbol sizex/sizey to 1 instead of 0 by default.<br>
<br>Best regards,<br>Tamas <br><br><br><br>---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tamas Szekeres</b> <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt;</span><br>
Date: 2009/2/15<br>Subject: Division by zero problem in mapserver<br>To: MapServer Dev Mailing List &lt;<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a>&gt;<br><br><br>Hi Devs,<br><br>I find in many places in the code the following fragment:<br>
<br>scale = size/symbol-&gt;sizey;<br><br>without
actually checking the value of symbol-&gt;sizey which may be zero
eventually. This causes me unexpected problems, like for example a
premature termination of the application during the pdf output.<br>
How about setting the symbol size to 1 instead of 0 in initSymbol to prevent from this problem?<br><br>Best regards,<br><font color="#888888"><br>Tamas</font><br><br><br><br><div class="gmail_quote">2009/2/17 Steve Lime <span dir="ltr">&lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Show of hands please... ;-)<br>
<br>
Steve<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div><br>