Questions tagged [qgs]
The project file extension of QGIS. Use this tag for questions about this file type, its structure and content or conversion from or to that file type. Don't use this tag for general questions about QGIS and QGIS projects where the *.qgs file or its content isn't the topic.
118
questions
1
vote
2
answers
72
views
Taking QGIS project from one computer to another
I had QGIS set up on my computer with a project I use. It connects to our SQL Server where the field data capture happens.
I just got a new laptop and I wonder how to get that same project on the new ...
2
votes
0
answers
46
views
How to use third party python libraries on QGIS plugins?
I am looking for a way to use third party libraries which uses pyproj in QGIS plugins.
I don't want to ask the user to install the library in the system python environment.
Instead, I want to use the ...
1
vote
0
answers
78
views
Expanding all subfolders in project home directory using PyQGIS
In the QGIS browser, I would love to have all subfolders and ESRI GDBs to be expanded such that I can search for specific datasets via the browser search in the QGIS GUI.
Currently, I struggle with ...
1
vote
0
answers
124
views
Can you open QGIS projects with Q Field from Onedrive?
I configured some projects using QGIS and saved them and the respective layers on a folder in OneDrive. Then I tried to link QField to that folder and use the app to open the projects but the links ...
0
votes
0
answers
42
views
How to prevent some features from being selected on QGIS 3.28
How to prevent some features from being selected on QGIS?
I want to avoid the selection of some features at project level. What I tried so far is this: I created a project macro like this:
from qgis....
0
votes
0
answers
24
views
QGIS use only certain plugins for each project
I would like to make use of certain plugins for each project.
Instead having to disable installed plugins for a particular project, I would like to select the one(s) that I want to use on the project ...
0
votes
0
answers
33
views
Source references to resource files in layout section of *.qgs
I'm making a plugin that moves each resource into a custom folder structure (SHP, RASTER, ETC) and updates the paths within the qgs file.
In the layout section there are also references to resource ...
0
votes
0
answers
60
views
Expression works in one QGIS project, but not another
I have an expression in a Print Layout that populates a label with an attribute, based on which polygons are selected in map view. In the QGIS project that I made, it works perfectly. I tried copying ...
1
vote
2
answers
2k
views
QGIS (3.28.2-Firenze) QGZ save error - "Unable to perform zip"
QGIS (3.28.2-Firenze) QGZ save error gives the message: "Unable to perform zip"
This occurs when trying to save, or save as. Folder location does not matter either.
Trying to save the ...
3
votes
3
answers
316
views
Batch export .QGS to .QGZ
I have multiple .QGS files and I would like to export them to .QGZ.
Right now I'm opening the .QGS file and save as .QGZ one by one, but I have over 180 .QGS files so I'm looking for a way to automate ...
7
votes
1
answer
120
views
Running Python code easily for end users in QGIS
I have a basic bit of code that updates layout names to help manage revisioning and PDF names etc.
Currently, it is run from the project Python actions - so it runs whenever the project is saved, this ...
7
votes
2
answers
287
views
Configuring QGIS Project using external config file
I have a large QGIS project file (let's call it the master project) and would like to use it for several customers.
Currently, I am creating copies of the master project for each customer and ...
3
votes
1
answer
209
views
Getting QGIS Project data from outside Python script
In my project, I have to connect .Net with the QGIS app, so I need to know
how an outside script can get data from QGIS.
I can run this script from .Net perfectly:
from qgis.PyQt.QtWidgets import ...
3
votes
2
answers
267
views
Splitting one QGIS project into two projects
QGIS 3.22.4, on Windows 11, with shapefiles and a lot of reports. On an initial project, only looking at roads, footpathes on a defined region, we started to work with new shapefiles linked to hikes ...
3
votes
2
answers
116
views
Looking for QGIS equivalent of ArcGIS "List By Data Source"
I have a client with many duplicates and redundant layers, we are going through the folders and deleting archiving files.
In ArcGIS Desktop, I select 'List By Data Source' to find out what layers a ...