<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@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.EstiloCorreo18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EstiloCorreo19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@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 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi everyone <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Any news with the problem I reported a week ago? &nbsp;In my previous
mail&nbsp; I mentioned that we were experiencing some problems using the ANGLE
FOLLOW new feature and the workaround listed in the bug list didn&acute;t work
for us &nbsp;We really need to fix this issue , and we &nbsp;will appreciate
any help you can provide. Thanks in advance.<o:p></o:p></span></font></p>

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

<div>

<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_i1027" src="cid:image002.jpg@01C7A8FF.8C59A300">Lic.
Heraldo G. Rodriguez<o:p></o:p></span></font></b></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; </span></font><font
color=navy><span style='color:navy'><a href="mailto:hrodriguez@siscat.com.ar"><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>hrodriguez@siscat.com.ar</span></font></a></span></font><font
size=2 color=blue face="Century Gothic"><span 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
style='font-size:10.0pt;font-family:"Century Gothic";color:blue'>&nbsp; TEL:
54-11-4326-4002 int 255</span></font><font color=navy><span style='color:navy'><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; 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 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

</div>

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

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Rodriguez,
Heraldo [mailto:hrodriguez@siscat.com.ar] <br>
<b><span style='font-weight:bold'>Enviado el:</span></b> martes, 29 de mayo de
2007 12:21<br>
<b><span style='font-weight:bold'>Para:</span></b> <st1:PersonName w:st="on">MAPSERVER-USERS@LISTS.UMN.EDU</st1:PersonName><br>
<b><span style='font-weight:bold'>Asunto:</span></b> [UMN_MAPSERVER-USERS]
Mapserver Bug #2020</span></font><o:p></o:p></p>

</div>

<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=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 border=0 width=43
height=34 id="_x0000_i1025" src="cid:image003.jpg@01C7A8FF.49728FC0"></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>