<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;}
/* 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:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EstiloCorreo20
{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=blue>
<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 Rodirigo,<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> </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'>Thanks- this was what I
was looking for, although Pradeep’s problem is an interesting one too.<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> </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'>Matt<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> </o:p></span></font></p>
<div>
<table class=MsoNormalTable border=0 cellpadding=0 align=left width="100%"
bgcolor=white style='width:100.0%;background:white'>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color=navy
face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color=navy
face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color="#2e3a75"
face=Arial><span style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Matt
Doughty</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</td>
<td rowspan=5 valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'><img
width=90 height=100 id="_x0000_i1027" src="cid:image001.jpg@01C7B41B.06E84330"><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color="#2e3a75"
face=Arial><span style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>GEOGRAMA
S.L.</span></font><font color=navy face=Arial><span style='font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color="#2e3a75"
face=Arial><span style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Tel.:
+34 945 13 13 72 652 77 14 15</span></font><font color=navy face=Arial><span
style='font-family:Arial;color:navy'><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color="#2e3a75"
face=Arial><span style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Fax:
+34 945 23 03 40 </span></font><font color=navy face=Arial><span
style='font-family:Arial;color:navy'><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color="#2e3a75"
face=Arial><span style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>www.geograma.com</span></font><font
color=navy face=Arial><span style='font-family:Arial;color:navy'><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='mso-element:frame'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>
</td>
</tr>
</table>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </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'> <st1:PersonName
w:st="on">postgis-users-bounces@postgis.refractions.net</st1:PersonName>
[mailto:<st1:PersonName w:st="on">postgis-users-bounces@postgis.refractions.net</st1:PersonName>]
<b><span style='font-weight:bold'>En nombre de </span></b>Rodrigo Martín LÓPEZ
GREGORIO<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> jueves, 21 de junio de
2007 14:06<br>
<b><span style='font-weight:bold'>Para:</span></b> <st1:PersonName w:st="on">PostGIS
Users Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Asunto:</span></b> Re: [postgis-users]
Midpoint function?</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> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi Matt.<br>
<br>
I think what you want may be:<br>
<br>
<span class=term>line_interpolate_point(the_geom,0.5)</span><br>
<br>
<span class=term>(or ST_line_interpolate_point(the_geom,0.5) depending on your
Postgis version)</span> <br>
<br>
<span class=term>where the_geom is a linestring and 0.5 means half of the total
2d length of the linestring.</span><br>
<br>
<span class=term>You can reed more details in the documentation:</span><br>
<br>
<span class=term><a
href="http://postgis.refractions.net/docs/ch06.html#line_interpolate_point">http://postgis.refractions.net/docs/ch06.html#line_interpolate_point</a></span><br>
<br>
<span class=term>Rodrigo</span><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 6/21/07, <b><span style='font-weight:bold'>Matt
Doughty</span></b> <<a href="mailto:matt.doughty@geograma.com">
matt.doughty@geograma.com</a>> wrote:</span></font></span><o:p></o:p></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>Hi List,</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>Is there a function in PostGIS that finds the midpoint of a line?</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'>Matt</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'> </span></font><o:p></o:p></p>
<table class=MsoNormalTable border=0 cellpadding=0 align=left width="100%"
bgcolor=white style='width:100.0%;background:white;-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'> </span><o:p></o:p></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt'> </span><o:p></o:p></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 color="#2e3a75" face=Arial><span
lang=EN-GB style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Matt
Doughty</span></font><o:p></o:p></p>
</td>
<td rowspan=5 valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img border=0 width=90 height=100 id="_x0000_i1025"
src="cid:image001.jpg@01C7B41B.06E84330"><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 color="#2e3a75" face=Arial><span
lang=EN-GB style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>GEOGRAM</span></font><font
color="#2e3a75" face=Arial><span style='font-family:Arial;color:#2E3A75'> A
S.L.</span></font><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 color="#2e3a75" face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Tel.: +34 945
13 13 72 652 77 14 15</span></font><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 color="#2e3a75" face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:#2E3A75'>Fax: +34 945 23 03
40 </span></font><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 color="#2e3a75" face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:#2E3A75'><a
href="http://www.geograma.com" target="_blank">www.geograma.com</a></span></font><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p style='mso-element:frame'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users"
target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>