Groups
Groups
Sign in
Groups
Groups
QGIS初心者質問グループ
Conversations
About
Send feedback
Help
頂点作成からの直線傾きで
68 views
Skip to first unread message
Satoshi Itoh
unread,
Nov 12, 2021, 10:24:50 PM
11/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QGIS初心者質問グループ
いつも大変お世話になります。
頂点のangleが時計回りか否かの判定が出来ればとおもい質問です。
例によって鉄道のラインから頂点を抽出しました。
この頂点にはangleがありますが、部分ラインの傾きを計算する中で、路線が360度以上のループの場合、正確には360<の場合の傾き方向の判定が出来ません。
357-358-359-360度と進むなら時計回りと判断できますが、360の次が1度となると反時計回りとなってしまいます。
ありた
unread,
Nov 13, 2021, 7:53:54 AM
11/13/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QGIS初心者質問グループ
こんにちは
angle の差が180以上だったら -360 し、-180未満だったら +360 し、角度差を-180〜180の
範囲で標準化してから判別してはどうでしょうか。
Satoshi Itoh
unread,
Nov 13, 2021, 8:11:49 PM
11/13/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QGIS初心者質問グループ
ありたさん ありがとうございます。
excelファイルに吐き出しexcelの式「=ABS(ABS(K2-K3)-IF(ABS(K2-K3)>180,360,0))」をご教示いただきました。
なんとか解決できそうです。
ありがとうございます。
2021年11月13日土曜日 21:53:54 UTC+9 ありた:
Reply all
Reply to author
Forward
0 new messages