Nyall Dawson
11991c5297
Fix capitalization
2018-09-25 12:41:12 +10:00
Nyall Dawson
ea2c16dd64
[processing][gdal] Dissolve field name should be optional
2018-09-25 11:14:33 +10:00
Nyall Dawson
a3af1f9f3a
[processing][gdal] Add unit tests for Dissolve algorithm
...
Also:
Thanks to @agiudiceandrea:
Fixes #19900
Statistics were erroneously computed on the dissolve field, rather than on the statistic attribute field as it should be.
Fixes #19307
Handle filenames with white spaces (in the same way as Buffer, OffsetCurve, OneSideBuffer, PintsAlongLines algs).
2018-09-25 11:14:33 +10:00
Nyall Dawson
6e06c32a10
[processing] Fix crash when an algorithm dialog is left open and
...
processing options are changed
Make sure the algorithm dialogs use their own copy of algorithms,
instead of the copies owned by the processing registry. Opening
processing options triggers a full reload of providers, deleting
all existing algorithm instances from the registry first.
2018-09-25 10:32:20 +10:00
Nyall Dawson
c2dab4ff18
[processing] Use standard dock margins for results dock
2018-09-25 10:31:15 +10:00
Nyall Dawson
eacf4adb30
Dox++
2018-09-25 08:49:21 +10:00
Nyall Dawson
9fcd4fd00c
Use QgsVectorLayerUtils.matchAttributesToFields in processing in-place edits
2018-09-25 08:49:21 +10:00
Nyall Dawson
a8794001e0
Add method to match feature attributes to the given fields
...
Refs #18784
2018-09-25 08:49:21 +10:00
Nyall Dawson
81487f9f18
Proxy filterNeedsGeometry for inverted/displacement renderers
2018-09-25 05:21:35 +10:00
Nyall Dawson
b5867bff58
Fix legend count is 0 if graduated/categorized expression uses geometry
...
Likely fixes many other bugs too with graduated/categorized renderers
Fixes #15544
2018-09-25 05:21:35 +10:00
Nyall Dawson
93f83a0271
[processing] Remove unnecessary index creation in points in polygons
...
...and rely instead on the data provider's spatial index.
Refs #19919
2018-09-25 05:20:25 +10:00
Peter Petrik
11645ac744
implement simple cache for rendering of mesh layer
2018-09-24 11:04:50 +02:00
Tom Kralidis
746654429c
[MetaSearch] update default CSW connections
2018-09-24 10:41:38 +10:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
...
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885 )
2018-09-22 00:43:27 +02:00
Nyall Dawson
eb24bdb484
Dox
2018-09-22 05:26:29 +10:00
Nyall Dawson
961835cd8e
[processing][GRASS] v.decimate zrange should be doubles, not int
2018-09-22 05:26:29 +10:00
Nyall Dawson
adfaf76168
Another Travis fix
2018-09-22 05:26:29 +10:00
Nyall Dawson
0c79d08d05
Fix tests on Travis
2018-09-22 05:26:29 +10:00
Nyall Dawson
6c35c8b308
Fix broken doxygen link
2018-09-22 05:26:29 +10:00
Nyall Dawson
4a0a48fe47
[processing] Also expose complete expression context inside
...
data defined buttons for model child algorithms
The context was not previously exposed, so users would not have
been aware that they can utilise all the variables and functions
available to parameters within child algorithms.
2018-09-22 05:26:29 +10:00
Nyall Dawson
8f9f975ed6
[processing] Show complete expression context in expression builder
...
for pre-calculated expressions
Correctly exposes ALL the variables and functions available for use
in pre-calculated expressions so that users actually know they can
use these in their models!
2018-09-22 05:26:29 +10:00
Nyall Dawson
8e1c437e02
Allow expression contexts to specify a list of highlighted functions
...
as well as just variable names
In some cases contexts may provide specific functions of use
to that context, or more generally there may be functions we want
to highlight for a particular expression builder (e.g. highlighting
to_dms in the grid annotation builder)
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0
Set widget context for widget wrappers
2018-09-22 05:26:29 +10:00
Nyall Dawson
55e22b9de9
Allow setting the context for widget wrappers
...
The context contains settings which reflect the context ini
which a Processing parameter widget is shown, e.g., the
parent model algorithm, a linked map canvas, and other relevant
information which allows the widget to fine-tune its behavior.
2018-09-22 05:26:29 +10:00
Nyall Dawson
11667683b4
Distance
2018-09-22 05:26:29 +10:00
Juergen E. Fischer
e85c09254c
translation string fix
2018-09-21 15:51:34 +02:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources ( fixes #19885 )
2018-09-21 15:32:19 +02:00
Even Rouault
9e9ddb587e
SIP: fix typemap for QVector<Type*> that was wrongly dropping a Python reference (refs #19885 )
2018-09-21 15:31:28 +02:00
Alessandro Pasotti
0ee119f72b
Merge pull request #7969 from elpaso/bugfix-19901-relation-reference-NULL
...
QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
2018-09-21 10:56:34 +02:00
Nyall Dawson
df657d4fd3
Fix some exceptions when running in-place edit on geometry-less layer
2018-09-21 18:15:46 +10:00
Nyall Dawson
4b24552097
Change QgsProcessingAlgorithm::supportInPlaceEdit to use QgsMapLayer, not QgsVectorLayer
...
Because at some stage in the future we may allow in-place edits to raster layers,
and we don't want to have to break API for this.
2018-09-21 18:15:46 +10:00
Nyall Dawson
e2068b8c1f
[processing] Pass a copy of the feature to processFeature, not
...
the original layer's feature
Otherwise python processFeature implementations may return a
modified shallow copy of this feature, which means that the
test for modifications fails, since we're comparing against
the same feature which was modified.
Fixes some python algorithms do not modify features when used
in-place mode.
2018-09-21 18:02:21 +10:00
Alessandro Pasotti
1b2d885a03
Merge pull request #7966 from elpaso/bugfix-19843-dbmanager-quoted-sql
...
[dbmanager] Fix Update SQL Layer converts query to table name
2018-09-21 09:56:35 +02:00
Nyall Dawson
66f82530bd
[processing] Correctly make extent selection combo box non-editable
...
The choice is supposed to be only from the listed options, and
shouldn't allow free-form user text
2018-09-21 13:16:13 +10:00
Nyall Dawson
f44be44ca9
[processing] Fix capitalization, ellipsis in extent parameter widget
2018-09-21 13:16:13 +10:00
Matthias Kuhn
68dc6984da
Fix build with sip pre 4.19
2018-09-21 01:22:19 +02:00
Alessandro Pasotti
5378e37cf9
QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
...
Fixes #19901 - Relation Reference Widget: Representation for NULL values is not respected
2018-09-20 16:30:02 +02:00
Alessandro Pasotti
a8bf1b8f05
[dbmanager] Fix Update SQL Layer converts query to table name
...
Fixes #19843
2018-09-20 12:43:59 +02:00
Alessandro Pasotti
f208191824
Merge pull request #7946 from elpaso/bugfix-19617-processing-checkvalidity
...
Fix processing algorithm checkvalidity reason
2018-09-20 10:17:12 +02:00
nirvn
5ec3d5d990
[processing] improve in-place feature editing icon & toolbar position
2018-09-20 11:55:46 +07:00
Denis Rouzaud
3ceecbf806
no override in SIP
2018-09-19 20:13:29 -04:00
Alessandro Pasotti
82a5c8f170
Move test from tests to processing folder
2018-09-19 18:29:26 +02:00
Matthias Kuhn
fde813ca82
Merge pull request #7948 from m-kuhn/final
...
It's the `final` countdown
2018-09-19 16:34:54 +02:00
Matthias Kuhn
3cb82a58c8
Merge pull request #7959 from m-kuhn/geometryOptions
...
Add a new QML category "Geometry Options"
2018-09-19 15:52:38 +02:00
Matthias Kuhn
1c359f8acd
Add a new QML category "Geometry Options"
...
And rename QgsGeometryFixes to QgsGeometryOptions
2018-09-19 13:51:00 +02:00
Matthias Kuhn
b2072d8298
Add missing sip magic
2018-09-19 13:48:47 +02:00
Martin Dobias
1390198c37
Fix doxygen link
2018-09-19 13:20:31 +02:00
Martin Dobias
2da705864b
Fix search tolerance when doing identification in 3D map view
...
Until now the identification from 3D map view used tolerance based
on the current view of the main 2D map canvas - that was giving often
unexpected results if the 2D map canvas had significantly different
zoom level from the 3D map view.
2018-09-19 13:20:31 +02:00
Alessandro Pasotti
826056e42c
Merge pull request #7951 from elpaso/bugfix-19802-dbmanager-saved-queries
...
Bugfix 19802 dbmanager saved queries
2018-09-19 11:44:18 +02:00
Matthias Kuhn
b65f725cfa
Rename SIP_FINAL to FINAL
2018-09-19 08:42:44 +02:00