3757 Commits

Author SHA1 Message Date
Nyall Dawson
c41dca937c Port processing combineFields to c++ 2017-09-22 15:19:32 +10:00
Nyall Dawson
b39459b8ff Matching default multiple fields should also be case-insensitive 2017-09-22 12:02:48 +10:00
Nyall Dawson
c5b9fa23cd Formatting 2017-09-22 10:56:32 +10:00
Nyall Dawson
94530a9efc Allow setting default value for field parameters in models 2017-09-22 10:50:46 +10:00
Nyall Dawson
15e650d624 Merge pull request #5221 from nyalldawson/browser_awesome
Add QLR, processing models to browser
2017-09-21 05:20:07 +10:00
Matthias Kuhn
b1b21ed25f Merge pull request #5143 from m-kuhn/nulldatasetparams
QgsVectorFilewriter skip default null options
2017-09-20 11:44:57 +02:00
Nyall Dawson
ef97063029 Identation 2017-09-20 18:41:42 +10:00
Matthias Kuhn
a6dc600784
[processing] Fix single sided buffer multiline (bevel) 2017-09-20 08:51:43 +02:00
Nyall Dawson
6e1c5c4d75 [FEATURE] Show processing models in browser
And allow them to be executed and edited directly from there
2017-09-20 14:09:03 +10:00
Matthias Kuhn
d1c73504a5
Remove leftover files 2017-09-19 17:43:57 +02:00
Matthias Kuhn
f638023b9d
[processing] Fix test "Polygon buffer with dissolve" 2017-09-19 15:35:42 +02:00
Matthias Kuhn
6cde4a626d
[processing] Fix test "Single sided buffer multiline (bevel)" 2017-09-19 15:31:20 +02:00
Matthias Kuhn
9b213b6a73
[processing] Fix test "variable buffer on points with dissolve option" 2017-09-19 15:30:19 +02:00
Matthias Kuhn
973dba0d59
[processing] Update python field calculator test results 2017-09-19 15:01:54 +02:00
Matthias Kuhn
0ac02497b9
[processing] Make python field calculator support LongLong 2017-09-19 15:01:54 +02:00
Matthias Kuhn
506b35a75d
[processing] Fix type resolving in python field calculator 2017-09-19 15:01:54 +02:00
Matthias Kuhn
cfabd10b7e
Fix qgis:lineintersections test 2017-09-19 15:01:53 +02:00
nirvn
938f261596 [processing] fix map layer combo box layer reference 2017-09-18 13:37:49 +07:00
Mathieu Pellerin
01468d0879 Merge pull request #5204 from nirvn/saveselected_native 2017-09-16 12:17:11 +07:00
Nyall Dawson
085687d8f0 Also update other spatial join alg 2017-09-16 10:21:54 +10:00
Nyall Dawson
95ab2321e5 Add context menu with Select All/Clear Selection to checkboxes panel 2017-09-16 09:59:13 +10:00
Nyall Dawson
4bae647ad9 Use smaller margins for checkboxes panel 2017-09-16 09:59:13 +10:00
Nyall Dawson
ecf7dd5e4f Update class name 2017-09-16 09:59:13 +10:00
arnaud.morvan@camptocamp.com
b08119bc96 [processing] Add ui option useCheckBoxes in ByLocation algorithms 2017-09-16 09:58:35 +10:00
arnaud.morvan@camptocamp.com
53df3699fd [processing] add ui option useCheckBoxes in CheckValidity 2017-09-16 09:57:13 +10:00
arnaud.morvan@camptocamp.com
534fe21f51 [processing] Add useCheckBoxes option to SelectionWidgetWrapper
This allow to show checkboxes or radioboxes intead of line edit with button.
This is configurable for each algorithm thought ParameterSelection metadata parameter.
It is also possible to choose the number of columns.
This is not applied in case of the BatchDialog.
2017-09-16 09:57:13 +10:00
Nyall Dawson
5bd164b644 Merge pull request #5200 from nyalldawson/drop_handler
[FEATURE][processing] Allow dropping model files onto QGIS window to execute them
2017-09-15 19:42:46 +10:00
Nyall Dawson
f282a753c6 [processing] Fix incorrect filters in vector layer parameter selections 2017-09-15 19:41:19 +10:00
nirvn
04ee85f0e8 [processing] native save selected features algorithm 2017-09-15 15:51:30 +07:00
Nyall Dawson
6300464275 [FEATURE][processing] Allow drag and drop of model files onto QGIS window
to execute them
2017-09-15 18:39:51 +10:00
Nyall Dawson
c5ae3a0c98 Merge pull request #5199 from nyalldawson/extract_by_extent2
[processing] Extent handling improvements
2017-09-15 15:52:00 +10:00
Nyall Dawson
4fd2a1a05c Fix unit test data 2017-09-15 12:23:36 +10:00
Nyall Dawson
60b56db904 Use CRS when calculating extent during algorithm extection 2017-09-15 08:35:11 +10:00
Nyall Dawson
80a1d71131 Return a referenced rectangle from ExtentSelectionPanel 2017-09-15 08:34:47 +10:00
Nyall Dawson
74565e22de Nicer display of rectangle parameter values 2017-09-15 08:34:13 +10:00
Nyall Dawson
d8db3ecc4d [FEATURE] New processing algorithm "extract/clip by extent"
Allows extract a subset of another layer using an extent, with
optional setting to clip geometries to the extent
2017-09-15 08:33:19 +10:00
Giovanni Manghi
3a78253764 fix SAGA LTR vectorizing grid classes tool for QGIS master 2017-09-14 21:03:56 +01:00
Nyall Dawson
d96a3f4dd4 Port simplify geometries to c++ 2017-09-14 09:57:15 +10:00
Nyall Dawson
8e8f3edc55 Port merge lines and smooth to c++ 2017-09-14 09:57:15 +10:00
Nyall Dawson
7c5521ecdf Port fix geometries alg to c++ 2017-09-14 09:57:15 +10:00
Nyall Dawson
bf078b1c84 [processing] Fix intersection and union tools don't work with
input layers with Z or M values present

