2011-03-01 15 views

答えて

3

:-)急いで

- 限り、すべてのバージョンの真としてI私は単純にST_Line_Interpolate_Point()を使って次のような行から抜粋しました:

ST_Azimuth(
    ST_Line_Interpolate_Point(wkb_geometry, 0.2), /* point at 20% length */ 
    ST_Line_Interpolate_Point(wkb_geometry, 0.8) /* point at 80% length */ 
)/(2*pi())*360 as angle       /* radians to degrees */ 
0

ST_Azimuth(ジオメトリ)PostGISのバージョン入力として1.5.3 ST_Azimuth()必要な2つの点に

/ニクラス

関連する問題