Thanks,<br><br>I have my geom in table named segments. <br>I added upgis_lineshift function to my database and after use <br><br><span style="font-family: courier new,monospace;">SELECT upgis_lineshift(the_geom,10) As right_line from segments;</span><br>
<br>I get message like this:<br><br><span style="font-family: courier new,monospace;">ERROR: column "st_startpoint" does not exist</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">LINE 1: SELECT ST_Azimuth(ST_StartPoint?( $1 ), ST_EndPoint?( $1 ))</span><br>
<br>so I checked:<br><br><span style="font-family: courier new,monospace;">select AsText(ST_StartPoint(the_geom)) from segments;</span><br><br>and I get<br><br><span style="font-family: courier new,monospace;"> astext</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">---------------------------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> POINT(-8.593025208 41.180818082)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> POINT(-8.594827652 41.187632944)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> POINT(-8.591823578 41.193090782)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> POINT(-8.611950874 41.190119708)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> POINT(-8.613796234 41.179203081)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> POINT(-8.602809906 41.180559684)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">(6 rows)</span><br><br>so ST_StartPoint exists and works well.<br>
<br>I don't know what is goin on :P<br><br><br><br><br><br>