16992 Commits

Author SHA1 Message Date
Nyall Dawson
3dfc931fad Hide internal results from log 2020-03-31 19:35:51 +10:00
Nyall Dawson
f268b09d1b Also show child input values 2020-03-31 19:35:51 +10:00
Nyall Dawson
5963b90f2c [processing][FEATURE] After running a model through the model designer,
show the obtained values for all child algorithm outputs within the designer
canvas

This gives users better tools for debugging models - they can see exactly
what values were output by the child algorithms and flowed into other
parts of their model
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
60af337c3c [processing][FEATURE] Add "Save Log to File" algorithm for models
This algorithm saves the contents of the execution log (right up to
the point in the model at which the 'save log' algorithm executes)
to a file.

It can be used to automatically store the debugging log when running
models for later reference and transparency.
2020-03-31 19:35:28 +10:00
Nyall Dawson
0684d41fe1 Make QgsProcessingFeedback remember logged messages for later recall 2020-03-31 19:35:28 +10:00
Nyall Dawson
dac7bd7272 Update test results due to different random algorithm used 2020-03-31 18:22:12 +10:00
Martin Dobias
a2f86469d3 Fix doxygen, spelling, shared_ptr 2020-03-31 08:51:54 +02:00
Martin Dobias
be98e2f0f6 [FEATURE] Raster layer contour renderer
This new renderer draws contour lines that are calculated on the fly
from the source raster band. It is possible to set interval of contour
lines and symbol used for drawing.

In addition there is support for "index contours" - contour lines
with higher interval, typically drawn with a wider line symbol.

If we generate contour lines on input raster block with the same size as our
output raster block, the generated lines would contain too much detail.
This detail can be reduced by the "downscale" factor - this will request
lower resolution of the source raster.
2020-03-31 08:51:54 +02:00
Alessandro Pasotti
e3b65a4f0e Sipify 2020-03-31 14:23:55 +10:00
Alessandro Pasotti
96bd6894ec Relation editor wdgs: fix ok/cancel button when embedded
Ok/Cancel button were shown even when embedded (followup #34827 )

Also add accessor for editorContext.
2020-03-31 14:23:55 +10:00
Håvard Tveite
c774ade88f
[FEATURE][processing] Add "random points on lines" algorithm
The Random points on lines algorithm supplements the existing "Random points along line" algorithm, and will prove to be more useful to the majority of users than the "original".

Features:

The points are distributed randomly over the lines based on "along the line" distance, meaning that the distribution of the points will be flat over the length of the line (each place on the feature has the same probability of being "hit"). 

The Random points along line, on the other hand, uses a line segment based approach, meaning that the density will depend on the segment length (short segments will have a higher point density than longer ones).
2020-03-31 08:55:47 +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
8bca81838e [processing] Port Raster Band parameter to new widget wrapper API 2020-03-31 01:06:48 +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
6557865b05 [processing] Multi-selection widget can open inline
Affects enum choices and multi-field selection for now
2020-03-31 01:06:48 +10:00
Marco Hugentobler
4cd464059c Revert test gpkg files 2020-03-30 08:26:16 +02:00
mhugent
7523ec2067
Merge pull request #35408 from mhugent/server_project_settings_expanded
Server project settings, add 'expanded' attribute
2020-03-30 07:35:07 +02:00
Ivan Ivanov
f8897d82a6 Updated documentation to clearly state the behavior of aggregate majority/minority 2020-03-30 11:38:56 +10:00
Ivan Ivanov
1c694253db Documentation dyslexia 2020-03-30 11:38:56 +10:00
Ivan Ivanov
5ec5bc98fe FEAT #27230 #27271 [Aggregates] Allow majority and minority statistics on non-numeric fields 2020-03-30 11:38:56 +10:00
Samweli
b399e8a60b removed static wmst settings in provider temporal capabilities 2020-03-30 08:01:58 +10:00
Nyall Dawson
f4b260e49d Cleanup unused API 2020-03-30 08:01:58 +10:00
Nyall Dawson
a06e707a15 Better repr for QgsProcessingFeatureSourceDefinition 2020-03-29 05:56:23 +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
7269d682b3 [FEATURE][processing] Port map layer widget wrapper to new c++ api
This is a test run, after merged I'll port the other similar map layer
parameters (feature source, raster layer, vector layer, etc)
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
Marco Hugentobler
934e30f30e Adapt expected test output 2020-03-27 14:38:32 +01:00
Matthias Kuhn
c81ef4d0df
Merge pull request #35404 from m-kuhn/join_edtiable_cannot_be_cached
[joins] Disable caching if editing is enabled
2020-03-27 13:59:14 +01:00
Matthias Kuhn
acbfb424b8 [joins] Disable caching if editing is enabled
Fixes https://github.com/qgis/QGIS/issues/35403
2020-03-27 10:59:25 +01:00
Denis Rouzaud
4fe477f2b4
Merge pull request #35378 from 3nids/qgsexpressiontreeview
move tree view from the expression builder to a dedicated class
2020-03-27 08:22:05 +01:00
Denis Rouzaud
7d17e0baef add missing method 2020-03-27 07:09:38 +01:00
Denis Rouzaud
d97d2f7f0a more dox 2020-03-27 06:47:02 +01:00
Denis Rouzaud
b3259bf39d fix dox 2020-03-27 06:32:58 +01:00
Denis Rouzaud
4fc4bcfbec mark as deprecated 2020-03-27 06:09:13 +01: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
Denis Rouzaud
2b9c8dc019 fix typo and dox 2020-03-26 16:48:39 +01:00
Alessandro Pasotti
ff0b01251d
Merge pull request #35364 from nyalldawson/new_table_panel_prc
Allowing saving outputs direct to more database formats (and other nice stuff)
2020-03-26 16:30:27 +01:00
Denis Rouzaud
e68af1e598 remove added method to field formatter registry 2020-03-26 15:08:12 +01:00
Denis Rouzaud
ed7c73fb3f add init methods for clarity 2020-03-26 14:55:50 +01:00
Denis Rouzaud
2857896fbd remove non working caching of field values 2020-03-26 14:55:41 +01:00
Denis Rouzaud
bb8bced5d6 move tree view from the expression builder to a dedicated class 2020-03-26 14:55:33 +01:00