Groups
Groups
Sign in
Groups
Groups
QGIS初心者質問グループ
Conversations
About
Send feedback
Help
ポリゴン上にあるポリゴン数のカウント
2,660 views
Skip to first unread message
sai tuku
unread,
Feb 14, 2022, 2:58:42 AM
2/14/22
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初心者質問グループ
初めて質問させていただきます。
過去の質問と重複していたらすみません
ポリゴンの上に載っているポリゴンの数を事物ごとにカウントして、属性テーブルを作成したいです。
添付の写真ですと、赤い事物の上に乗っかっている青いポリゴンの数をカウントしたいです。
スクリーンショット.png
福岡
unread,
Feb 14, 2022, 9:53:23 PM
2/14/22
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初心者質問グループ
こんにちは
英語ですが、次の情報が参考になると思います。
Count Polygons in Polygons
https://gis.stackexchange.com/questions/228442/count-polygons-in-polygons
この方法は、メニューの[ベクタ - データ管理ツール - 属性の空間結合」を使っています。
掲載して頂いた例であれば、青いポリゴンの属性テーブルへ赤い地物のIDを結合させると良いと思います。
結合させた属性テーブルを表計算ソフトへ貼り付け、「countif」関数でID毎の個数をカウントするという方法があるように思いました。
2022年2月14日月曜日 16:58:42 UTC+9
kirin...@gmail.com
:
sai tuku
unread,
Feb 15, 2022, 2:14:41 AM
2/15/22
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初心者質問グループ
福岡様、お返事ありがとうございます!
この方法でカウントできそうです。
ありがとうございます。
2022年2月15日火曜日 11:53:23 UTC+9 福岡:
ありた
unread,
Feb 16, 2022, 7:19:10 AM
2/16/22
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初心者質問グループ
こんにちは
参考までに。
プロセシングツールに「空間結合(集計付き)」が用意されています。
選択できる集計関数の中には count (個数)も含まれます。
ただし、正確には指定した空間関係にマッチする地物について、「属性の集計」となります。
そのため NULL 値の属性に関しては集計対象外となります。
確実に非 NULL となる属性を集計対象にしてください。
sai tuku
unread,
Feb 20, 2022, 3:37:39 PM
2/20/22
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初心者質問グループ
ありた様、ご回答ありがとうございます。
属性の空間結合でできたのですが、こちらのやり方だとカウントもできるので、便利そうですね!
試してみます。ありがとうございます。
2022年2月16日水曜日 21:19:10 UTC+9 ありた:
Reply all
Reply to author
Forward
0 new messages