Alessandro Pasotti
83979c30ef
Server: fix wrong comment and log message
2020-04-16 09:34:05 +02:00
Nyall Dawson
3b3c7d8012
Hookup model logic for correct skipping of branches which shouldn't be run
2020-04-16 16:02:53 +10:00
Nyall Dawson
bb968024b4
Expose conditional branches as dependency options for child algorithms
2020-04-16 16:02:53 +10:00
Nyall Dawson
4eceb007e6
Less model log chatty
2020-04-16 16:02:53 +10:00
Nyall Dawson
6a1b10686b
[FEATURE][processing] New modeler algorithm for conditional branches in models
...
This algorithm allows useres to setup multiple conditions (via qgis expressions),
which cause their corresponding branch of the model to be run or skipped
depending on the result of the expression evaluation.
Sponsored by Andreas Neumann
2020-04-16 16:02:53 +10:00
Nyall Dawson
05bc716827
Move model child algorithm dependencies selection widget to c++, make inline panel
2020-04-16 16:02:53 +10:00
Nyall Dawson
e3955df564
Add method to model API to get available dependencies for a child algorithm
2020-04-16 16:02:53 +10:00
Nyall Dawson
b2167594fe
Make handling of processing child algorithm dependencies more flexible
...
Instead of just using child ID strings, use a new dedicated class to
store dependency information
2020-04-16 16:02:53 +10:00
Nyall Dawson
359df3ce38
Pipe critical message log errors to stderr in qgis_process
...
Notably, this now outputs the full Python error trace when an
error occurs while loading a plugin
2020-04-16 16:02:41 +10:00
Nyall Dawson
061e8587cd
When an error occurs while loading a plugin, tag it as a Critical message
...
instead of just a Warning message
2020-04-16 16:02:41 +10:00
Etienne Trimaille
cac5a0cae8
display plugin name when an error occured in qgis_process
2020-04-16 10:30:05 +10:00
Matthias Kuhn
29adf2eea0
Do not skip first line on value map csv import
...
Fix https://github.com/qgis/QGIS/issues/32250
2020-04-16 08:24:57 +10:00
Matthias Kuhn
7a116789ce
Fix sort order of value map import of csv
...
Fix https://github.com/qgis/QGIS/issues/32250
2020-04-16 08:24:57 +10:00
Matthias Kuhn
928525fbd8
Improve load file dialog title
2020-04-16 08:24:57 +10:00
Alessandro Pasotti
9a869115e9
Try to fix mxe (again)
2020-04-16 08:24:38 +10:00
Nyall Dawson
7fd72f3b4e
[FEATURE][processing] Allow reordering model inputs
...
Instead of forcing a quasi-random ordering of inputs for models,
this commit exposes a new "Reorder Model Inputs" option in the model
designer which allows users control over the exact order of
inputs to show users for their model.
No more illogical ordering like showing a field choice before the
layer choice it's based on!
Sponsored by NaturalGIS
2020-04-16 06:03:48 +10:00
Alexander Bruy
2770c4990e
Merge pull request #35790 from alexbruy/connections-fixes
...
import/export for ArcGIS Map and FeatureServer connections (fix #27485 )
2020-04-15 20:20:23 +03:00
Alessandro Pasotti
869e148f69
Merge pull request #35688 from elpaso/alias-expressions
...
Forms: expression controlled aliases (labels)
2020-04-15 15:09:15 +02:00
Martin Dobias
2589750595
Bring back commented out lines in the test
2020-04-15 13:38:19 +02:00
Martin Dobias
2dc3930385
Try to fix test: probably due to file://c:/xxx instead of file:///c:/xxx
2020-04-15 13:38:19 +02:00
Martin Dobias
bd2277562e
blind try to fix a test
2020-04-15 13:38:19 +02:00
Martin Dobias
ba7b785870
Address comments from Nyall's review
2020-04-15 13:38:19 +02:00
Martin Dobias
59c1ac348d
Add support for identify tool for vector tile layers
...
Also:
- enables saving/loading of layer definition files (.qlr) with vector tile layers.
- makes fields of vector tile layers sorted so they are easier to navigate
2020-04-15 13:38:19 +02:00
Alexander Bruy
840d204636
[feature] enable import/export of ArcGIS connections ( fix #27485 )
2020-04-15 13:35:11 +03:00
Alexander Bruy
99a930ca51
[feature] add API to import/export ArcGIS MapServer and FeatureServer
...
connections. This is API-only change not visible for users.
2020-04-15 12:54:58 +03:00
Alessandro Pasotti
6f3cac2d3e
Tag current_value and current_parent_value functions as not static
...
... and use the new approach for dynamic labels
2020-04-15 11:13:24 +02:00
Alessandro Pasotti
83e42f5bac
Apply PR comments
2020-04-15 10:48:16 +02:00
Alexander Bruy
76872fb5c9
Merge pull request #35764 from alexbruy/ds-manager
...
Add XYZ tiles to Datasource manager dialog and Layers menu
2020-04-15 11:26:24 +03:00
Nyall Dawson
d746b513f3
Another test fix
2020-04-15 18:20:27 +10:00
Nyall Dawson
ae18de7b9c
Add missing file
2020-04-15 18:20:27 +10:00
Nyall Dawson
523470d42c
Fix more travis tests
2020-04-15 18:20:27 +10:00
Nyall Dawson
606fa851b0
Travis test nonsense
2020-04-15 18:20:27 +10:00
Nyall Dawson
bfadf47d16
[FEATURE] Allow running model files direct from standalone qgis_process tool
2020-04-15 18:20:27 +10:00
Nyall Dawson
91b29aa5fd
Add unit tests for qgis_process
2020-04-15 18:20:27 +10:00
Nyall Dawson
bafa1db128
Spelling
2020-04-15 18:20:27 +10:00
Nyall Dawson
ba7ffcf6a0
Fix mac build
2020-04-15 18:20:27 +10:00
Nyall Dawson
3d1d699b69
Abort if mandatory parameters aren't specified
2020-04-15 18:20:27 +10:00
Nyall Dawson
bbf7dfbc7b
Improved algorithm help output
2020-04-15 18:20:27 +10:00
Nyall Dawson
47cbd8c24a
BSD handling
2020-04-15 18:20:27 +10:00
Nyall Dawson
f11deee4de
Allocate on stack
2020-04-15 18:20:27 +10:00
Nyall Dawson
1140a0856d
Don't include sigwatch on Windows builds
2020-04-15 18:20:27 +10:00
Nyall Dawson
f9a58d21cd
Rename 'qgis_transform' to 'qgis_process'
2020-04-15 18:20:27 +10:00
Nyall Dawson
019035b1c1
[FEATURE][processing] New standalone console tool for running processing algorithms
...
This new qgis_transform tool allows users to run processing algorithms
(both built-in, and those provided by plugins) directly from the console.
Running:
- "qgis_transform list" will output a complete list of all available
algorithms, grouped by provider.
- "qgis_transform plugins" lists available and activated plugins which
advertise the hasProcessingProvider metadata option (only these plugins
are loaded by the tool)
- "qgis_transform help algid" outputs the help and input descriptions
for the specified algorithm, e.g. "qgis_transform help native:centroids"
"qgis_transform run": runs an algorithm. Parameters are specified by a
"--param=value" syntax. E.g.
qgis_transform run native:centroids --INPUT="my_shapefile.shp" --OUTPUT="centroids.kml"
or
qgis_transform run native:buffer --INPUT=/home/me/my.shp --DISTANCE=20 --OUTPUT=/home/me/buffered.shp
While running an algorithm a text-based feedback bar is shown, and the
operation can be cancelled via CTRL+C
Sponsored by the Swedish User Group
2020-04-15 18:20:27 +10:00
Nyall Dawson
5ae631ac91
Try to fix crash on GEOS 3.8.1 when empty coordinate sequence is returned
...
for a point geometry
Fixes #35719 , fixes #35526
2020-04-15 16:48:24 +10:00
Nyall Dawson
731aa90080
Fix a test under proj 6
2020-04-15 16:01:08 +10:00
vcloarec
7b0e808695
adapt mesh trace renderer for volume
2020-04-15 15:57:26 +10:00
Alexander Bruy
261553dd28
fix docs
2020-04-15 08:33:55 +03:00
Martin Dobias
8c488b4ef0
Added QgsRenderContext arg to referencedFields() + unit tests
2020-04-15 08:33:29 +10:00
Martin Dobias
8ec0dc53fe
Few bits from the review
2020-04-15 08:33:29 +10:00
Martin Dobias
a3807cf2a1
Added @zoom_level variable for data-defined styling
2020-04-15 08:33:29 +10:00