官术网_书友最值得收藏!

  • Practical GIS
  • Gábor Farkas
  • 346字
  • 2021-07-02 22:49:15

Selecting features in QGIS

There are usually two kinds of selection methods in GIS software. There is one which highlights the selected features, making them visually distinguishable from an other one. Selected features by this soft selection method may or may not be the only candidates for further operations based on our choice. However, there is usually a hard selection called filtering. The difference is that the filtered-out features do not appear either on the canvas or in the attribute table. QGIS makes sure to exclude the filtered-out features from every further operation like they weren't there in the first place. There is one important difference between the style of selection and filtering--we can select features with the mouse; however, we can only filter with SQL expressions.

First, let's select a single feature with the mouse. To select features in QGIS, we have to select the vector layer containing the feature in the Layers Panel. Let's select the administrative boundaries layer then click on the Select Features by area or single click tool. Now we can select our study area by clicking it on the map canvas, as shown in this screenshot:

We can see the feature highlighted on the map and in the attribute table. If we open the attribute table of the layer, we can see our selected one distinguished as we have only a limited number of features in the current layer. If there are a lot of features in a layer, inspecting the selected features in the attribute table becomes harder. To solve this problem, QGIS offers an option to only show the selected features. To enable it, click on the Show All Features filter and select Show Selected Features:

Don't forget to try out the other selection tools by clicking on the arrow next to the current one. You can finish drawing a polygon by right-clicking on the canvas.

The attribute table and the map canvas are interlinked in QGIS. If you click on the row number of a feature, it becomes selected and therefore, highlighted on the canvas.

主站蜘蛛池模板: 营山县| 正镶白旗| 永川市| 九台市| 新和县| 丽江市| 宕昌县| 康保县| 鄂托克旗| 桦川县| 长治县| 军事| 乐山市| 女性| 深圳市| 洛隆县| 古丈县| 根河市| 旬阳县| 板桥市| 花莲市| 河曲县| 永靖县| 宜君县| 南召县| 耿马| 连江县| 大连市| 伊宁县| 正安县| 平凉市| 达日县| 黄龙县| 平顶山市| 通化县| 临湘市| 民乐县| 库尔勒市| 宜兰市| 郑州市| 曲周县|