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.
131
questions
2
votes
1
answer
147
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
39
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
187
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=...
2
votes
1
answer
177
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
78
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
131
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
133
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
49
views
Save group layer to a layer file using arcpy (Convert Labels to Annotations)
I am running the "Convert Labels To Annotation" tool in ArcGIS Pro using the Python window. I need to save the output group layer to it's own lyrx file.
According to the tool documentation, &...
0
votes
0
answers
35
views
Adding temporary layers to a group in QGIS Graphical Modeller
Is it possible to add the temporary layers directly into a group ? Below example in the buffer algorithm's dialog.
0
votes
0
answers
92
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
86
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
70
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 "...
0
votes
0
answers
33
views
GeoServer GroupLayer GetFeatureInfo returns wrong layer feature
I'm currently facing an issue with GeoServer and its GroupLayer functionality. I have created a GroupLayer named confini containing three layers: tutorial:Reg01012023_WGS84 (Regions), tutorial:...
1
vote
0
answers
156
views
Group by multiple columns in QGIS array
I'm looking to create a figure with multiple rule-based symbologies. A graduated range within a category within a main category.
The only way I think that's possible is by adding categories, ranges to ...
2
votes
1
answer
263
views
Enabling the "Render Layers as a Group" option in QGIS through python
I have written a simple python function that loads several existing shapefile layers into a new group in QGIS 3.28. I would like to extend this function to also automatically enable the "Render ...