New answers tagged qgis-processing
0
votes
Save processing modeler output layers to project folder/relative path?
If you want to save all output files to the same folder in the project directory you can enter the expression @project_home || '//output' as output directory in an algorithm.
The folder "output&...
1
vote
Saving processing results in file with QGIS Modeler
It is possible to save processing results as .gpkg to a dynamic filepath and directly load the newly created layer to the project :
The expression I used is:
file_path(@csv) ||'/'||base_file_name(@...
4
votes
Creating table from polygon or closed polylines in QGIS
You could use the "Create Grid" Tool. In my simple example, I only have one polygon in my layer so I could simply calculate the extent of the grid from the layer:
This results in this grid:
...
1
vote
QGIS Processing SAGA nextgen provider does not find SAGA folder
I work with a network Windows profile. It seems that the plugin tries to run CDM from a UNC path (my Document folder): but it doesn't work.
I added cwd = SagaUtils.sagaPath() to the plugin util.py ...
1
vote
Update processing scripts in QGIS 3
possible workaround, run script in the python console:
qgis.utils.run_script_from_file('filepath/filename.py')
0
votes
Using memory layer as input with processing runalg in PyQGIS
As simple as:
temp_layer = processing.run("native:reprojectlayer",
{'INPUT': r'C:\filename1.shp',
'TARGET_CRS': ...
2
votes
Accepted
Add in content of text file in algorithm dialog in Processing tools text box
To use a custom widget in a processing algorithm you need to create a custom widget class (use QWidget not QDialog) and a widget wrapper class. The WidgetWrapper class needs to have a createWidget() ...
2
votes
Accepted
Running PyQGIS processing algorithms within FME PythonCaller
Try import processing within the input method.
The name error processing is appearing undefined so this seems like a scoping problem.
Header imports are global, but those in init appear to be only ...
Top 50 recent answers are included
Related Tags
qgis-processing × 1698qgis × 1041
pyqgis × 656
qgis-3 × 308
qgis-plugins × 198
python × 120
qgis-modeler × 112
grass-gis × 104
saga × 80
pyqgis-3 × 72
qgis-2 × 69
raster × 60
gdal × 35
vector × 31
r × 30
standalone × 27
polygon × 26
error × 24
batch × 24
buffer × 23
raster-calculator × 23
shapefile × 22
geometry × 22
postgis × 21
algorithm × 21