Nyall Dawson
83ccb6554e
[processing] Add method to set an explicit override for the default
...
value of a parameter for the GUI only
This allows us freedom to change the default settings for an algorithm
shown when opening the algorithm in the toolbox/batch/model without
changing the underlying default value used for the parameter in the
raw API (which we can't do easily without potentially breaking 3rd
party scripts/plugins)
2020-11-24 13:11:37 +10:00
Alexander Bruy
cc98fe30d9
support static (non-translated) strings as enum values in Processing
2020-11-19 19:33:18 +02:00
Vincent Cloarec
1fbba79a0f
Mesh export processes, first part : infrastructure and export vertices ( #39664 )
...
[processing] Infrastructure for QgsMeshLayer to add processing algorithms, dataset group paramater and dataset time parameter to allow the user to easily choose a dataset.
2020-11-03 06:05:28 +01:00
Alexander Bruy
ee241edb87
completely hide parameter type definition from SIP
2020-11-02 09:50:05 +02:00
Alexander Bruy
5a155f7c23
make QgsProcessingParameterDxfLayers public
2020-11-02 09:49:05 +02:00
Alexander Bruy
2f9236b254
remove from SIP some parameter type definitions
2020-11-02 07:49:04 +10:00
Alexander Bruy
5271ca26f5
make QgsProcessingParameterVectorTileWriterLayers public
...
hide parameter types definitions for TIN and vector tile parameters from
SIPP
2020-11-02 07:49:04 +10:00
Alexandre Neto
279c499bb1
Fix QgsProcessingParameterNumber docstring example
...
(cherry picked from commit 66011b22ce181c93aebeda1f0c320f254a67ca30)
2020-09-25 10:58:12 +10:00
Nyall Dawson
ed6e9ac84c
Dox++
2020-09-21 11:05:34 +10:00
Etienne Trimaille
6076950c68
Add help string for parameters in Processing
2020-09-21 11:05:34 +10:00
David Marteau
518e48c12f
Fix python serialization for geometry processing parameter
...
Fix regexp for referenced geometry parsing
Fix suggested doc strings
2020-09-15 07:39:10 +10:00
David Marteau
6262965df9
Register meta type for geometry processing parameter
...
Fix QgsProcessingParameterGeometry argument list
2020-09-15 07:39:10 +10:00
David Marteau
aa0a8ab628
Add geometry filter for processing geometry parameter
2020-09-15 07:39:10 +10:00
David Marteau
f2b8e6970b
Support point and rectangle as geometry parameter values
2020-09-15 07:39:10 +10:00
David Marteau
4eb931e890
Add geometry processing parameter
2020-09-15 07:39:10 +10:00
vcloarec
07714f3931
port alg to c++
...
and minor fixes
2020-09-10 14:03:11 -04:00
nirvn
8c61a803fc
[FEATURE][processing] Add a save features to file algorithm
2020-07-22 19:11:50 +07:00
Nyall Dawson
398b55ec67
Use correct layer comparators when comparing layer sources in processing
...
Fixes #37394
2020-07-06 13:59:21 +10:00
Denis Rouzaud
0cb8408425
more flags warnings fixes for Qt 5.15 ( #37309 )
...
* more flags warnings fixes for Qt 5.15
* fix sip compilation
2020-06-19 12:02:00 +02:00
Denis Rouzaud
044a05d828
run sipify
2020-06-19 08:47:23 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
e81af2c9e1
[processing] Add metadata setting for file destination parameters
...
to avoid file overwrite confirmation prompt
Fixes #37011
2020-06-09 04:02:32 +10:00
Nyall Dawson
dbe9aa0902
[processing] Port Refactor Fields to c++
...
Having this core algorithm in Python has proved just too unreliable
Refs #36706 , refs #36843
2020-06-02 08:43:54 +10:00
Nyall Dawson
6a1a2e9af0
[processing] Fix handling of vrt, SAGA tif output file names
...
Fixes #35755 , fixes #35770
2020-04-17 16:18:09 +10:00
Nyall Dawson
bb9b25f28b
Add API to flag that a sink supports appending features to existing layers
2020-04-07 17:05:44 +10:00
Nyall Dawson
0d7773a0ee
[processing] Allow setting the optional remapping definition for QgsProcessingOutputLayerDefinition
...
Provides a (currently non-functional) API for specifying optional remapping parameters
for vector outputs.
2020-04-07 17:05:44 +10:00
Nyall Dawson
a7610c5682
Give up on enum class
...
Python says no.
2020-04-02 19:20:40 +10:00
Nyall Dawson
c85f62a968
Make more use of layer type hints to avoid trying to open raster/mesh
...
layers using the ogr provider
2020-03-31 01:06:48 +10:00
Nyall Dawson
1915a16bf3
Port extent parameter to new c++ API widget wrapper
2020-03-25 19:25:40 +10:00
Nyall Dawson
afbe727c1a
Allow serialization of QgsProcessingFeatureSourceDefinition through QgsXmlUtils
2020-03-25 09:42:17 +10:00
Nyall Dawson
6e2c21eb55
[processing] Cleanup handling of "iterate over source" buttons, move
...
creation completely to widget wrapper
2020-03-25 09:42:17 +10:00
Nyall Dawson
b0474d7fd3
[processing] Hookup backend API allowing features sources to be
...
limited to a specific maximum number of features, and allowing
per-source overriding of the default "invalid geometry" handling behavior
2020-03-24 10:53:50 +10:00
Nyall Dawson
517aa9667b
[processing] Port DestinationSelectionPanel to c++
...
This is basically a 1:1 port (+some fixes relating to incorrect signal
emissions and many more tests)
2020-03-17 07:24:40 +10:00
Nyall Dawson
edd0635fe3
[processing] Move responsiblity for creation of file filter strings from python to c++
2020-03-16 10:08:46 +10:00
Alexander Bruy
47070a7d7b
Merge pull request #35076 from alexbruy/maplayer-datatype
...
Data type support for QgsProcessingParameterMapLayer
2020-03-15 16:14:20 +02:00
Nyall Dawson
7b1975ba83
Optionally allow entry of new table names in table name parameter
2020-03-14 16:57:14 +10:00
Nyall Dawson
513966ca80
[feature][processing] Add dedicated parameter type for database tables
...
Allows selection of an existing database table for a specific
database provider connection (the provider must implement the connections API)
2020-03-14 16:57:14 +10:00
Nyall Dawson
93c917f7b6
[feature][processing] Add dedicated parameter type for database schemas
...
Allows selection from the existing database schema for a specific
database provider connection (the provider must implement the connections API)
2020-03-14 16:57:14 +10:00
Alexander Bruy
0181d10080
[feature][processing] data types support for map layer parameter.
...
Allow to define accepted layer types for map layer parameters, for
example vector points and rasters.
2020-03-14 08:51:02 +02:00
Denis Rouzaud
14b80de7ed
fix crash when a sink parameter definition is missing in a processing alg ( #34978 )
2020-03-14 01:03:13 +01:00
Denis Rouzaud
3ccc3b815a
add missing QgsProcessingAlgorithm::parameterAsDateTime ( #35003 )
2020-03-12 09:49:37 +01:00
Nyall Dawson
95ec307399
Fix see also links
2020-03-10 19:10:52 +10:00
Nyall Dawson
4f66115b9c
[feature][processing] Add dedicated parameter type for database connections
...
Allows selection from the registered database connections for a specific
database provider type (the provider must implement the connections API)
2020-03-10 19:10:52 +10:00
Nyall Dawson
616504be59
Add missing parameter dependancies for QgsProcessingParameterCoordinateOperation
2020-03-05 18:55:20 +10:00
Nyall Dawson
3921af8d51
Add missing cast for QgsProcessingParameterDateTime
2020-02-25 12:43:05 +10:00
Nyall Dawson
0efc6f531c
[FEATURE][processing] New parameter type for datetime (or date, or time) values
...
Adds a new parameter type QgsProcessingParameterDateTime for handling
date/datetime/time values
2020-02-24 17:23:41 +10:00
Nyall Dawson
54629b8f21
[FEATURE][processing][API] New parameter type QgsProcessingParameterMapTheme
...
Allows for selection from existing map themes
2020-01-05 20:50:05 +10:00
Nyall Dawson
1c4d691ad2
Dox++
2020-01-04 23:06:03 +10:00
Nyall Dawson
1a74938ba8
[processing] Add option for multiple field parameters to default to
...
selecting all available fields
For some algorithms this is better UX then defaulting to an empty list
2020-01-04 23:06:03 +10:00
Nyall Dawson
fe622dd24a
[API][processing] New parameter type for coordinate operations
...
Allows selection of the proj coordinate operation to use when
reprojecting between two CRSes
2019-12-21 05:07:39 +10:00