Questions tagged [table-of-contents]
Table of Contents, a tabbed list of data frames and layers (or tables) on a map that shows how the data is symbolized, the source of the data, and whether or not each layer is selectable.
121
questions
3
votes
0
answers
66
views
How to make QGIS always add layers with collapsed symbology in TOC
When I add a load of raster layers into a QGIS project they default to grayscale symbology (which is fine), but some of them randomly are expanded in the TOC. It takes up a lot of space and doesn't ...
4
votes
3
answers
388
views
Remove empty categories from TOC
As you can see in the screenshot, I have a layer with a lot of empty categories (0 features). Is it a way to automatically remove this categories from TOC? To do it manually, it is complicated cause I ...
0
votes
1
answer
59
views
QGIS crashes after removeChildNode() Called
I have followed QGIS examples on how to move layers on TOC by inserting and removing nodes. I tried the QGIS documentation approach, which clones a node then reinserts it and removes the first one as ...
3
votes
2
answers
333
views
Deselecting layer using PyQGIS
I can select a layer using:
lyr = QgsProject.instance().mapLayersByName( "lyr_name" )[0]
iface.setActiveLayer(lyr)
This selects and highlights the layer in the table of contents.
How can I ...
5
votes
1
answer
356
views
Collapsing legend in ToC via PyQGIS
I am creating QGIS simple plugin which adds and set styles. It works like a charm, however i want to collapse all legends(categories) from styles in given layer i tried
layer....
0
votes
1
answer
316
views
Making ArcGIS Pro output layer alias default to output dataset name
When using ArcGIS Pro for geoprocessing operations which require a single input dataset, the output layer alias defaults to the alias of the input layer. Take the "project" tool for example. ...
0
votes
0
answers
73
views
Deleting the old layer set automatically - after sorting layers of one specific group within the table of contents alphabetically
I'd like to reorder the layers within ONE specific group of the TOC alphabetically by layer name, but without reordering the top level layers or the layers of other groups.
@GérmanCarillo helped me to ...
8
votes
2
answers
1k
views
Sorting layers by name in one specific group of QGIS layer tree
I'd like to reorder the layers within ONE specific group of the TOC alphabetically by layer name, but without reordering the top level layers or the layers of other groups.
I found the following ...
1
vote
1
answer
150
views
Turning off single category of categorized symbology in ArcMap
I am new to ArcGIS Desktop.
I have one layer with different types of sewer: for rain water only, for waste water only and both mixed.
Every type of sewer should have his own color: rain - blue, waste ...
5
votes
0
answers
71
views
QGIS 3 Dragging layer in table of content with keyboard
Sometimes it is hard to drag a layer with a mouse.
Is there a way to drag a layer (сhange its position relative to other layers) in a QGIS 3 table of content using only the keyboard?
1
vote
0
answers
367
views
How to configure grouped layers in the LayerList widget with feature layers
This applies to the ArcGIS Server JavaScript API v4.x.
This LayerList widget example code contains grouped layers, whereby the San Francisco parent checkbox also controls its child layers:
The ...
1
vote
0
answers
55
views
Change group legend behaviour in QGIS 3
In QGIS 2, when you click on a group which contains subgroups, all subgroups are checked/unchecked at the same time.
In QGIS 3, when you click on the same group, only that group is checked. Its ...
0
votes
1
answer
57
views
Adding custom-named output to TOC which is managed data in ModelBuilder
I'm trying to make a model using the ModelBuilder. Everything is working properly, except the fact that I want to add the outputs to TOC with the specific layer name.
The problem is that in order to ...
4
votes
1
answer
14k
views
Hiding a layer in Layers panel, but showing in Map Canvas [duplicate]
When a layer is added to QGIS, it is ordinarily added to "Layers" panel and "Map Canvas". The same thing happens when a memory layer (loaded/created by QgsVectorLayer) is added using QgsProject....
1
vote
0
answers
148
views
Removing/hiding items in TOC panel (pie chart symbology)
I work in ArcMap 10.4. I need to find a way to remove/hide some of the items displayed in the TOC after applying Pie chart symbology to features.
The main idea is the items are somewhat duplicated but ...