On 8/2/07, <b class="gmail_sendername">Daniel Morissette</b> &lt;<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nicol Hermann wrote:<br>&gt; Hi Daniel,<br>&gt;<br>&gt; as promised, i did some further tests with the new charting options.<br>&gt; I checked the layer types point and line and could not find any problems<br>&gt; so far. One question for my understanding. How do you determine the
<br>&gt; position of the charts by line and polygon types?</blockquote><div><br>for polygon layers its determined by the mapserver function msPolygonLabelPoint, which does have a min_dimension parameter but I haven&#39;t been successful when changing this.
<br>for the line layers, the program starts with the middle segment of the line and draws the chart there if it fits. if not it recursively tests the two adjacent segments until a place has been found.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On thing i plan to do<br>&gt; are some collision tests. Is it possible to control this behaviour like<br>&gt; the force keyword in the labelObj?</blockquote><div><br>I have no idea how this is done for labels. if you want to have a go at it please do ;) 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt; Many thanks<br>&gt; Nicol<br>&gt;<br><br>Hi Nicol,<br><br>I have moved this discussion to the mapserver-dev list since others
<br>might be interested in it.<br><br>I have also CC&#39;d Thomas Bonfort who is the author of the chart rendering<br>code, he will be able to comment on the possible options. I think<br>treating the charts as labels/symbols and caching them to allow
<br>collision detection is something he had in mind but that was not part of<br>the initial implementation.<br><br>Daniel<br>--<br>Daniel Morissette<br><a href="http://www.mapgears.com/">http://www.mapgears.com/</a><br></blockquote>
</div><br>