Nyall Dawson
1d0d22361c
Smoother looking warning icon
2018-04-20 18:27:00 +10:00
Nyall Dawson
6412138259
Indentation
2018-04-20 18:27:00 +10:00
Nyall Dawson
6a2625664e
[processing] Add dedicated "distance" parameter
...
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.
This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!
Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.
Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.
Fixes #16290
2018-04-20 18:27:00 +10:00
matteo
9107da368e
[processing] fix missing import
2018-04-20 18:26:33 +10:00
nirvn
f63d5ad9ac
[FEATURE] Copy statistics panel content to clipboard button
2018-04-20 14:28:43 +07:00
Matthias Kuhn
eb7f755429
Merge pull request #6813 from m-kuhn/constrenderers
...
Const correctness for feature renderers
2018-04-20 08:31:15 +02:00
nirvn
7d787980f5
followup a463858: fix interpol. data widget setValue function
2018-04-20 10:13:35 +07:00
Nyall Dawson
c70c78412c
Fix string capitalization, HIG violations
2018-04-20 11:25:10 +10:00
Nyall Dawson
463a64651f
Modernize code
2018-04-20 11:09:50 +10:00
Nyall Dawson
c961b1f24b
Followup legend text rendering
...
- Use QgsFontButton for setting legend text format
- Tweak some capitalization and layouts
2018-04-20 10:55:16 +10:00
Nyall Dawson
6c892652ac
Followup a463858, fix failing tests
2018-04-20 08:38:15 +10:00
Martin Dobias
2d7addc9f7
Merge pull request #6817 from wonder-sk/legend-text-on-symbols
...
Legend: optional text on top of symbols for vector layers
2018-04-19 15:32:37 +02:00
Martin Dobias
f1a31d09f1
Use standard font for text on symbol
2018-04-19 14:23:49 +02:00
Martin Dobias
00d8dbfb47
Make it possible to load "text on symbol" labels from expression
2018-04-19 14:16:42 +02:00
Nyall Dawson
16465cb38e
Fix Coverity null pointer dereference warning
2018-04-19 20:19:57 +10:00
nirvn
a463858bf3
[processing] restore TIN / IDW interpolation algorithms
2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876
fix interpolation data widget
2018-04-19 17:19:07 +07:00
Juergen E. Fischer
3b59ccc7ce
osgeo4w: add O4W_QT_ variables for qt.conf to qgis.vars
2018-04-19 07:12:33 +02:00
Nyall Dawson
a9d820d37d
[processing] Don't overwrite rows when reordering in multi input
...
dialog
Refs #17327
2018-04-19 14:35:41 +10:00
Nyall Dawson
2eca7ffbe2
[oracle] Fix some errors using oracle connector in db manager
2018-04-19 11:59:27 +10:00
Denis Rouzaud
9627f733cf
remove reference to removed setColorDialogOptions method
2018-04-19 06:51:33 +10:00
Martin Dobias
49b02bf562
[FEATURE] Legend: optional text on top of symbols for vector layers
...
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Martin Dobias
15bf357f6a
Merge pull request #6811 from wonder-sk/overlay-alg-fixes-1
...
Port Intersection algorithm to C++, cleanups and tests
2018-04-18 17:37:34 +02:00
Martin Dobias
721c536185
Merge branch 'master' into overlay-alg-fixes-1
2018-04-18 14:16:50 +02:00
Matthias Kuhn
f2de572390
Do not const-antly forget about grass
2018-04-18 14:00:32 +02:00
Matthias Kuhn
85719e8fab
API documentation
2018-04-18 13:51:08 +02:00
Matthias Kuhn
7e9aeda739
Some const-correctness for rules
2018-04-18 13:34:55 +02:00
Matthias Kuhn
7123803d07
More const-corretness for QgsFeatureRenderer
2018-04-18 13:17:41 +02:00
Martin Dobias
45b264db08
Fixes after review
2018-04-18 13:04:05 +02:00
Matthias Kuhn
3775cdbb60
Const correctness for renderers
2018-04-18 12:51:58 +02:00
Nyall Dawson
0e0e133c7d
[FEATURE][processing] Add sort order option to Add Incremental Field alg
...
This allows users to optionally set a sort order to use when
assigning values in the Add Incremental Field algorithm.
Previously values were always added using the original feature
order. With this change users can control the order in which
features are assigned values.
2018-04-18 20:50:37 +10:00
Matthias Kuhn
eab76e85c7
Merge pull request #6335 from Fanevanjanahary/crs_widget
...
use crs widget picker in db_manager
2018-04-18 12:12:26 +02:00
Matthias Kuhn
9f41a9b821
Merge pull request #6812 from m-kuhn/fix17525
...
Fix relation editor widget in autogenerated forms
2018-04-18 10:08:26 +02:00
Matthias Kuhn
84ec10eeb8
Fix relation editor widget in autogenerated forms
...
Fix #17525
2018-04-18 08:45:33 +02:00
Denis Rouzaud
d28451cddc
[docker] update dependencies
2018-04-17 16:47:59 -04:00
Martin Dobias
4f829fde62
Port Intersection algorithm to C++, cleanups and tests
...
Finally starting a suite of unit tests for overlay algorithms:
- overlay1 - layers that cover various basic overlay situations
- overlay2 - layers where one input has self-intersecting polygons
- overlay3 - layers where intersections return different geometry types
2018-04-17 19:12:58 +02:00
Matthias Kuhn
fe27b011e4
Merge pull request #6807 from m-kuhn/ruleBasedNestedElse
...
Fix identify tool with rule renderer and nested else
2018-04-17 17:57:40 +02:00
Matthias Kuhn
8f8a9ac853
Add test for nested rules in ELSE
2018-04-17 11:46:02 +02:00
Matthias Kuhn
a84cdd45fb
Fix identify tool with rule renderer and nested else
2018-04-17 10:26:28 +02:00
Alexander Bruy
90c65405fd
[processing] use parameter description instead of name when retrieving
...
parameter from the registry
2018-04-17 11:09:30 +03:00
Alessandro Pasotti
11435ce933
Merge pull request #6802 from elpaso/rasteranalysis-tests
...
[tests] Add some tests for 9 cells algorithms
2018-04-17 08:38:31 +02:00
Nyall Dawson
8714e42612
Use wait cursor during lengthy operations in style manager dialog
2018-04-17 10:25:46 +10:00
Nyall Dawson
95c48f19da
[gps] Fix disabled import controls after selecting GPX file
2018-04-17 10:11:07 +10:00
Nyall Dawson
63e450aac7
[oracle] Compile some expression functions
...
Greatly speeds up case-insensitive value matches for oracle
expression based feature requests
2018-04-17 05:46:19 +10:00
Nyall Dawson
99a2025362
[oracle] Fix clazy warnings in iterator
2018-04-17 05:46:19 +10:00
Nyall Dawson
bd5b7717a2
[oracle] Update failing provider test
2018-04-17 05:46:19 +10:00
Nyall Dawson
308460678d
[oracle] Fix expression compilation of integer division
2018-04-17 05:46:19 +10:00
Alessandro Pasotti
5be057c90a
[tests] Add some tests for 9 cells algorithms
...
Note: this does not test the correctness of the
algorithms but only that the filters are correctly
working.
2018-04-16 15:39:07 +02:00
Matthias Kuhn
e93c97cb9b
Merge pull request #6801 from m-kuhn/relRefIdInsteadOfName
...
Use relation id instead of name for nesting detection
2018-04-16 14:21:28 +02:00
Matthias Kuhn
435d8077d5
Use relation id instead of name for nesting detection
2018-04-16 11:54:23 +02:00