Questions tagged [standalone]
able to operate independently of other hardware or software.
181 questions
0 votes
0 answers
16 views
How to extract layer list in ArcGIS 10.9.1 Standalone Server?
We have an Standalone ArcGIS Server 10.9.1 environment. The objective is to fetch layer list within all services using arcpy or python API. I did found some help articles and stack results, but can't ...
0 votes
0 answers
23 views
QWC2 Standalone bypass themes
I have QWC2 configured in my Django portal serving QGIS projects via QGIS Server. How do I configure it so that it loads the default theme (rather than the "Filter themes..." page). ...
2 votes
1 answer
106 views
Headless script QGIS in Docker hangs forever
I have a custom processing script that basically gets a bunch of information from an API and prints a PDF layout. The script works, and I can get outputs from it on my local Docker environment. ...
2 votes
1 answer
115 views
Getting parameters specified by user in PyQGIS standalone script
I have a custom algorithm, a custom provider and a custom module to trigger the execution of my custom algorithm. The idea is to automate a certain workflow using our server. The custom runner looks ...
1 vote
1 answer
176 views
Run standalone PyQGIS script with processing algorithms from external plugins
Some of the external QGIS plugins contain processing algorithms integrated by the processing toolbox after installation, e.g. the plugin "Shape Tools". How can the processing algorithms from ...
1 vote
0 answers
151 views
"No module named PyQt5.sip" error when using PyQGIS in standalone script
I tried to run Python code from PyQGIS Developer Cookbook | Using PyQGIS in standalone scripts on Windows 10, but I got an error: I installed PyQt5 and PyQt5-sip, and set all paths but the error ...
2 votes
1 answer
291 views
Using QGIS processing algorithms outside the QGIS Python environment
I'm very naively wondering how one can use any of the available native (C++) processing algorithms in a "QGIS-independent" Python Console. More precisely, in the context of a bare system ...
1 vote
1 answer
214 views
import module qgis.core in standalone script with pyqgis without running bat before with environment?
To run a python script (example file "standalone.py") with module qgis.core I have to use a specific bat file (that call the py file!) with the following environment! "rem Call ...
3 votes
1 answer
401 views
Running SAGA Next Gen algorithms in QGIS standalone script
Does anybody know how to run SAGA Next Gen algorithms in a standalone script? It was possible in QGIS 3.28 when the SAGA provider was a core plugin. I recently upgraded to 3.36.2 and installed the new ...
0 votes
0 answers
94 views
Using Python from the QGIS installation without opening QGIS itself
I have a Python script that should be started via a batch file, Using Python from the QGIS installation without opening QGIS itself. Unfortunately this doesn't work because I think the Python ...
1 vote
1 answer
586 views
Converting layer with multiple geometry types into single layers using PyQGIS
I'm developing a standalone script in PyQGIS and have downloaded data from OpenStreetMaps via Overpass Turbo. The data is given as GeoJSON and has been converted to gpkg. It contains multiple ...
3 votes
1 answer
555 views
Using PyQGIS 3 in Visual Studio Code
I did all the steps in the video below: https://www.youtube.com/watch?v=qobogVuXtJU&list=PLbGkCPlkC_XTAUG5HC1WPhxMuZQnBQ7jU&index=1&t=308s When I run the full Python file, it throws this: ...
1 vote
0 answers
43 views
Converting digitized shapefile into network in ArcGIS Pro - Standalone user-defined junction is detected
I am new to ArcGIS. I will briefly present my use case. I have an historical map of a railroad network in Italy. I have georeferenced the map and digitized it accordingly. I have now 2 shapefiles, one ...
0 votes
1 answer
104 views
Can I utilize vectorization to improve performance instead of iterating over QGIS Features?
I am using Python to write a standalone application with QGIS. The application uses requests to allow the user to update a shapefile from the internet on demand. After fetching the shapefile, I need ...
3 votes
2 answers
340 views
Accessing layers from QgsContext transferred by completed QgsTask using PyQGIS
We have a headless QGIS standalone script that needs to run some I/O intensive layer retrieval tasks, each as parallel background threads before doing further GIS processing. We are invoking our ...