53861 Commits

Author SHA1 Message Date
Rashad Kanavath
471865afd1 [CI] fix travis test for OtbAlgorithms 2019-02-23 05:20:17 +10:00
Rashad Kanavath
e286d5b99c [CI] install OTB package for OtbAlgorithmsTest
Package will be taken from official OTB repository and will be
maintained by OTB team.
2019-02-23 05:20:17 +10:00
Rashad Kanavath
30bcfebb47 [TEST] add test for OTB processing provider
This includes yaml test like SAGA, GRASS and also test for loading
OTB Algorithms
2019-02-23 05:20:17 +10:00
Rashad Kanavath
3b87f7b17f [FEATURE] [needs-docs] integrate OTB provider to processing plugin 2019-02-23 05:20:17 +10:00
Juergen E. Fischer
1a8cbd1906 Bump version to 3.7 2019-02-22 13:48:26 +01:00
Juergen E. Fischer
aee8ed40b9 changelog and news update for 3.6 2019-02-22 13:47:20 +01:00
Juergen E. Fischer
b4fed682b3 translation update for 3.6 from transifex 2019-02-22 13:47:13 +01:00
Martin Dobias
057b225dae [quick] do not refresh map on click
Whenever user would click on the map (e.g. to identify a feature),
the freeze and subsequent unfreeze would force map refresh even though
it is not needed. A new internal flag is introduced to avoid
the unnecessary map refresh in cases when map has not been moved nor zoomed.
2019-02-22 11:28:39 +01:00
Martin Dobias
0a0d2e995f [quick] do not start moving canvas if the drag distance is too small
Often when users want to click (tap) the map, they still move the cursor
position a bit. This would trigger unwanted map pan and map refresh afterwards.
A configurable minimum drag distance is introduced in order to prevent that.
2019-02-22 11:28:39 +01:00
Juergen E. Fischer
130f3edde9 fix build warning with msvc 2019-02-22 10:13:11 +01:00
Mathieu Pellerin
78e8c34200
[legend] Fix alignment and chopped off text of collapsed data-defined size legend symbol (#9228) 2019-02-22 15:18:06 +07:00
Denis Rouzaud
fcdb4c025c
[vertex tool] small code cleanup (#9237)
* [vertex tool] rename mSelectedFeature to mLockedFeature

* also rename file and class

* remove uselesss method, move code to constructor

and initialize in header

* followup rename
2019-02-21 23:23:40 -05:00
Juergen E. Fischer
c389fad1ad dxf export: don't label invisible features (fixes #19604) 2019-02-22 01:05:04 +01:00
Juergen E. Fischer
56ec47328b dxf export: fix output of closed 3d polylines (fixes #20242) 2019-02-22 00:52:36 +01:00
Juergen E. Fischer
4b55dbef0b dxf export: fix svg scaling 2019-02-22 00:35:01 +01:00
Nyall Dawson
e9c7c86aba Fix misleading template 2019-02-22 06:55:35 +10:00
Even Rouault
df295a801a
Merge pull request #9234 from rouault/fix_21335
QgsGmlStreamingParser: fix parsing of GML geometries with srsDimension='3' set on posList element (fixes #21335)
2019-02-21 19:15:03 +01:00
Even Rouault
466dc359d7
QgsGmlStreamingParser: fix parsing of GML geometries with srsDimension='3' set on posList element (fixes #21335) 2019-02-21 17:39:27 +01:00
Matthias Kuhn
3c2d44bd6c
Merge pull request #9233 from Alexis-B/typo
Typo
2019-02-21 17:25:16 +01:00
Matthias Kuhn
5b230ab820
Fix sip file too 2019-02-21 16:00:03 +01:00
oslandia
4a284b4986 Fixing typo 2019-02-21 14:55:11 +01:00
Luigi Pirelli
5a96fab775
Merge pull request #8968 from volaya/fix_saga_non_ascii
fixed handling of input filenames with non-ascii characters [processing]
2019-02-21 12:35:49 +01:00
volaya
52546db839 [processing] fixed saga test 2019-02-21 10:11:57 +01:00
volaya
40134d6473 [processing] fixed SAGA command writing and test 2019-02-21 10:05:46 +01:00
Matthias Kuhn
5292efd082
Merge pull request #9221 from m-kuhn/relation-reference-field-formatter-cache
Add cache for relation reference field formatter
2019-02-21 09:52:54 +01:00
Martin Dobias
3d99fd5a04 Make sure not to crash if there are no alternatives for right click 2019-02-21 08:53:12 +01:00
Martin Dobias
aec87a0a89 Fix issue with selection of vertices of locked feature (fixes #21283)
When user was coming with mouse to a vertex of the locked feature
from a different feature, it could happen that the vertex would not
get picked by vertex tool - this was because snapToEditableLayer()
keeps the last snap which would belong to a different feature, but
that feature was not allowed (blocking a new snap).

The fix makes sure that with a locked feature its matches always win.
2019-02-21 08:53:12 +01:00
Martin Dobias
7831f3ef23 Continue loop of locked features after mouse move
A small UX improvement: after right click in a location with feature A and B,
we would do a loop A - B - nothing - A - B - nothing ...
But if after first click to get A locked user would move the mouse a bit,
the loop would get broken and would end up with A - nothing - B - nothing - A - B - nothing
The fix is to identify where we are in the cycle and set the index correctly after mouse move.
2019-02-21 08:53:12 +01:00
Martin Dobias
6fd21c2f7c Do not keep highlight when locking/unlocking feature
It was a bit strange effect when locking feature... when moving mouse
over a feature it would have highlight, then on right click it would
also get vertex editor square markers in addition to the highlight, but
then immediately after mouse move the original highlight would be gone.
Now it's simplified so that feature highlight on right click gets removed.
2019-02-21 08:53:12 +01:00
Alessandro Pasotti
e42c6a3529
Merge pull request #9219 from elpaso/bugfix-21303-postgis-slow-table-open
Postgis: cache information about enum fields
2019-02-21 08:32:10 +01:00
Alessandro Pasotti
17280c3e4d
Merge pull request #9203 from elpaso/bugfix-21305-paste-slow-no-provider
Cache unique values when creating features
2019-02-21 08:31:41 +01:00
Matthias Kuhn
4d5dad8172
Merge pull request #9223 from m-kuhn/geometry_validator_summary_cleanup
Geometry validator summary cleanup
2019-02-21 07:53:54 +01:00
nirvn
9280a0717f Remove expression's not-yet-prepared warning 2019-02-21 09:35:06 +07:00
Anita Graser
8768989480 Update README_FONTS 2019-02-21 08:25:31 +10:00
Anita Graser
bcbeda44a7 Update README_FONTS 2019-02-21 08:25:31 +10:00
Alessandro Pasotti
dd7a5f5b1e
Merge pull request #9183 from Gustry/save_comments
keep comments when saving query, fix single line comment
2019-02-20 22:36:24 +01:00
Denis Rouzaud
89e3fce0f9
update model [vertex editor] (#9212)
* [vertex editor] update model

instead of erasing/creating each time

* do not save layer in model since it's already in the selected feature
2019-02-20 15:18:16 -05:00
Julien Cabieces
1c34329234 Allow expression widget to be empty so expression could be removed (#9032)
* fixes #20516 : Allow Constraint widget in attribute type form to be empty so expression could be removed

per widget modification

* correct tests

* Add the clear button on field expression widget when widget is allowed to be empty

* Change API since version to 3.6
2019-02-20 14:41:38 -05:00
Matthias Kuhn
9c0606148d
Adjust test 2019-02-20 19:11:13 +01:00
Matthias Kuhn
9f77b2dd23
Prepare expression and only request required pieces 2019-02-20 18:58:17 +01:00
Matthias Kuhn
5fe225bb4d
Add cache for relation reference field formatter
this speeds up tables with relation reference fields massively
2019-02-20 18:58:17 +01:00
Alessandro Pasotti
7627fb20fd Clear supports enum values cache when attributes change 2019-02-20 18:23:29 +01:00
Matthias Kuhn
968e08c6c9
Geometry validator: do not report result summary as error 2019-02-20 18:14:41 +01:00
Nyall Dawson
eceaea8c35 [layouts] Fix hidden coverage atlas setting is ignored when exporting atlas to images
Fixes #21243
2019-02-21 02:50:41 +10:00
Nyall Dawson
2609d9f057 Update test 2019-02-21 02:49:49 +10:00
Nyall Dawson
33aa63b855 Fix feature request containing a filter expression which needs
both geometry and the magic all attributes flag
2019-02-21 02:49:49 +10:00
Peter Petrik
b981c8a895 update to MDAL 0.2.0 (friendly release for QGIS 3.6) 2019-02-20 16:51:06 +01:00
Luigi Pirelli
b7776f55bb
Merge pull request #9107 from AchilleAsh/fix_20170_postgis_connection_recovery
Fix Postgresql connection reset not being called in PostgisProvider
2019-02-20 16:02:42 +01:00
Alessandro Pasotti
4f30a44be2 Postgis: cache information about enum fields
This is called several times and can slow down substantially
the opening of the attribute table.

Partially fixes #21303  (down from ~30 to ~6 seconds on a remote
connection)

The remaining ~4 seconds (compared to ~2 seconds in 2.18) are due
to the check for enums and provider-side  constraints, that were
not implemented in 2.18.

See: QgsEnumerationWidgetFactory::fieldScore and the call to
enumValues for details, fieldScore is called several times
because QgsAttributeTableModel::loadAttributes is also
called multiple times and it queries for widget configuration
all the times.
2019-02-20 15:02:50 +01:00
Matthias Kuhn
ddbd06f3f1
Merge pull request #9207 from mbernasocchi/master
Add safety guard when mDataProvider is not set
2019-02-20 14:02:16 +01:00