Skip to main content

Questions tagged [layers]

A layer is a collection of information. It contains specific elements of a gis in a specific presentation method (e.g raster or vector layer). Layers can be edited separately in order to create individual topics for a map.

15 votes
2 answers
44k views

Leaflet: How to move the layer-control menu?

This might be a silly question, but I could not find a documented way to achieve this. I'd like to freely position the layer-control menu, probably to the top left near the default zoom-in/out button....
fgysin's user avatar
  • 570
15 votes
5 answers
37k views

Changing layer order in Leaflet

I would like to be able to change the order of the layers in Leaflet. I tried implementing two Leaflet plugins in order to change the layer order. First I tried leaflet-control-orderlayers, which ...
Bwyss's user avatar
  • 622
15 votes
1 answer
4k views

Repairing data sources in multiple MXDs using ArcPy?

I have about 50 mxd's with all broken layers that I have been going through and manually resetting. The data was moved from another computer and the folder structure was changed so it isn't just a ...
Chaz's user avatar
  • 806
14 votes
3 answers
8k views

Adding layer to group using PyQGIS

I am trying to add new layers into a specific group which I can get to work if I know the index, but how can I get Python to find the index of a group so it can load the new layer into the group ...
Seth Loader's user avatar
14 votes
9 answers
59k views

How to export/save a layer composition to GeoTiff?

I want to export/save a QGIS composition of raster/vector layers to a GEOTIFF or ECW raster with high resolution (20 000 * 20 000 Pixel).
Jim12's user avatar
  • 141
14 votes
1 answer
4k views

Changing display name of layer with PyQGIS?

I did a batch processing of several vector layers and now the display name for every file is "dissolved" when accessing the layer.name() function in QGIS. I read in this answer from underdark to ...
LaughU's user avatar
  • 4,196
14 votes
3 answers
2k views

How to view layers by data source in QGIS 3?

Is there a tool or panel in QGIS 3 that allows a user to view the map layers by data source? Similar to the List By Source view in the ArcMap Table of Contents? I thought I had come across it, but ...
Jay Cummins's user avatar
  • 14.7k
14 votes
1 answer
788 views

Remove reference to raster layer object PyQGIS

I am developing a plugin to load a set of raster files on QGIS. When there is a large number of files to be loaded, the main UI freezes. So I use QgsTask to move the creation of raster layers to a ...
mdc's user avatar
  • 156
13 votes
1 answer
17k views

How to add feature class to MXD with ArcPy (Python)? [duplicate]

I am using ArcGIS 10.1 and I am trying to add a feature class that I create to an MXD, so that I can join to it. This all needs to be done using Python. Is this possible?
ianbroad's user avatar
  • 9,141
13 votes
5 answers
21k views

Z-index in OpenLayers 3: layer ordering in OL3

Is there a method to change Z-indexes of layers in OpenLayers3 like it was in old version? map.setLayerIndex(markers, 99); //set the marker layer to an arbitrarily high layer index I need to change ...
Anuket's user avatar
  • 371
13 votes
2 answers
5k views

Symbols above labels in map QGIS

I didn't find any answer to this question. In this post it is said that labels are by default on top of everything else: How to place labels under a vector layer?. But it was for 2.2, and years went ...
GuiOm Clair's user avatar
  • 1,201
13 votes
1 answer
5k views

Change vector layer symbology PyQGIS 3?

I'd like to change the symbology of my vector layer and can't figure it out how to read the documentation. I would like to have an polygone with an orange outline, a dashed fill style and an orange ...
SaskiaG's user avatar
  • 429
13 votes
1 answer
12k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
Oliver Burdekin's user avatar
13 votes
3 answers
3k views

How to ignore "handle bad layers" in QGIS?

I have a QGIS (2.14.3-Essen) project that I use both at work and at home. I keep all but two layers with the project. The two remaining layers are very large - a DEM and hillshade totaling more than ...
Aaron's user avatar
  • 131
13 votes
1 answer
6k views

Sort layers in QGIS table of contents?

When I load a bunch of layers into QGIS from PostGIS, they seem to load in reverse alphabetical order. Is there any tools or plugins that allow you to quickly sort the QGIS TOC in a different order? ...
RyanKDalton's user avatar
  • 23.1k

15 30 50 per page