Also ensure that written geometries are always multitype, to
match the created layer geometry type (before the layer was
being created as a multi* layer, but single part geometries
were sometimes created. This causes errors with some data
providers)
2017-09-14 07:35:54 +10:00
Nyall Dawson
c371b72dfe Merge pull request #5184 from nyalldawson/join_locate
[FEATURE] Reworked processing 'Join by location' alg
2017-09-14 06:09:56 +10:00
Nyall Dawson
742f3e5b4d Merge pull request #5112 from nyalldawson/locator_core
Move locator non-gui classes to core
2017-09-13 18:50:28 +10:00
Nyall Dawson
be88da8173 [FEATURE][processing] Add 'Join by location (summary)' algorithm
Like the main Join Attributes by Location algorithm, this algorithm
takes two layers and combines the attributes based on a spatial
criteria.

However this algorithm calculates summaries for the attributes for
all matching features, e.g. calculating the mean/min/max/etc.

The list of fields to summaries, and the summaries to
calculate for those, can be selected.
2017-09-13 18:45:56 +10:00
Nyall Dawson
458e994d39 [FEATURE] Reworked processing 'Join by location' alg
Improvements:
- transparently handle different source/join CRS
- added option to create output feature for EVERY joined
feature (i.e. 1 to many type join)
- added option to select joined fields to take
- optimised performance of algorithm

The previous option to create a summary of joined features has been
removed, and will be moved to a separate 'Join by location (summary)'
algorithm.
2017-09-13 08:01:56 +10:00
Nyall Dawson
cf16a82419 Fix indentation 2017-09-12 19:23:37 +10:00
Nyall Dawson
4a974eab18 Cleanup model algorithm parameter definition dialog 2017-09-12 17:12:13 +10:00
Nyall Dawson
8fcad6aed9 [processing] List 'All files (*.*)' option last in save as dialogs
See https://ux.stackexchange.com/questions/111689/file-dialog-formats-list-should-all-files-be-listed-first-or-last for discussion:

- for 'file open' dialogs, wildcard options should be listed first
- for 'file save' dialogs, wildcard options should be listed last
2017-09-12 10:20:52 +10:00
Nyall Dawson
a650681061 Merge pull request #5131 from nyalldawson/location_algs
Rework Select by Location algorithm
2017-09-11 15:50:43 +10:00
Nyall Dawson
7f5bd00cbf Merge pull request #5154 from nyalldawson/stats
[processing] Improve Stats by Categories algorithm, remove duplicate algs
2017-09-11 15:50:16 +10:00