47552 Commits

Author SHA1 Message Date
Nyall Dawson
689966ce5a Typo 2018-05-11 23:03:50 +10:00
Nyall Dawson
9bf8fb042c Add some notes about porting field parameters 2018-05-11 23:03:50 +10:00
Nyall Dawson
830ad0b4ce Rough beginnings to processing algorithm porting guide 2018-05-11 23:03:50 +10:00
Nyall Dawson
3e62627ba3 [needs-docs] Tweak wording of Export actions 2018-05-11 22:01:45 +10:00
Nyall Dawson
b87a92b26c Show tooltip in locator actions results if different to action title 2018-05-11 22:01:45 +10:00
Nyall Dawson
0c24e29e85 More descriptive tooltips for some app actions 2018-05-11 22:01:45 +10:00
Nyall Dawson
ad18e04491 Add missing ellipsis to project storage items 2018-05-11 22:01:45 +10:00
Nyall Dawson
98469411ce [needs-docs] Reorganize project menu
- Consistency in action names
- Move import/export actions to a submenu
- Group similar actions together
2018-05-11 22:01:45 +10:00
Denis Rouzaud
0a6f88a4e5 remove map from QgsLocator and rename custom to active prefix
the active/custom prefix info is now accessible only from QgsLocatorFilter
2018-05-11 07:52:41 -04:00
Nyall Dawson
8f05c4e206 Fix incorrect snapping when moving features and using advanced (#6972)
ditizing parallel/perpendicular modes

Refs issue demonstrated in https://www.youtube.com/watch?v=jZYKGrIyVCA
at 25:00
2018-05-11 03:38:36 -08:00
Harrissou Sant-anna
cdc0878346 Use icon instead of text for Add and Remove buttons 2018-05-11 19:48:29 +10:00
Nyall Dawson
3d03cfba8c Update test masks 2018-05-11 17:48:45 +10:00
Nyall Dawson
06d7725cca Fix api break, unit test 2018-05-11 17:48:45 +10:00
Nyall Dawson
0708d84139 Fix positioning of final scalebar label 2018-05-11 17:48:45 +10:00
Nyall Dawson
9ce19af552 Fix failing test 2018-05-11 17:48:45 +10:00
Nyall Dawson
9d2c4fca19 [FEATURE][layouts] Use text renderer for drawing scalebar text
Allows the full range of formatting options exposed through
text renderer - e.g. scalebar text with buffers, shadows,
background shapes, letter spacing, etc.

Say goodbye to unreadable scale bar text!
2018-05-11 17:48:45 +10:00
Nyall Dawson
a06000e0e7 Add method to QgsTextRenderer to retreive scaled QFontMetricsF
from a text format in a specified render context
2018-05-11 17:48:45 +10:00
Nyall Dawson
e53adc154b Add methods to convert QgsTextFormat to and from QFonts 2018-05-11 17:48:45 +10:00
Nyall Dawson
e35d1d0ed9 Fix setting default value for non-multiple enum params 2018-05-11 15:49:52 +10:00
Alexander Bruy
26a97a7da7 [processing] improve default values handling in the enum modeler GUI 2018-05-11 15:49:06 +10:00
Alexander Bruy
e97212e8b7 [processing] correctly restore default values 2018-05-11 15:49:06 +10:00
Alexander Bruy
0046b9f824 add single item to matrix parameter by default 2018-05-11 15:49:06 +10:00
Alexander Bruy
18f3151808 [processing] couple of fixes for matrix parameter 2018-05-11 15:49:06 +10:00
Alexander Bruy
bb0feccec4 [processing] use another icon for clear button and add confirmation 2018-05-11 15:49:06 +10:00
Alexander Bruy
3ec2dfa611 [processing] don't allow multiple enum items to be selected if
allowMultiple is not set
2018-05-11 15:49:06 +10:00
Alexander Bruy
39456ba6b4 [processing] fix handling of the multiple enum values 2018-05-11 15:49:06 +10:00
Alexander Bruy
33cfed2e06 [processing] fix method signature 2018-05-11 15:49:06 +10:00
Alexander Bruy
1ba34dcbea [processing] add matrix and enum parameters to wrappers and handle them
in the modeler dialogs
2018-05-11 15:49:06 +10:00
Alexander Bruy
038da1131d [processing] modeler GUI for matrix parameter 2018-05-11 15:49:06 +10:00
Alexander Bruy
ffa4b04e29 [processing] add modeler GUI for enum parameter 2018-05-11 15:49:06 +10:00
Alexander Bruy
213fc55369 Revert "Merge pull request #6929 from ghtmtt/fix_proc_modeler"
There are no useless parameters in Processing.

This reverts commit fd5e0a7f1947548e0d5bd1f004a586e2ae0b0473, reversing
changes made to 69de345784094730339ca4115bc7ed50beec5a1b.
2018-05-11 15:49:06 +10:00
Nyall Dawson
be73c9605f Spelling 2018-05-11 11:29:34 +10:00
Nyall Dawson
0d520456ea [processing][gdal] Fix conversion of non-EPSG crs parameters
to GDAL compatible strings
2018-05-11 11:29:34 +10:00
Juergen E. Fischer
6b67708166 add libyaml-tiny-perl & python-autopep8 to debian deps 2018-05-11 01:43:43 +02:00
Juergen E. Fischer
a9b663ec0c osgeo4w: include PGEO_DRIVER_TEMPLATE and OGR_SKIP in qgis.vars
(fixes #18234)
2018-05-11 01:27:06 +02:00
Denis Rouzaud
6459d24e5a allow to reset prefixes in settings 2018-05-10 16:11:27 -04:00
Denis Rouzaud
0a0de2ec9f use multimap to allow using the same prefix for several filters 2018-05-10 15:51:07 -04:00
Martin Dobias
b6a26464d4
Merge pull request #6961 from wonder-sk/union-single-layer
[FEATURE] Union algorithm with a single layer
2018-05-10 14:46:38 -04:00
Juergen E. Fischer
9690d8061e add mdal provider to debian and osgeo4w packages 2018-05-10 20:18:46 +02:00
Juergen E. Fischer
968b50f4f0 expression help: support optional parameters and defaults 2018-05-10 20:15:39 +02:00
Martin Dobias
c3279ee544 Add a note about version added for new functions in testing module 2018-05-10 14:10:10 -04:00
Matthias Kuhn
9e1be6e8bd
Merge pull request #6966 from kannes/patch-1
add optional segments argument in buffer function docs
2018-05-10 17:57:00 +02:00
Hannes
e8d1099ff3
add optional segments argument
text taken from single_sided_buffer
2018-05-10 16:58:12 +02:00
Peter Petrik
85f42e7d46 remove build noise from output 2018-05-10 08:08:37 -04:00
Martin Dobias
191b0d4768 union: throw an exception if the second layer is specified but not valid 2018-05-10 07:45:34 -04:00
Martin Dobias
7df062ba63 Updates from Nyall's review 2018-05-10 06:50:58 -04:00
Martin Dobias
aa2b1e9834 Add test for single layer union 2018-05-10 06:50:57 -04:00
Martin Dobias
ef145afca6 Add support for unordered comparison of features of layers
This is useful when an algorithm returns features in no particular order
and sorting features by attributes does not help because there may be
features with the same attributes, giving non-unique sorting orders.
2018-05-10 06:50:57 -04:00
Martin Dobias
73d10afe31 Processing tests: allow topological geometry tests instead of exact tests
This is useful with geometry algorithms when the order of the coordinates of produced
geometries does not need to be exactly the same every time, but the output is still
topologically equivalent.
2018-05-10 06:50:57 -04:00
Martin Dobias
64b8c7250c [FEATURE] Union algorithm for single layer
Resolves all overlapping geometries just like GRASS or Arc do.

So now we have two variants of union:
- union(A) - does union within geometries of one layer
- union(A,B) - does union between geometries of two layers

For union(A,B) algorithm if there are overlaps among geometries of layer A or among geometries of layer B,
these are not resolved: one needs to do union(union(A,B)) to resolve all overlaps, i.e. run single layer
union(X) on the produced result X=union(A,B)

This should also address issues raised in #17131
2018-05-10 06:50:57 -04:00