- Practical GIS
- Gábor Farkas
- 210字
- 2021-07-02 22:49:17
Removing columns
In the first example, let's delete some values from our administrative boundaries layer. If we inspect its attribute table, we can see some unnecessary columns. In my table, ID_0 and CCN_1 have constant values, which have absolutely no meaning to me. The CCA_1 and NL_NAME_1 columns are filled with null values, while VARNAME_1 is scarcely filled, therefore, I cannot use them. Let's pick every unnecessary column and remember their names. In the attribute table's toolbar, we can see some tools related to data management. We can add and remove columns; however, those options are disabled. We can enable them by starting an edit session by clicking on the first, Toggle editing mode button. With the editing options enabled, we can proceed by activating the Delete field tool, selecting the columns we would like to remove, and approving the operation with the OK button:

When the operation stops, we can see our unnecessary columns removed. If we save our edits, QGIS overwrites our layer and they are gone for good. Of course, we can change our mind or realize we accidentally removed some important data. In this case, we can restore the original conditions by not saving our edits.
- JavaScript百煉成仙
- Mastering Adobe Captivate 2017(Fourth Edition)
- 數據結構和算法基礎(Java語言實現)
- Visual Basic編程:從基礎到實踐(第2版)
- Practical Data Science Cookbook(Second Edition)
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- C++程序設計基礎教程
- Python圖形化編程(微課版)
- INSTANT Adobe Edge Inspect Starter
- Python語言科研繪圖與學術圖表繪制從入門到精通
- Node.js從入門到精通
- Python Web自動化測試設計與實現
- 軟硬件綜合系統軟件需求建模及可靠性綜合試驗、分析、評價技術
- Java EE基礎實用教程
- 信息學競賽寶典:基礎算法