- QGIS By Example
- Alexander Bruy Daria Svidzinska
- 371字
- 2021-07-16 14:09:16
Grouping and reordering layers
By default, layers are loaded in alphabetical order (reversely if you add them from the browser panel). Each new layer is laid on top of the previous layer and covers it. By default, all layers are turned on, styled with simple uniform symbols, and randomly assigned colors. The order of layers can be changed by simply dragging and dropping them up and down the legend. Also, it is strongly advisable to order and arrange layers in some logical groups, as it simplifies the navigation and understanding of data.
To manage and rearrange layers and maintain their visibility, use the Layer toolbar in the Layers panel, which is shown in the following screenshot and contains the buttons described afterwards (in the order of appearance from left to right):

- Add Group: This creates an empty layers group.
- Manage Layer Visibility: This allows us to quickly show and hide layers and also customize their visibility with predefined layer combinations—so-called presets.
- Filter Legend By Map Content: If the filter is active, layer legend only shows those items that are actually visible inside the map canvas. All other symbols are hidden from the legend.
- Expand All / Collapse All: Buttons are used to expand or collapse layers, symbology legends, and layer groups, if any.
- Remove Layer/Group: This removes the selected legend entries.
There are two ways of creating a layer group:
- Click on
, the Add Group button, from the Layers toolbar. A new group will appear at the bottom of the list of layers. Type in an appropriate name and then drag and drop the layers into the group.
- Select several layers while holding down the Ctrl key, and use the Group Selected right-click contextual shortcut to place them in a single group.
It is possible to develop a multilevel hierarchy with subgroups by selecting groups and applying Add Group to them. Any item of the layer legend, whether it's a single layer or a group, can be renamed with the Rename right-click shortcut. Renaming doesn't affect the dataset itself, but allows us to apply to it a proper and meaningful name within a project. Now try arranging the layers into several meaningful groups yourself, and name them appropriately.
- Python機器學習:數據分析與評分卡建模(微課版)
- Practical DevOps
- Servlet/JSP深入詳解
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第2版)
- Learning Apache Mahout Classification
- H5頁面設計:Mugeda版(微課版)
- jQuery技術內幕:深入解析jQuery架構設計與實現原理
- 嵌入式Linux C語言程序設計基礎教程
- Extending Docker
- Blender 3D Cookbook
- Apache Kafka 1.0 Cookbook
- Learning Perforce SCM
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- 大話C語言