Thanks Daniel for your inputs,<div><br></div><div>The beauty of the solution #2 (stroked text) is that the result is visually exactly the same than the annotation layer in ArcInfo (size, font, position, orientation, etc...).  To obtain the same result with the labeling options would require a lot of tuning(adjustment in the mapfile pour each layer), but I may be wrong.</div>
<div><br></div><div>I will keep all the info for both solutions (text as polygon, centroid, text, angle) so I may execute some benchmark later this fall</div><div><br></div><div>cheers</div><div><br></div><div>MartinO<br>
<br><div class="gmail_quote">2010/10/25 Daniel Morissette <span dir="ltr">&lt;<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Martin,<br>
<br>
Only some benchmarks could tell us for sure, but I don&#39;t imagine that<br>
option 1 would be that much slower than option 2, if it&#39;s slower at all.<br>
Once the text has been stroked in option 2, you cannot change its style<br>
or size any more. OTOH, with #1 you keep all that flexibility.<br>
Personally I&#39;d go with #1 unless you can verify with some tests that #2<br>
is really faster, and if that&#39;s the case we&#39;d like to hear back from you<br>
and find out more.<br>
<br>
Daniel<br>
<div class="im"><br>
Martin Ouellet wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I see 2 ways for doing that:<br>
&gt; 1) store the centroid (as a point geometry), rotation, text and maybe<br>
&gt; the size of the annotation in my postgis table<br>
&gt;<br>
&gt; 2) using FME transformer (TextStroker), I can convert the annotation as<br>
&gt; a multi-polygone or polyline directly.  Playing with the font and some<br>
&gt; offset parameter, the result is pretty amazing (when I overlap the<br>
&gt; annotation and the geometry generated by the transformer)<br>
&gt;<br>
&gt; In a WMS map rendering point of view:<br>
</div>&gt; Q1: I presume that the solution #2 will be much faster than rendering ą<br>
<div class="im">&gt; label based on a point, rotation and text?<br>
&gt;<br>
&gt; Q2: beside the limitation of solution #2 (cannot change font, size or<br>
&gt; position of the text (geometry), is there others importants limitations<br>
&gt; that I forgot?<br>
&gt;<br>
&gt; Q3: Any recommendations?<br>
&gt;<br>
&gt; cheers!<br>
&gt;<br>
&gt; MartinOuellet<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<font color="#888888"><br>
<br>
--<br>
Daniel Morissette<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br></div>