Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
1
vote
1
answer
85
views
Deleting GeoPackage vector layers and releasing open file handles with PyQGIS
On Windows 11 I have a PyQGIS script that creates layers from gpkg files. This all works perfectly fine. … I want to delete these layers, recreate the gpkg files and reload them as layers again and this is where it comes unstuck.
Let's say I have two gpkg layers in my project, layer1.gpkg and layer2.gpkg. …
1
vote
1
answer
56
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 …
3
votes
Accepted
Layers corrupted after saving, closing and opening of QGIS project with PyQGIS
I had missed adding the layer to the project, so it wasn't truly part of the project, it just appeared to be.
The answer was to add the layer to the project without rendering it, and then add the laye …