Andrea Giudiceandrea
98d5eb686e
[processing] GDAL Rasterize: make extent parameter optional
...
The corresponding -te parameter in gdal_rasterize is optional (if not specified, it defaults to the extent of the input vector layer)
2022-02-05 11:39:59 +01:00
Nyall Dawson
91ca892c34
Fix translation string
2022-02-05 11:05:51 +10:00
Nyall Dawson
7b9b486096
[processing] When "saving as" a model, if the model name originally
...
was a complete match for the old file name, then update the model
name for the saved as model to also match the NEW file name
E.g.
Scenario 1
- user has a model stored as "Save features.model3", named "Save
features"
- user 'saves as' this model as "Delete features.model3"
- the model name is automatically updated to match the new file
name, i.e. "Delete features"
Scenario 2
- user has a model stored as "Save features.model3", named "Process
incoming features from API"
- user 'saves as' this model as "Save features v2.model3"
- the model name is NOT changed, and is left at the original
"Process incoming features from API" name
2022-02-05 11:05:51 +10:00
Nyall Dawson
a169055277
[processing] Improve UX when saving models
...
- When saving a model to a file, don't require that the model already
has a name entered. Instead, if no model name has been entered then
set the model name automatically to match the selected save filename.
E.g. if the user saves the model as "Process incoming features.model3",
then the model name will be set to "Process incoming features".
- When first saving a model, IF the user HAS already entered a model
name then make the default file name suggested by the dialog match
this model name
2022-02-05 11:05:51 +10:00
Nyall Dawson
e748877a59
[processing] Fix initial directory shown in model open file dialogs
...
should be the users home file, or the last used model directory
2022-02-04 16:34:53 +10:00
Nyall Dawson
8486afbdd1
[processing] Fix model designer sometimes opens behind other windows
2022-02-04 16:34:53 +10:00
Nyall Dawson
a622004e21
[processing] Fix python exception raised after running in-place
...
algorithm which requires no parameters
2022-02-02 05:41:45 +10:00
Nyall Dawson
dd368a4289
When processing is initialized in external scripts, ensure the GRASS,
...
SAGA and OTB providers are included by default
Fixes #45935
2022-02-01 18:14:48 +10:00
Alexander Bruy
9ba642fa49
don't re-add layer to the temporary store
2022-02-01 08:26:43 +10:00
Alexander Bruy
d03ea9cdbc
add tests for reloading output of the GDAL rasterize algorithms
2022-02-01 08:26:43 +10:00
Alexander Bruy
efa4e885be
[processing] reload output layer after GDAL rasterize ( fix #45729 )
2022-02-01 08:26:43 +10:00
Mathieu Pellerin
663a70901f
Apply suggestions from code review
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2022-02-01 05:37:24 +10:00
nirvn
f949adc760
Add spaces to make flake8 happy
2022-02-01 05:37:24 +10:00
nirvn
835fe144cc
[processing] Add missing field types to the advanced (i.e. python) field calculator algorithm
2022-02-01 05:37:24 +10:00
Mathieu Pellerin
e1b8abd5cb
Merge pull request #47049 from nirvn/refactor_missing_array_fix
...
Add missing string,integer,double array field types in the refactor and aggregate algorithms
2022-01-30 18:17:03 +07:00
nirvn
f223ef2112
Address review and tests failure
2022-01-30 16:36:06 +07:00
nirvn
6d4c9e162b
Add array_agg test
2022-01-30 14:39:54 +07:00
nirvn
2918c1a2c7
Skip gml_id to work around gdal >= 3.4 changing default GML format
2022-01-30 13:48:04 +07:00
nirvn
e722475a48
[processing] Add missing {string,integer,double} array types in the field mapping widget
2022-01-30 13:48:04 +07:00
nirvn
069ceeb104
[processing] Add a bunch of missing field types to the add field to attributes table algorithm
2022-01-29 11:30:54 +07:00
Nyall Dawson
8ef270b2cc
[processing] Remove unused 'preconfigured' provider
2022-01-17 16:12:40 +10:00
Alexander Bruy
1c096ceb52
allow negative values for buffer distance in GDAL buffer algorithm ( fix #46667 )
2022-01-06 17:53:54 +10:00
nirvn
406520f754
[processing] Add an optional output extent to the gdal raster calculator algorithm
2022-01-02 13:15:43 +07:00
nirvn
17b9bb8a60
[processing] Add the missing optional extent param to the gdal clip raster by mask aglorithm
2021-12-30 11:22:37 +07:00
Nyall Dawson
26c8fe9aa6
Indent JSON copied from processing history
2021-12-21 15:32:57 +10:00
Nyall Dawson
940270e91f
Also show "Copy as Python" action in right click menu
2021-12-21 15:32:57 +10:00
Nyall Dawson
3714e25800
[feature][processing] As 'copy as json' and 'copy as qgis_process
...
command' actions to right click menu in history dialog
2021-12-21 15:32:57 +10:00
Nyall Dawson
adf290b2b2
Improve title for algorithms in history
...
Use a string with just the input values instead of the python
command
2021-12-21 15:32:57 +10:00
Nyall Dawson
cf0e266a15
Store results for processing algorithm executions
2021-12-21 15:32:57 +10:00
Nyall Dawson
5e5540c890
[processing] Port algorithm log to new history provider API
...
No user visible changes, but we gain the flexibility for better
history storage, including the ability to store the outputs
calculated by the algorithm execution...!
2021-12-21 15:32:57 +10:00
Nyall Dawson
0d332d34ec
[processing] Fix gdal algorithms immediately show wrong or missing
...
parameter value warnings
Fixes #46532
2021-12-21 15:32:08 +10:00
Nyall Dawson
eea2ba3d93
QgsProcessingAlgorithmDialogBase subclasses should also implement
...
the QgsProcessingContextGenerator interface
2021-12-16 11:15:34 +10:00
Nyall Dawson
03d0c573c4
Add mode enum for processing algorithm dialogs so that code can
...
determine if the single execution or batch execution dialog is shown
2021-12-16 11:15:34 +10:00
Nyall Dawson
5333f17791
Ensure that createProcessingParameters implementation in AlgorithmDialog won't leak exceptions to c++ callers
2021-12-16 11:15:34 +10:00
Nyall Dawson
86794dabdc
Fix interface for QgsProcessingParametersGenerator was modified for
...
the python subclasses only and no longer correctly overrides the
base class method
2021-12-16 11:15:34 +10:00
Nyall Dawson
d0718cbffe
[feature] qgis_process now supports running a Python script algorithm
...
directly by specifying the path to the .py file in place of
an algorithm ID or model file path
2021-12-15 15:24:23 +10:00
Nyall Dawson
14436df648
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Nyall Dawson
e7a4e1754d
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Nyall Dawson
87cd100d30
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Benoît Blanc
517aaceff1
Add help string for parameter
2021-12-09 13:01:00 +10:00
Benoît Blanc
28ff415b74
Add supported formats in doc
2021-12-09 13:01:00 +10:00
Benoît Blanc
b9473655b3
Add command-line based tests for ogr2ogr
2021-12-09 13:01:00 +10:00
Benoît Blanc
83a15538e9
Add description for gdal:convertformat in short help string
2021-12-09 13:01:00 +10:00
Benoît Blanc
9213763f0a
Add tests for gdal:convertformat with convert_all_layers parameter
2021-12-09 13:01:00 +10:00
Benoît Blanc
03d495c31c
Rename parameter to convert all layers
2021-12-09 13:01:00 +10:00
Benoît Blanc
495af5a724
Add parameter to skip layername in gdal:convertformat
2021-12-09 13:01:00 +10:00
Alessandro Pasotti
46c47f1fb9
Fix processing toolbox double click
2021-12-06 09:53:43 +01:00
Andrea Giudiceandrea
c72f377cbe
[processing] add missing algs descriptions in qgis.yaml
2021-12-03 06:19:04 +10:00
Andrea Giudiceandrea
da344065c6
[processing] remove useless algs descriptions from qgis.yaml
2021-12-03 06:19:04 +10:00
Andrea Giudiceandrea
8cbf5ec7cb
[processing] Fix "Select by expression" help string
...
removing the link to the user manual online
2021-12-02 09:36:14 +10:00