Julien Cabieces
1c9e032beb
Fixes crash when displaying relation editor
2020-03-17 18:03:23 +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
Ivan Ivanov
5241d64dcb
code formatting
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
Matthias Kuhn
2770e2c327
Merge pull request #35035 from m-kuhn/value_relation_description
...
Add description to value relation widget
2020-03-17 15:32:46 +01:00
Nyall Dawson
06e663eccd
Pixel perfect model rendering
2020-03-17 19:40:01 +10:00
Alessandro Pasotti
d83da3cf8d
Merge pull request #34997 from suricactus/expression_edit
...
Add ability to edit, import and export user expressions
2020-03-17 10:31:09 +01: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
cb883b0610
Add capability for determining whether a spatial index exists (implemented
...
for GPKG, spatialite) and deleting a spatial index (implemented for GPKG)
to database connection
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
6a4b67f770
Add API for creating spatial indexes to QgsAbstractDatabaseProviderConnection
2020-03-17 15:10:53 +10:00
Harrissou Sant-anna
50c4efb6ca
Fix corresponding dox and update debug message
2020-03-17 10:21:30 +10:00
Harrissou Sant-anna
21f39d127e
Fix deprecated method redirection
2020-03-17 10:21:30 +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
nirvn
35c11288a0
Make use of nice new tech for the new spatialite layer dialog:
...
- Use a provider connection combo box to list connections
- Use database provider connection functions to store a
new connection
2020-03-16 21:15:18 +07: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
3966d3f06e
Wrap QgsNewDatabaseTableNameWidget in a dialog class for convenience
2020-03-16 19:42:02 +10:00
Nyall Dawson
40d5efce9b
Add QgsConnectionRegistry
...
This registry provides a convenient place to add API relating
to generic connection fetching and handling methods
Currently contains a single method, which allows for retrieving
matching connections using a "provider://name" format (e.g.
"postgres://my connection")
2020-03-16 19:34:25 +10:00
Nyall Dawson
b2016551b3
Add missing file
2020-03-16 10:08:46 +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
Nyall Dawson
51f40f7180
Add interface class QgsFileFilterGenerator for classes which can generate a file filter string
2020-03-16 10:08:46 +10:00
Nyall Dawson
62112ac911
[processing] Add missing parameter types to alg wrapper
2020-03-16 10:08:25 +10:00
Denis Rouzaud
a93db7d7c5
add a completer for the file widget when creating a new GPKG ( #35072 )
2020-03-15 22:22:18 +01:00
Matthias Kuhn
9b9c906de3
Merge pull request #34876 from olivierdalang/plugins_take_2
...
[plugin manager] allow to install stable or experimental
2020-03-15 20:31:17 +01: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
Ivan Ivanov
bc23d86253
Change indentation; Sipified; Fix class modifiers
2020-03-14 11:23:00 +02:00
Ivan Ivanov
e2725a9ec5
Add the ability to edit user expressions
2020-03-14 11:23:00 +02: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
Nyall Dawson
7b1975ba83
Optionally allow entry of new table names in table name parameter
2020-03-14 16:57:14 +10:00
Nyall Dawson
30fbf24f8f
Add API to show empty entries in QgsDatabaseTableComboBox
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
cf310c5d45
Add API to show empty entries in QgsDatabaseSchemaComboBox
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
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