Alexander Bruy
de7de1e28e
raise an assert if algorithm which should be added to the toolbar is not found
2020-08-17 08:44:41 +03:00
Alexander Bruy
1a76a0963e
add Select By Location to the Selection toolbar ( fix #20350 )
2020-08-16 12:15:22 +03:00
Alexander Bruy
bacf779236
pick Vector menu title from the main QGIS window instead of using own
...
translation (fix #35028 , #28474 )
2020-08-16 12:15:22 +03:00
Matthias Kuhn
2b3b88c515
Merge pull request #37595 from gacarrillor/pr_processing_results_group
...
Load processing results to layer group (optional)
2020-08-08 09:09:00 +02:00
Nyall Dawson
e19f27d289
[processing] Fix hidden column names show in batch processing dialog,
...
throwing the table contents out of sync with the headers
Also make code a bit more robust
Fixes #38054
2020-07-31 16:03:28 +10:00
Nyall Dawson
2104ae613a
[processing] Add mechanism for algorithms to alter their core behavior
...
(e.g. parameters) when they are run in the "edit in-place" mode
This allows algorithms to dynamically adapt their behavior to make them compatible
with in-place mode. Previously, some useful algorithms could not be
run in-place because they alter a layer's structure (e.g. adding new
fields).
Now, these algorithms have a means to detect that they are being
run in-place and change their input parameters accordingly. E.g.
an algorithm which usually adds new fields to store calculated
values (such as "add xy fields to layer") could instead expose
field parameter choices to ask the user to pick from existing
fields in which to store the calculated values, thereby avoiding
the need to change the table structure and making them eligable
for running in-place mode.
Note that this needs to be handled algorithm-by-algorithm, it's
not automatic! It's just the raw api to allow this...
2020-07-28 14:18:20 +10:00
Nyall Dawson
6e2d1023f2
[processing] Fix loading batch settings with date/time values
...
Fixes #37838
2020-07-27 14:19:49 +10:00
nirvn
aa05f7641a
[processing] Fix python error when attempting to re-open generate XYZ tiles algorithm from the history dialog
2020-07-24 13:33:11 +07:00
Andrea Giudiceandrea
33fe1eac27
Fix invalid randompointsonlines algorithm ID in menus.py
...
Fix invalid algorithm ID for menu: qgis:randompointsonlines
The valid algorithm ID is native:randompointsonlines
2020-07-21 09:07:51 +10:00
Germán Carrillo
debe2209fe
Add placeholder to ProcessingConfig (Setting class); use the placeholder for 'results group name' setting
2020-07-20 14:54:50 -05:00
Germán Carrillo
bf6f4c51e4
Load processing results to layer group (optional)
2020-07-20 12:25:06 -05:00
Nyall Dawson
1219f55378
[processing] Fix and improve how in place algorithm parameter widget
...
handles the input layer by creating a new QgsProcessingHiddenWidgetWrapper
wrapper subclass
Fixes #37424
2020-07-10 04:44:30 +10:00
Nyall Dawson
457a526916
[processing] Fix batch panel uses layer ids when auto populating
...
output names based on a layer parameter
Fixes #37554
2020-07-05 07:08:37 +10:00
Håvard Tveite
2a786aede2
[feature][processing] Random points in polygons C++ algorithm
...
Offers the same functionality as the Random points inside polygons
algorithm, and in addition it includes (possible to opt-out) the attributes
from the containing polygon and the ability to specify a seed for the random
number generator.
Could replace the Python algorithm Random points inside polygons, but
this C++ implementation only supports "Points count" ("number of points
for each feature") directly, while "Points density" is supported by allowing the
point count to be data defined (using the polygon area to calculate the
number of points).
2020-07-02 08:25:42 +10:00
Alexander Bruy
9e27f1487c
fix menu entry for Split Vector Layer algorithm
2020-06-04 05:36:19 +10:00
Nyall Dawson
f0bb647c61
[processing] Add a stable way to get processing widgets to stretch vertically
2020-06-02 08:43:54 +10:00
Nyall Dawson
bd8b94aa53
[processing] Avoid showing raw html tags when reporting that layers could not be generated
2020-05-26 15:45:40 +10:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Matthias Kuhn
a7e0831dcf
Code style
2020-05-05 22:38:37 +02:00
Nyall Dawson
69e841a256
Allow specifying hidden parameter values when setting initial parameter values for an algorithm dialog
2020-04-29 17:10:52 +10:00
uclaros
f2353ec934
Make progress count from 0 to 100
2020-04-27 13:41:58 +10:00
Nyall Dawson
60f40f066a
[processing] Fix crashes when running algs in "in place" mode
...
Fixes #35844
2020-04-20 12:01:46 +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
847aadfd08
Fix possible exception in processing history panel
2020-04-13 17:13:24 +10:00
Nyall Dawson
6326ac6b5e
Silly sip nonsense
2020-04-07 17:05:44 +10:00
Nyall Dawson
d69519a91e
Move parameter retrieval logic from dialog to ParametersPanel
...
This is cleaner, because the panel owns all the wrappers required
to evaluate the parameter values
2020-04-04 17:58:55 +10:00
Nyall Dawson
a80bdc47e5
[processing] Add API and interfaces so that widget wrappers can retrieve the
...
current set of parameters for other parameters when required
2020-04-04 17:58:55 +10:00
Nyall Dawson
a7610c5682
Give up on enum class
...
Python says no.
2020-04-02 19:20:40 +10:00
Nyall Dawson
579ef1c5c1
Fix use of enum flags in older python/sip versions
2020-04-02 19:20:40 +10:00
Nyall Dawson
c98cd8d1a8
Partial port of destination wrappers to c++ API
2020-04-02 02:29:54 +10:00
Nyall Dawson
3dfc931fad
Hide internal results from log
2020-03-31 19:35:51 +10:00
Nyall Dawson
cb990c69c2
Setup framework for receiving model child results after running through model designer
2020-03-31 19:35:51 +10:00
Nyall Dawson
e386573c0c
[FEATURE][processing] Port multi-layer input parameter widget to new API
...
Allows
- expression based inputs
- rearrangement of inputs for multi-layer parameters in models, to set
specific layer orders
2020-03-31 01:06:48 +10:00
Nyall Dawson
a682405ccb
[processing] Partial port of Multi Input parameter widget (standard and batch)
2020-03-31 01:06:48 +10:00
Nyall Dawson
865aa931e2
Fix exception in deprecated classes
2020-03-29 05:56:23 +10:00
Nyall Dawson
d327ddd668
Trick autopep
2020-03-29 05:56:23 +10:00
Nyall Dawson
ef4344b674
Default to current layer when appropriate
2020-03-29 05:56:23 +10:00
Nyall Dawson
d40990e155
[feature][processing] Port Feature Source, Raster, Vector and Mesh Layer parameters to new API
2020-03-29 05:56:23 +10:00
Ivan Ivanov
0a1d22574a
Fix unwanted automatic fill of all algorithms when there is no input in the locator
2020-03-28 19:42:42 +10:00
Nyall Dawson
2856e7d2a9
Somedays Travis is just calling out to be punched in the face...
2020-03-28 12:04:43 +10:00
Nyall Dawson
c92b6fba86
Indentation
2020-03-28 12:04:43 +10:00
Nyall Dawson
3d30471731
[processing] When running in a batch mode, move the layer adding
...
actions to the "Autofill" menu
This adds more UI consistency, as currently there's a disconnect
from the autofill options available via the Autofill buttons
vs some options which need to be done from the first rows "..."
button
2020-03-28 12:04:43 +10:00
Alexander Bruy
72404a9038
[processing] use native matrix parameter definition widget
2020-03-27 07:08:42 +10:00
Alexander Bruy
87eefa325e
[processing] use native enum parameter definition widget
2020-03-27 07:08:42 +10:00
Nyall Dawson
44ae5a5e1d
Fix exception in test
2020-03-26 11:55:45 +10:00
Nyall Dawson
6ac9fca497
[FEATURE][processing] Allow loading non-disk based layers direct from browser for
...
feature sources, instead of requiring them to be loaded into a project first
This change allows users to directly browse to non disk-based layer sources
for any processing feature source inputs. It allows these inputs to be
taken direct from postgres, sql server, oracle, wfs, afs, etc layers directly
without having to first load them into a project!
2020-03-26 11:55:45 +10:00
Nyall Dawson
9d0efd3354
Set widget context for QgsProcessingMapLayerComboBox
2020-03-26 11:55:45 +10:00
Nyall Dawson
1915a16bf3
Port extent parameter to new c++ API widget wrapper
2020-03-25 19:25:40 +10:00
Nyall Dawson
ffda225796
Travis fixes
2020-03-25 09:42:17 +10:00
Nyall Dawson
3d6e4963f6
[processing] Move base class of ParametersPanel to c++
2020-03-25 09:42:17 +10:00