Groups
Groups
Sign in
Groups
Groups
QGIS初心者質問グループ
Conversations
About
Send feedback
Help
地物の削除について
4,039 views
Skip to first unread message
yuke
unread,
Aug 7, 2017, 12:37:52 AM
8/7/17
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初心者質問グループ
よろしくお願い致します。
添付した参照ファイルの赤枠内の地物を削除したいのですが、属性もなく地物を選択で
選択しようとしても選択されず消去できません。
現在の状態です。
・縮尺によって表示されたり消えたりします。
・分類で色は塗られます。
・ポリゴン作成時におかしくなってしまったみたいです。
解決方法はありますでしょうか?
よろしくお願いいたします。
Win10
QGIS Desktop 2.12.2
参照ファイル.pdf
きた
unread,
Aug 7, 2017, 12:41:50 AM
8/7/17
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初心者質問グループ
レイヤを右クリックして、「名前をつけて保存」で新しいファイルを作るとなおりませんか?
きた
yuke
unread,
Aug 7, 2017, 1:43:03 AM
8/7/17
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初心者質問グループ
きた様
ご返信ありがとうございます。
名前を付けて保存をしてみましたがなおりませんでした。
よろしくお願いいたします。
福岡
unread,
Aug 7, 2017, 3:52:00 AM
8/7/17
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初心者質問グループ
yuke 様
こんにちは
考えてみたのですが、あまりスマートな方法ではなく、地物が多い場合には面倒すぎるのですが、こんな方法もあると思います。
まず、属性テーブルに1つフィールドを足して、何でも良いのですが「9」とでも入力しておきます。
これを目印にします。
次に名前を付けて保存で、形式を「カンマで区切られた値[CSV]」、下の方に表示されるレイヤオプションの「GEOMETRY」を「AS_WKT」にします。
これで保存します。
次にテキストエディタでファイルを開いて行端が「9」になっていない行を探し、あったらその行を削除して保存します。
最後にこのファイルをデリミテッドテキストレイヤとして追加して、また別名でShapeファイルとして保存します。
理屈上はこれでいけると思うのですが、かなり面倒です。地物の数が少ない場合にお試しください。
AAEE
unread,
Aug 7, 2017, 5:02:17 AM
8/7/17
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初心者質問グループ
yuke 様
思いつきですが、以下の手順でいかがでしょうか。
①属性に新たなカラム(仮に"num"とします)を設け、$id などで適当な数値を各地物に振る。
②numをラベル表示し、異常のあるポリゴンの数値を確認する
③「式を使った地物選択」で、"num"=②で確認した数値 として選択状態にする
④編集可能モードにしてからdeleteキーで削除
きた
unread,
Aug 7, 2017, 5:18:04 AM
8/7/17
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初心者質問グループ
選択できない地物を削除したいのであれば、選択できる地物を選択して、名前をつけて保存するときに、選択地物のみ保存するのはどうでしょう。
きた
yuke
unread,
Aug 7, 2017, 7:54:42 PM
8/7/17
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初心者質問グループ
きた様、AAEE様、福岡様
ご返信ありがとうございます。
今回は時間がないためきた様のご提案で解決いたしました。
AAEE様、福岡様のご提案は時間ができたときに挑戦いたします。
皆さま本当にありがとうございました。
Reply all
Reply to author
Forward
0 new messages