Loïc Bartoletti
458fa1752d
Bette naming for python
2018-09-24 22:19:51 +02:00
Loïc Bartoletti
f18bc52e57
Fixes #18902 Snapping and tracing inconsistent behaviour
2018-09-24 16:08:49 +02: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
Matthias Kuhn
8d9c96c911
Add final
for sip >= 4.19
2018-09-19 07:47:02 +02:00
Nyall Dawson
17326541cd
[processing] Add method to attempt to reattach model children to linked algorithms
...
Refs #19857
2018-09-19 05:04:09 +10:00
Matthias Kuhn
ddaa8ea4af
inline and virtual are no good friends
2018-09-18 18:53:48 +02:00
Alessandro Pasotti
a74b6262df
[dbmanager] Fix stored queries retrieve
...
Fixes #19802 - DB Manager saved SQL statements are saved empty
2018-09-18 18:22:58 +02:00
Matthias Kuhn
9f407d0b41
Make methods in QgsVectorLayer finally final
2018-09-18 18:04:50 +02:00
Alessandro Pasotti
42573f7476
Merge pull request #7933 from nyalldawson/edit_in_place_feedback
...
[processing] Show a message bar success message after running in-place, parameterless alg
2018-09-18 17:14:58 +02:00
Alessandro Pasotti
001a81bc46
Fix processing algorithm checkvalidity reason
...
Fixex #19617 - Check validity algorithm returns empty reason in attribute table
2018-09-18 16:36:30 +02:00
Alessandro Pasotti
d179635b92
[bugfix] Allow empty null representation in spinboxes
...
Fixes #18583 - Widget "Range": Representation for NULL value is NOT always displayed correctly
2018-09-18 12:54:17 +02:00
Nyall Dawson
e005d6e2b9
[processing][gdal] Strip newlines from custom proj CRS definitions
...
before passing to GDAL commands
Fixes #19855
2018-09-18 14:57:22 +10:00