Questions tagged [group-layer]
A group of layers associating layers which share source or other properties. Group layers also help to set properties for multiple layers simultaneously. For example, making the group invisible makes all children (layers) invisible.
133
questions
34
votes
0
answers
3k
views
Leaflet v1 plugin: layer control for ungrouped, grouped, and nested-grouped layers
I need a Leaflet plugin which extends L.Control.Layers. I have the following requirements:
works with Leaflet 1.x
handles ungrouped layers alongside grouped ones
handles nested layer groups
does not ...
2
votes
2
answers
3k
views
Grouping layers in Portal for ArcGIS?
I grouped the layers in ArcGIS Desktop and published them to my Portal for ArcGIS, but when I tried to create the Map Application, I see the individual layers. They are not in a group.
12
votes
4
answers
9k
views
Moving layers in the Layer Order Panel using PyQGIS
The following is a simple setup containing a group with three layers.
The code I use adds a new layer at the end of this group:
root = QgsProject.instance().layerTreeRoot()
group = root.findGroup('...
1
vote
2
answers
208
views
Iterate Feature Selection Error -Export grouped features
I am trying to group values inside my shapefile using Iterate Feature Selection and then Copy selected feature to new shapefile.
I don't know why but my copy features don't allow me to using %Value% ...
3
votes
1
answer
714
views
Group Layer On/Off Behaviour
One of the main reasons I use groups in Arc and QGIS is to be able to group similar data and/or associated layers which I will want to display or turn on/off together.
In Arc if I have a group with ...
2
votes
1
answer
478
views
How to get the file path for layers within a group layer?
I am trying to use python to remap a set of layer files in a group layer (not within an mxd) but am unable to create a layer object for them so I can use replaceDataSource. One of my group layers is
...
1
vote
0
answers
221
views
ExtractSubDataset in ArcPy loop giving ERROR 999999? [closed]
In ArcMap, I've created a layer group that I would like to add extracted subdatasets from a file to. It is a .grb file and I've successfully done this with the provided "Extract Subdataset" tool. Is ...
1
vote
1
answer
205
views
bgcolor problem on cascaded WMS grouplayer
On GeoServer I have two layers, both cascading a remote WMS. Both layers work fine in the layer preview.
Now I am putting both into one group layer and open the preview, which shows an empty response....
2
votes
0
answers
400
views
How to toggle group while maintaining sub-toggles
In QGIS:
I work with large projects in which I have many groups. Often I need to only visualise part of a group. However if I want to toggle off a group and later toggle it on again, all layers in ...
2
votes
0
answers
359
views
GetLegendGraphic from layergroup in Geoserver 2.8.2
I am working with Geoserver 2.8.2
I am requesting a GetLegendGraphic to a layer group that holds three layers, each layer with one single SLD styling.
I am getting a legend from Geoserver, but ...
5
votes
1
answer
349
views
Preventing new layers being added to groups automatically in QGIS?
In QGIS I can happily bring in layers and then group them together.
Problem: Once a group has been created and I load a new layer into QGIS, that layer is then automatically placed in that group. ...
5
votes
2
answers
6k
views
Mapbox GLJS - group layers
I'm trying to build an interactive map, without any knowledge in javascript, and i found myself a bit lost in this large world.
I've already designed my style in mapbox studio. And now, trying to ...
0
votes
1
answer
4k
views
Grouping layers in Table of Contents in ArcGIS for Desktop?
I'm trying to group layers in the table of content so that I can expand or collapse them as needed. Not sure how. I'm using ArcGIS 10.3 for Desktop.
10
votes
3
answers
4k
views
Removing all layers from group using PyQGIS
I want to remove all layers from a distinct group.
root = QgsProject.instance().layerTreeRoot()
the_group = root.findGroup("my_group")
parentGroup = the_group.parent()
I think I have to ...
0
votes
1
answer
98
views
Sublayers do not exist or are not supported in the geoprocessing tool?
I'm trying to batch export selected layers that I drag and drop in the tool that I've created by a selecting feature class. It's working when features are input from the source and layers in TOC. ...