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
945eb460fe
Allow dragging and dropping project layers to QgsExtentWidget to copy extent from layer
2020-03-25 19:25:40 +10:00
Nyall Dawson
ab4016209a
More Travis fixes
2020-03-25 09:42:17 +10:00
Nyall Dawson
ffda225796
Travis fixes
2020-03-25 09:42:17 +10:00
Nyall Dawson
9500020b0f
Fix exception when opening gdal algorithms
2020-03-25 09:42:17 +10:00
Nyall Dawson
2ce58cdb9d
Remove some unused ui files
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
Nyall Dawson
41fb4df77f
[processing] Move iterate button to c++
2020-03-25 09:42:17 +10:00
Nyall Dawson
21d12b4ed5
Remove unused processing icons
2020-03-25 09:42:17 +10:00
Nyall Dawson
3b26a0dece
Cleanup unused imports
2020-03-25 09:42:17 +10:00
Nyall Dawson
91d51914a0
Minor cleanup ParametersPanel
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
Cédric Traizet
fb419b638d
OTB plugin modification for OTB 7.1
2020-03-25 08:22:46 +10:00
Nyall Dawson
d4f378a3d2
[processing] Fix incorrect tooltips show for output parameters
2020-03-23 10:16:26 +10:00
lbartoletti
364dc3fd4f
Fix multi split for multilinestring ( #34510 )
...
* Fix multi split for multilinestring
2020-03-20 13:23:11 +01:00
Alexander Bruy
16b4ef8e32
[processing] port expression parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
972223b55e
[processing] port point parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
f4e4adbef8
[processing] port CRS parameter defintion widget to C++
2020-03-19 11:49:13 +02:00
Nyall Dawson
08e850db38
[processing] In batch mode, don't try to run rows with invalid parameter values
...
Previously we would show a warning about these, but then go ahead and try
to run the row anyway (using an empty set of parameters), resulting in
the log being filled with confusing error messages.
Instead, keep the existing warning advising about which values are
invalid, but skip the affected row and don't try to run it at all.
2020-03-19 15:42:13 +10:00
Matthias Kuhn
01c7cb1814
Merge pull request #34928 from gacarrillor/adjust_run_button_status_in_alg_dialog
...
[processing][needs-docs] Adjust status of controls executing an algorithm dialog
2020-03-18 14:42:52 +01:00
Matthias Kuhn
342f1e3396
Merge pull request #31387 from gacarrillor/colour_refactor_fields
...
Show 'template layer' constraints info in the Refactor fields algorithm's UI
2020-03-18 07:10:06 +01:00
Sandro Santilli
b2af13bdcc
[DBManager] Use ST_EstimatedExtent with newer PostGIS
...
Avoids errors with PostGIS 3.0+ ("st_estimated_extent" does not exist
anymore with that version).
2020-03-17 20:36:13 +01:00
Ivan Ivanov
9dc1ade0b5
Reorder the code; Add more context to the algorithm locator; Add more tests
2020-03-18 03:02:28 +10:00
Ivan Ivanov
7684062632
Fix processing locator filter
2020-03-18 03:02:28 +10:00
Ivan Ivanov
9e75e3b542
Add fuzzy search to all possible locator filters; Move to StringUtils::fuzzySearch; Add some tests (that helped!)
2020-03-18 03:02:28 +10:00
Nyall Dawson
dee6f3f30d
Add flag to allow a child algorithm's results to prune back the remaining model branches
...
When an algorithm returns this flag, and after executing it in a model it doesn't set a
certain output which remaining model algorithms depend on, then these branches are
pruned back and don't get executed for the model run.
Allows for creation of algorithms which impact the overall model flow.
2020-03-18 02:52:37 +10:00
Nyall Dawson
a7f33be401
[FEATURE][processing] Add new algorithm "Filter by geometry type"
...
This algorithm filters features by their geometry type. Incoming
features will be directed to different outputs based on whether
they have a point, line or polygon geometry.
Allows for model creation which responds to different input
layer geometry types by applying different logic depending on the
input geometry type.
2020-03-18 02:52:37 +10:00
Nyall Dawson
8b54d2f06c
[processing] Fix conversion of ESRI CRS when running GDAL algorithms under proj 6
...
Fixes #35123
2020-03-17 16:58:09 +10:00
Nyall Dawson
4edc7d11d9
Drop postgis GeoDB class from Processing
...
This class is unused and is a near 1:1 copy of the core connections API
+ db manager classes
2020-03-17 15:10:53 +10:00
Nyall Dawson
184bb0ebb2
Port last postgis alg to connections API
2020-03-17 15:10:53 +10:00
Nyall Dawson
cd2caf84f7
Raise an exception when connection is not specified
2020-03-17 15:10:53 +10:00
Nyall Dawson
3c3efe5f7a
Remove unused spatialite python connection class
2020-03-17 15:10:53 +10:00
Nyall Dawson
ba010f8803
[processing] Use core connections API for Spatialite algorithms instead
...
of Python reimplementation
2020-03-17 15:10:53 +10:00
Nyall Dawson
97e47fa7b8
[processing] Use core connections API instead of Python GeoDB class
...
for postgres connection handling
2020-03-17 15:10:53 +10:00
Nyall Dawson
af56ffb915
Delete DestinationSelectionPanel
2020-03-17 07:24:40 +10:00
Nyall Dawson
dc5da8574f
Fix test
2020-03-17 07:24:40 +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
fe4b2c89f9
Drop PostgisTableSelector
2020-03-16 19:42:02 +10:00
Nyall Dawson
66d084f72d
[processing] Use QgsNewDatabaseTableNameWidget instead of custom
...
dialog when saving processing output direct to postgis
2020-03-16 19:42:02 +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
gacarrillor
f6ee3e81ce
Add 5 tests to remove NULL geometries alg with the remove EMPTY geometries option
2020-03-15 17:37:51 +10:00
gacarrillor
766b1e43b4
Optionally, remove empty geoms in RemoveNullGeometries algorithm
2020-03-15 17:37:51 +10:00
Nyall Dawson
edfc51139b
Remove unused redundant algorithm
2020-03-14 16:57:14 +10:00
Nyall Dawson
d277f9ffb8
Remove unused old postgis widget wrappers
2020-03-14 16:57:14 +10:00
Nyall Dawson
83d2a816fb
[processing] Use proper database schema/table name widgets in algorithms
2020-03-14 16:57:14 +10: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