:D Okay, I think this is what I need! I never thought it would be that simple!<br><br>thanks!!<br><br><div class="gmail_quote">2009/9/27 strk <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Sep 27, 2009 at 10:47:40PM +0200, Mehmet Sirin wrote:<br>
<br>
> so:  transforming LINESTRING ( x1 y1, x2 y2, x3 y4 ) to LINESTRING ( x1 y1,<br>
> x2 y2, x3 y4, x4 y4, x5 y5, ... ) but it is the same line!<br>
> Why doing all this stuff? I just want to find out the center of that<br>
> linestring^^<br>
<br>
</div>How about this:<br>
<br>
 SELECT ST_Line_Interpolate_Point(line, 0.5);<br>
<br>
<a href="http://postgis.refractions.net/documentation/manual-svn/ST_Line_Interpolate_Point.html" target="_blank">http://postgis.refractions.net/documentation/manual-svn/ST_Line_Interpolate_Point.html</a><br>
<br>
--strk;<br>
<font color="#888888"><br>
<br>
--<br>
<br>
 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign<br>
 <a href="http://foo.keybit.net/%7Estrk/services.html" target="_blank">http://foo.keybit.net/~strk/services.html</a>  /\  Keep it simple!<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><br>
</font></blockquote></div><br>