nirvn
410f4d024f
Add test, fix issue raised by test
2021-03-31 11:50:23 +07:00
David Marteau
9eb172aa8e
Add multipart option for processing geometry parameter
2021-03-31 08:59:20 +10:00
nirvn
edaf49c1f5
[processing] Add a help string to tell users what they can do in the history dialog
2021-03-29 15:06:49 +07:00
nirvn
7b66ba8291
[processing] Use algorithm icon and friendly display names in the history dialog
2021-03-29 15:06:48 +07:00
nirvn
fb2240ecac
[processing] Properly style the history dialog's python command string
2021-03-29 14:03:29 +07:00
Andrea Giudiceandrea
57f589dd36
[dbmanager] Fix deprecation warning
...
Replace deprecated QgsCodeEditor setMarginVisible() with setLineNumbersVisible() for SQL dialog windows
2021-03-29 08:18:39 +10:00
Denis Rouzaud
cf1ffdaaa1
Merge pull request #42376 from troopa81/fix_oracle_ci
...
Split CI providers test
2021-03-26 10:51:10 +01:00
nicogodet
bf9efccff2
Fix GDAL overwrite and some minor fixes ( #42447 )
...
Automatically overwrite files in some gdal algorithms, in order to match the behavior of other processing algorithms which automatically overwrite existing files
Fixes #42248
2021-03-25 09:17:41 +10:00
Nyall Dawson
286fd207c4
[processing][saga] Fix misleading 'layer could not be generated' error
...
after running algorithms which create raster files
2021-03-24 14:21:44 +10:00
Julien Cabieces
1821d7af47
Run providers tests in different CI jobs
2021-03-23 10:53:38 +01:00
Marco Bernasocchi
60f788c91d
Allow loading GPKG layers with GEOMETRY type ( #42253 )
2021-03-16 15:58:55 +01:00
Harrissou Sant-anna
6e20ee86ae
Use correct spelling for qgsProcessingException class
...
Fix typo
2021-03-16 04:49:35 +01:00
Andrea Giudiceandrea
e11b7f0230
[processing][gdal] Fix parsing of creation options for Roughness alg
2021-03-16 11:36:09 +10:00
Nyall Dawson
8240788799
[processing] When an algorithm is run in place through the 'ef' locator
...
filter, ensure the progress bar is removed when the algorithm
finishes
Otherwise it hangs around in the message bar until it's manually
dismissed, unlike the behavior when you run an in-place operation
through the toolbox.
2021-03-16 10:44:40 +10:00
Nyall Dawson
35a781d441
[processing] Fix misleading "cancel" label shown for "close" button
...
This button isn't a cancel button - it just closes the dialog, and
doesn't abort any changes which have already been made as a result
of running the algorithm through the dialog.
2021-03-16 10:20:53 +10:00
Nyall Dawson
1040fe8705
Don't silently swallow exceptions in python context managers
...
Notably this causes processing modules to silently fail to load
without any warnings if the required dependancies (such as pyscopg2)
are not installed
2021-03-04 07:39:47 +10:00
talledodiego
0e6ffc7045
[gdal] rasterize - Include the possibility to use Z of feature to extract burn values
2021-03-03 11:16:13 +10:00
Nyall Dawson
7e5b6dde2f
Loosen test precision following Geographiclib area calculation switch
2021-02-27 13:15:22 +10:00
Nyall Dawson
2cbffdd9bc
[processing][gdal] Partially revert 570972b22707533
...
- gdal_calc command is gdal_calc.py, not gdal_calc
- commandName() method is used for more than just the command line
generation, so move extension handling to getConsoleCommands() only
2021-02-27 11:43:40 +10:00
Nyall Dawson
fe566bcc09
Merge pull request #41847 from nyalldawson/fix_41839
...
Fix many issues in gdal algs...
2021-02-27 09:34:39 +10:00
Nyall Dawson
6a7e4c133e
[processing][gdal] Fix escaping of connection string in OGR to postgis
...
alg
Fixes #41839
2021-02-26 12:05:53 +10:00
Nyall Dawson
964431a0cc
[processing][gdal] Fix SQL command in points along lines algorithm
2021-02-26 12:05:41 +10:00
Nyall Dawson
c5dd8714a8
[processing] Fix escaping of srcnodata argument in Build Virtual Raster
...
alg
2021-02-26 12:02:59 +10:00
Nyall Dawson
33b0dbe761
[processing][gdal] Fix escaping of delimiter parameter in retile
...
algorithm
2021-02-26 11:50:51 +10:00
Nyall Dawson
0a6436402d
[processing][gdal] Don't insert 'temporary file' strings in command for non-specified optional outputs
2021-02-26 11:47:37 +10:00
Nyall Dawson
ea113cbf4a
[processing][gdal] ";" characters must be escaped when running gdal
...
commands
2021-02-26 11:30:49 +10:00
Nyall Dawson
d6a706a817
Merge pull request #41814 from agiudiceandrea/fix-gdalprovider-outputrasterext
...
[processing] Fix output raster extensions list for GdalAlgorithmProvider
2021-02-26 10:19:11 +10:00
Alexander Bruy
acd627e913
[processing] add r.quantile algorithm with plain text output which can
...
be directly used as input for r.recode
2021-02-25 10:05:01 +02:00
Andrea Giudiceandrea
d43245c6ac
[processing] Fix sort order of output raster extensions list
...
to make it easier to find the extension in the long list of available extensions in the "Save to File" window of the GDAL provider algorithms
2021-02-25 07:49:02 +01:00
Andrea Giudiceandrea
91c8b23e90
[processing] Fix GdalUtils getSupportedRasters()
...
in order to correctly retrieve multiple extensions from GDAL drivers metadata DMD_EXTENSIONS instead of DMD_EXTENSION. See https://gdal.org/development/rfc/rfc46_gdal_ogr_unification.html#drivers-and-driver-registration
2021-02-25 07:36:19 +01:00
Andrea Giudiceandrea
ae097d41c7
[processing] Fix GDAL supported output raster extensions
...
Fix GdalAlgorithmProvider supportedOutputRasterLayerExtensions(self) in order to correctly return GdalUtils.getSupportedOutputRasterExtensions() instead of GdalUtils.getSupportedRasterExtensions()
2021-02-25 07:18:41 +01:00
Nyall Dawson
e11801d34e
Require Proj version 6 or later, drop old proj 4 compatibility code
2021-02-23 12:47:04 +10:00
Matthias Kuhn
a825b5af35
Merge pull request #41738 from m-kuhn/alg_exec_no_selection_unbound_local
...
Fix calling in place with empty iterator
2021-02-22 21:59:36 +01:00
Matthias Kuhn
60ad7d43b3
Fix calling in place with empty iterator
...
```
File "/home/mkuhn/.local/share/QGIS/QGIS3/profiles/default/python/plugins/autocurve/plugin.py", line 127, in curvify
AlgorithmExecutor.execute_in_place(alg, {})
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 305, in execute_in_place
ok, results = execute_in_place_run(alg, parameters, context=context, feedback=feedback)
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 214, in execute_in_place_run
results, ok = {'__count': current + 1}, True
UnboundLocalError: local variable 'current' referenced before assignment
```
2021-02-22 15:06:19 +01:00
Juergen E. Fischer
61b6cc21e8
followup 570972b227075335f2b4a6ca2d5e6cb00330a0f6
2021-02-21 19:26:44 +01:00
Juergen E. Fischer
570972b227
processing/gdal: use batch files instead of modules on windows
2021-02-21 17:46:14 +01:00
Nyall Dawson
af0fb8bb87
[processing] Fix GDAL algorithms hang when gdal command is not available to run
2021-02-21 15:04:31 +10:00
Evan Derickson
0a3b7d36f8
Make argument setting consistent
2021-02-20 12:26:00 +10:00
Evan Derickson
5302feb2dd
Add line break for consistency
2021-02-20 12:26:00 +10:00
Evan Derickson
f87386aa0a
Making formatting consistent
2021-02-20 12:26:00 +10:00
Evan Derickson
f3a60ebfe7
Simplify other_fields checker
2021-02-20 12:26:00 +10:00
Evan Derickson
6d5bf2b5c4
Revert f-string conversion
2021-02-20 12:26:00 +10:00
Evan Derickson
a366d5b26c
Refactor climb.py
2021-02-20 12:26:00 +10:00
Evan Derickson
26ad7c6a46
Simplify other_field checker
2021-02-20 12:26:00 +10:00
Evan Derickson
97880d74d5
Simplify other_fields detection
2021-02-20 12:26:00 +10:00
Evan Derickson
ef6799fad4
More append thinning
...
Along with some other loop optimizations
2021-02-20 12:26:00 +10:00
Evan Derickson
0e63799012
Reduce appends
2021-02-20 12:26:00 +10:00
Evan Derickson
dcde81fb1b
Thin out unneeded function calls
2021-02-20 12:26:00 +10:00
Jean-François Bourdon
64d921fe53
Reformat elapsed time in processing to express time in hours, minutes and seconds ( #41573 )
...
When appropriate, express the elapsed time in hours, minutes and seconds in addition to cumulative seconds.
2021-02-20 06:35:16 +10:00
Nyall Dawson
c8d61499ff
[processing] Instead of a hidden parameter for verbose model logging,
...
add an explicit log level getter/setter to QgsProcessingContext which
algorithms can use to determine an appropriate level of feedback
to push to users.
Initially the verbose log only triggers the full verbose output
of model executions (which is also used when running models through
the model designer), but the intention is that more algorithms
will fine tune their output based on the logging level.
qgis_process also gains a new --verbose switch to enable verbose
log output.
2021-02-20 05:04:00 +10:00