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.
                137 questions
            
            
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                32
            
            views
        
        
            
            
        Creating layer group through the API gives unexpected error about 'Layer group within a workspace … can not contain resources from other workspace …'
                    I have multiple workspaces with identical structure for presenting different, but structurally identical data sets.
In all I have feature layers "a" and "b", both from PostGIS ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                155
            
            views
        
        
            
            
        QGIS "Render Layers as a Group" Ignores Scale-Dependent Visibility
                    In QGIS 3.40, I've grouped several vector background mapping layers (OS Open Zoomstack data) for easier management. Individual layers (e.g., railway station points) are configured with scale-dependent ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                96
            
            views
        
        
            
            
        Copy layer group from one project to another with PyQGIS
                    Using QGIS 3.8, is there anyway to copy a layer group (and its subgroups) from project1.qgz to project2.qgz? I'm trying to write an script that adds a layer group (with several layers and group layers ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                103
            
            views
        
        
            
            
            
        Layers corrupted after saving, closing and opening of QGIS project with PyQGIS
                    Using a Python script, I create a layer from a CSV file and then write it out to a gpkg file.
I then create a group in the layer tree, load it in the gpkg file and add it as a child of the group. This ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                271
            
            views
        
        
            
            
            
        Applying specific styling to group layers in the LayerList Widget in ArcGIS Maps SDK for JavaScript
                    Using ArcGIS Maps SDK for JavaScript 4.24, I would like to change the formatting of Group Layers within the LayerList Widget, such that the group layers can be immediately distinguished from non-group ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                282
            
            views
        
        
            
            
            
        How to move a layer to a group using Python code in ArcGIS Pro?
                    I am trying to move a layer to a group using python code. Both the layer and the group are in the current/same map in ArcGIS Pro.
I have the following code (the layer to be moved to the group "...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                122
            
            views
        
        
            
            
            
        Combining two rasters at different resolutions with MapServer as a single WMS layer
                    I am trying "Join" two rasters with MapServer 7.6.4 so that they appear as a single layer on a WMS service, I have tried the wms_layer_group and GROUP but without luck. |
2 images one high ...
                
            
       
        
            
                5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                259
            
            views
        
        
            
            
            
        Cloning the map layer using PyQGIS
                    I want to clone my generated memory layer and apply different filters and symbology. The clone is visible in the layer tree, but doesn't show up in the canvas. What am I doing wrong?
uri = f'point?crs=...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
            
            
        Move an existing layer into a group layer using ArcPy in ArcGIS Pro
                    I have a map object and I am trying to move an existing layer from that map object into a newly created group layer in the same map object.
aprx = arcpy.mp.ArcGISProject("Current")
mp = aprx....
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                122
            
            views
        
        
            
            
            
        Viewing memory layers in group with PyQGIS
                    I'm writing a plugin for QGIS and given a layer (self.layer_comuni) from this I extrapolate an indeterminate number of layers depending on the correspondence of the values of the mercato_comuni list ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                419
            
            views
        
        
            
            
        How to programmatically access Trace network layer results when using NETWORK_LAYERS result type in a stand-alone Python script?
                    I have a stand-alone Python script that runs a Connected Trace on a Trace Network.  This is a re-write of an existing script that runs a trace on a Geometric Network.  The script will be published as ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                331
            
            views
        
        
            
            
            
        Remove layers from a group and update LayerSwitcher with OpenLayers?
                    I have a layer group in OpenLayers that initializes empty. This group is added in a layer switcher
var group_search = new ol.layer.Group({
 title: 'Search',
 fold: 'open',
 layers: []
});
map.addLayer(...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                194
            
            views
        
        
            
            
        MapServer wms_layer_group, set title
                    We want to group wms layers in mapfiles and give the group a title that is different from the name.
Until now we did this with GROUP and wms_group_title, but GROUP is deprecated and we want to use &...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                112
            
            views
        
        
            
        C# - Add GroupLayer to Active Map (ArcGIS Pro)
                    I'm trying to add a groupLayer to active map using C# and ArcGIS Pro. Devloping a plugin.
This is my sample code or what I've tried so far:
Esri.ArcGISRuntime.Mapping.Map myMap = new Esri....
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                96
            
            views
        
        
            
            
        Get print composer to acknowledge the "Lock Layers" option when using the "Render Layers as a Group" option
                    I have shapefiles and rasters loaded into a QGIS workspace (3.30, but this issue doesn't seem to be version specific from my experience). I've grouped some of the vector layers and checked the "...
                
            
       
         
         
        