Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Nyall Dawson
e5f7accc6a
use another enum
2024-02-10 17:25:22 +10:00
Nyall Dawson
aeacb8fe07
Use enums, not raw ints
2024-02-10 17:25:22 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02:00
Alexander Bruy
88d7a62321
[processing] add point cloud output and point cloud destination parameter
...
to Processing. These are useful for 3rd party tools as outputs can be
automatically loaded on algorithm completion.
It is an API change not visible for users.
2021-11-26 15:37:27 +10:00
Nyall Dawson
c2c0f2574d
[processing] Add parameter type for annotation layers
2021-09-11 07:59:51 +10:00
Alexander Bruy
cfc72ca5f9
handle new point cloud parameter in description files (follow up
...
f801cb6816)
2021-08-23 09:18:35 +10:00
Alexander Bruy
82ad2051e6
fix file permissions
...
remove duplicated short help file
2021-06-21 07:17:36 +03:00
rldhont
5586d4c6e9
[Processing] Fix specific exception type in getParameterFromString
2021-05-13 06:51:29 +10:00
rldhont
943acfd344
[Processing] Fix getParameterFromString to get Vector Layer data types like Feature Source
...
In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
2021-05-13 06:51:29 +10:00
David Marteau
9eb172aa8e
Add multipart option for processing geometry parameter
2021-03-31 08:59:20 +10:00
Julien Cabieces
912dd770c0
[processing] Add missing parameter when reading QgsProcessingParameterField from string
2020-10-28 13:39:26 +10:00
David Marteau
aa0a8ab628
Add geometry filter for processing geometry parameter
2020-09-15 07:39:10 +10:00
David Marteau
4eb931e890
Add geometry processing parameter
2020-09-15 07:39:10 +10:00
Matthias Kuhn
a7e0831dcf
Code style
2020-05-05 22:38:37 +02:00
Alexander Bruy
70c5018b74
map layer data type support in modeler
2020-03-14 08:51:02 +02:00
Alexander Bruy
56971a9880
handle map layer data type when parsing description files
2020-03-14 08:51:02 +02:00
Radoslaw Guzinski
8d1df2adb1
[Processing] Fix setting band parameter from string
...
Optional bool variables are in positions 5 and 6.
2020-02-20 09:32:07 +10:00
Alexander Bruy
5709f84b2f
[processing] add createByDefault argument to directory output
...
constructor
2019-07-15 08:51:01 +10:00
Alexander Bruy
84c530b97b
[processing] make color parameter available to description-based algs
2019-07-09 06:14:48 +03:00
Nyall Dawson
aa8d5cd22e
[processing] Fix API break which breaks some 3rd party providers (e.g. R and Javascript providers)
2019-07-08 13:26:55 +10:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Nyall Dawson
32fbf0a92b
[processing][FEATURE] New parameter type for map scales
...
This adds a new parameter type specifically for map scales,
QgsProcessingParameterScale. The values are evaluated using
self.parameterAsDouble, which returns the map scale
denominator (matching the standard in other parts of the
QGIS API).
Scale parameters are displayed to users using the standard
QgsScaleWidget, which includes the combo box of predefined
scales and a shortcut button to match the current map scale.
2019-03-13 16:52:29 +10:00
Nyall Dawson
021d1ef237
[FEATURE][processing] New parameter types for layouts and layout items
...
Allows processing algorithms which operate on a specific layout
and layout item selection
2019-03-12 08:16:52 +10:00
Etienne Trimaille
2076ca4fe0
replace some PyQt5 to qgis.PyQt
2019-03-09 22:45:51 -04:00
Juergen E. Fischer
9f1fcb72d4
processing: enable translation for parameter descriptions
2019-03-05 20:16:23 +01:00
Nyall Dawson
f34b3170b2
[processing] Fix parsing optional output 'create by default' from string'
2018-05-07 19:17:04 +10:00
matteo
9b22d99707
typos
2018-05-04 11:00:09 +10:00
matteo
b2c0dd96ae
[processing] resurrecting some parameters in Modeler
2018-05-04 11:00:09 +10:00
matteo
177f2c8aea
[processing] resurrecting some parameters in Modeler
2018-05-04 11:00:09 +10:00
matteo
2e67885c3a
[processing] resurrecting some parameters in Modeler
2018-05-04 11:00:09 +10:00
Nyall Dawson
6a2625664e
[processing] Add dedicated "distance" parameter
...
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.
This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!
Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.
Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.
Fixes #16290
2018-04-20 18:27:00 +10:00
Alexander Bruy
a9441218c1
[processing] fix parameters IDs (follow up #6535 )
2018-03-08 11:10:20 +02:00
Matthias Kuhn
a337d2050b
Make use of new processing parameter infrastructure
2018-03-07 09:00:33 +11:00
Matthias Kuhn
1fd74234b4
Add processing parameter type definitions
2018-03-07 09:00:33 +11:00
Matthias Kuhn
0c730596fa
Hide unsupported parameters in modeller
2018-03-01 10:42:51 -05:00
Matthias Kuhn
a0cda52269
Remove outdated comment block
2018-03-01 09:49:50 -05:00
Matthias Kuhn
eba96fb9cc
Add a processing parameter registry
...
to manage parameter metadata in a single place.
2018-03-01 08:12:41 -05:00
Alexander Bruy
178509347a
[processing] add enums support for fields and feature source parameters
...
(follow up 068d74d5)
2018-02-11 14:05:09 +02:00
Alexander Bruy
068d74d51a
[processing] allow enums values to be used in description files
2018-02-08 17:22:20 +02:00
Médéric RIBREUX
5b86407338
Fix parameters and support empty default values for Enums
2017-12-16 11:12:12 +01:00
volaya
1648c79dc2
[processing] fixed parsing of integer parameters
2017-12-13 14:39:11 +01:00
Nyall Dawson
db855029de
Fix not-set defaults for numeric parameters were converted to 0
2017-12-01 20:42:38 +11:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692
[processing] remove Python 2 compatibility layer
2017-11-28 12:27:45 +02:00
Alexander Bruy
bd0b499810
add misssed import after rebase
2017-11-09 20:15:30 +02:00
Alexander Bruy
4b63975eaf
[processing] tests for SAGA provider and related fixes
2017-11-09 18:56:44 +02:00
Nyall Dawson
d9ac3772fd
Update SAGA ParameterTable parameters
2017-11-09 18:56:01 +02:00
Médéric RIBREUX
aa17df1a55
* Add new GRASS 7.2 algorithms.
...
* Fix ParameterRange GUI.
* Fix Multiple values Enum support.
2017-11-04 18:34:25 +01:00