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.
2,291
questions
113
votes
5
answers
291k
views
Merging multiple vector layers to one layer using QGIS
I've imported several shapefiles which where exported from a Mapinfo .tab. Several .tab-files are imported resulting in 20+ layers.
Afterwards I want to export it to GeoJSON; but I'm reluctant to ...
66
votes
3
answers
95k
views
Layers with same coordinate system should align/overlap in ArcMap but do not?
I put 4 different layers into my ArcMap document, but only one of them will show up on the map! I should be seeing the other 3 layers as well. When I do a Zoom to layer, I can see one layer, but I ...
52
votes
5
answers
36k
views
Change style properties of several layers simultaneously?
I'm working on bulk data. I have a few hundred GeoTIFF images imported into a QGIS project, and I'd like to modify their layer properties - things like the no-data-value, transparency of certain pixel ...
40
votes
10
answers
53k
views
Georeferencing vector layer with control points using QGIS?
I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
39
votes
5
answers
28k
views
Iterating over map layers using PyQGIS
I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all ...
37
votes
6
answers
41k
views
Difference between map layer and spatial dataset (e.g. feature class, shapefile)?
What is the difference between a feature class and a feature layer?
To me they seem very similar in concept.
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 ...
33
votes
2
answers
25k
views
Filtering features in other layers of QGIS Atlas
I'm trying to use the QGIS Atlas tools to build student 'scattermaps', i.e. display the school and the students that attend that school, for 215 schools.
The schools layer is the coverage layer, and ...
32
votes
1
answer
45k
views
Getting layer by name in PyQGIS
I have a plugin which finds buffer for list of cities, provided the distance. The state and city names are taken from the attribute table and gets filtered accordingly. What I want is my plugin should ...
29
votes
3
answers
7k
views
Organization and tidiness of multiple copies of layers? [closed]
Back in the days when I was in the university I had a "Organization and tidiness" problem – I was unorganized and kept my layers in different folders without distinct names and hence had multiple ...
27
votes
5
answers
24k
views
Getting path of project or layer file in PyQGIS
I am generating new raster files from vector layers on a project. I would like to save them in the same directory as the project or layer files.
How do I find this path using PyQGIS?
27
votes
6
answers
51k
views
Changing data source for all layers in MXD?
I have an MXD. It connects to about 30 layers in one of our SDE databases. I want to change the SDE database they connect to.
Is there a way to do this without having to right-click every layer ...
26
votes
2
answers
36k
views
Setting layer transparency in QGIS 3
I just switched from QGIS 2.18 to version 3.0.3. In the earlier version, setting layer transparency was easily done with the "transparency" slider from the Layer properties->style tab. ...
25
votes
3
answers
22k
views
Making QGIS layer update from changed data source
I'm trying to get layers to update automatically when their data source changes. I'm using R to write a shapefile with an attribute, and colouring according to that attribute in QGIS.
I want to write ...
23
votes
4
answers
70k
views
Cutting/Clipping/Splitting polygon with another polygon from the same layer in QGIS
To not have overlapping polygons/features, I normally use one or more polygons to clip/shape other polygons. This is often much faster than tracing when adding polygons etc.
I cannot find this ...