<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi everyone,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Six days ago we upgraded mapserver to version 4.10.2 and we are experiencing
some problems with short labels using the ANGLE FOLLOW new feature. The odd behaviour
is exactly the same reported in the ticket #2020 in the mapserver bug list.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Our problem is that
the work around listed there is not working for us. I created the function in
postgres with the current user that is running the mapserver application, but
nothing changed.<o:p></o:p></span></font></p>

<pre><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>CREATE OR REPLACE FUNCTION pad(cString TEXT) RETURNS TEXT AS $$<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>BEGIN<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; RETURN cString || repeat(' ', 4 - char_length(cString));<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>END;<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>$$ LANGUAGE plpgsql;<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am doing something wrong?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If anyone used this fix,
I will appreciate a more detailed explanation of the work around. I am not very
skilful with postgres so any additional information will be valuable.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks in advance. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=3 color="#339966" face="Times New Roman"><span
style='font-size:12.0pt;color:#339966;font-weight:bold'><img width=43
height=34 id="_x0000_i1025" src="cid:image001.jpg@01C7A1EB.C009C240"></span></font></b><b><font
color="#339966"><span lang=EN-GB style='color:#339966;font-weight:bold'>Lic.
Heraldo G. Rodriguez<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>&nbsp;
</span></font><a href="mailto:hrodriguez@siscat.com.ar"><font size=2
face="Century Gothic"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Century Gothic"'>hrodriguez@siscat.com.ar</span></font></a><font size=2
color=blue face="Century Gothic"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Century Gothic";color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>&nbsp;
TEL: </span></font><font size=2 color=blue face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>54-11-4326-4002
int 255</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>&nbsp; Dpto.
Desarrollo<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>&nbsp;
Sistemas Catastrales S.A</span></font><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>