48756 Commits

Author SHA1 Message Date
Rudi von Staden
dd4c49deae Fix input parameters of SAGA SnapPointstoPoints
Fixes #19382
2018-07-12 11:32:37 +10:00
Nyall Dawson
a5992d0178 [processing] Fail model drop if model file could not be successfully read 2018-07-12 10:14:03 +10:00
Nyall Dawson
41825cab1b [processing] Also accept QgsProcessingOutputLayerDefinition for
layer input values

Since these may result from the output of an earlier child algorithm running
in a processing model.

Fixes #19372
2018-07-12 10:14:03 +10:00
Nyall Dawson
61cc8b5774 [processing] Fix exception when dropping model file on qgis window 2018-07-12 10:14:03 +10:00
Juergen E. Fischer
87bce6ad7e postgresql provider: also quote schema when creating project table (fixes #19394) 2018-07-11 18:34:59 +02:00
Luigi Pirelli
1875b025da
Merge pull request #7362 from rudivs/update_maplayerwidgetwrapper
Add 'not selected' option for optional layer parameters in processing models
2018-07-11 15:25:12 +02:00
nirvn
014375d8de [ui] add tooltip for mysterious 3d point model textless checkbox 2018-07-11 14:10:20 +07:00
nirvn
5300eb4bf4 [3d] increase min/max for point XYZ translation and scale values 2018-07-11 14:10:20 +07:00
Nyall Dawson
af98ff8ba1 Fix crash when cliking within embedded layer dialog, before a project
is selected

Fixes #19369
2018-07-11 06:06:49 +10:00
Martin Dobias
a9c017de90 Fix crash with 2-band rasters 2018-07-10 14:37:03 +02:00
nirvn
2688a9d781 [3d] disable all edit ojects when playing animation 2018-07-10 18:59:23 +07:00
nirvn
64b91cc18c [3d] if slider is at the very end when hitting play, rewind and play 2018-07-10 18:59:23 +07:00
Martin Dobias
73edd8fd73 Improve rendering speed of RGB images in the common case
Avoid doing contrast enhancement unless it is really necessary.

This improved rendering speed of RGB image tiles in my test from around
~130 ms to ~40 ms.
2018-07-10 08:09:41 +02:00
Nyall Dawson
f6ab5f95f7 [processing] Better error when 'Convex hull' algorithm is run on
single point feature layer

Which hints to users to use the 'Minimum bounding geometry' algorithm
instead.

Fixes #19348
2018-07-10 10:24:28 +10:00
Martin Dobias
0a35d43552 Speed up rendering of RGB images
In my simple test case this made map rendering of RGB satellite image tiles
go down by ~50% from ~40ms per tile to ~20ms per tile (in debug version, ahem)
2018-07-09 22:01:11 +02:00
Matthias Kuhn
c4b9106872
Merge pull request #7380 from slarosa/fix_18485
Fixes #18485 - do not truncate project title if filename contains period
2018-07-09 11:19:12 -05:00
Matthias Kuhn
e065df14e5
Merge pull request #7382 from slarosa/fix_typo_19359
Fixes #19359 - fix typo copyed->copied
2018-07-09 11:18:38 -05:00
Martin Dobias
57855cc492 Update interpolation logic 2018-07-09 15:15:38 +02:00
Martin Dobias
d70c37c2ab Allow configuration of interpolation method for animations 2018-07-09 15:15:38 +02:00
Salvatore Larosa
e8eec47b41 Fixes #19359 - fix typo copyed->copied 2018-07-09 15:04:48 +02:00
Salvatore Larosa
7ece90cb95 Fixes #18485 - do not truncate project title if filename contains period
also add a small test
2018-07-09 09:39:06 +02:00
Martin Dobias
ebea35d05f Make it possible to enable/disable playback in loop 2018-07-08 17:22:57 +02:00
Martin Dobias
da5f354434 A button for duplication of keyframes 2018-07-08 17:22:57 +02:00
Martin Dobias
dd8424ccad Use linear interpolation by default, fix crash if the first frame has t > 0 2018-07-08 17:22:57 +02:00
Martin Dobias
98c44564ed Review and travis fixes 2018-07-08 17:22:57 +02:00
Martin Dobias
d1e4c5e0ff Fix a crash with terrain generation from DEM (fixes #17730)
A typical off by one error - reading data outside of heightmap array
2018-07-08 17:22:57 +02:00
Martin Dobias
031e15eebd Read/write animation associated with a 3d map view 2018-07-08 17:22:57 +02:00
Martin Dobias
3c855b29ef Add/remove/edit keyframes in GUI 2018-07-08 17:22:57 +02:00
Martin Dobias
2f6b569c31 Animate in cooperation with QgsCameraController
This is cleaner than just updating QCamera's transform.
Now we interpolate values ourselves, without Qt3D Animation library.
2018-07-08 17:22:57 +02:00
Martin Dobias
ce933380c0 Initial work on animation support
- new class to store animation configuration
- new class for animation configuration GUI
- animation implementation using Qt3D Animation framework
2018-07-08 17:22:57 +02:00
Salvatore Larosa
059d0e21c4 [pyqgis-console] fix link to c++ api doc 2018-07-08 12:44:57 +02:00
Nyall Dawson
05368e4a89 Rename intersect to intersects for consistency with QgsSpatialIndex 2018-07-07 10:54:47 +10:00
Nyall Dawson
38251cbfc9 Fix test 2018-07-07 10:54:47 +10:00
Nyall Dawson
9445095a18 Dox++ 2018-07-07 10:54:47 +10:00
Nyall Dawson
ae4e4cd4bb Return full point container for matches, remove redundant point method 2018-07-07 10:54:47 +10:00
Nyall Dawson
66c17880be Modify kdbush to store feature id alonside point, for optimised storage/retrieval 2018-07-07 10:54:47 +10:00
Nyall Dawson
c41f2072c3 Remove unused file 2018-07-07 10:54:47 +10:00
Nyall Dawson
3ef6c47314 Fix build 2018-07-07 10:54:47 +10:00
Nyall Dawson
612c9cb047 Use sets for index results 2018-07-07 10:54:47 +10:00
Nyall Dawson
682671d18f Optimise point lookup in index 2018-07-07 10:54:47 +10:00
Nyall Dawson
5ce8240cb7 Fix test 2018-07-07 10:54:47 +10:00
Nyall Dawson
6016530846 Sip update 2018-07-07 10:54:47 +10:00
Nyall Dawson
7ac0d561cc Unit tests for QgsSpatialIndexKDBush 2018-07-07 10:54:47 +10:00
Nyall Dawson
004dc184ce Expand QgsSpatialIndexKDBush API 2018-07-07 10:54:47 +10:00
Nyall Dawson
5c552dd359 QgsSpatialIndexKDBush is implicitly shared for fast copies 2018-07-07 10:54:47 +10:00
Nyall Dawson
0df1056dd4 [FEATURE] QgsSpatialIndexKDBush
A very fast static spatial index for 2D points based on a flat KD-tree,
using https://github.com/mourner/kdbush.hpp

Compared to QgsSpatialIndex, this index:
 - supports single point features only (no multipoints)
 - is static (features cannot be added or removed from the index after construction)
 - is much faster!
 - supports true "distance based" searches, i.e. return all points within a radius
from a search point
2018-07-07 10:54:47 +10:00
Nyall Dawson
dd145050f9 Fix indentation 2018-07-07 10:25:47 +10:00
Juergen E. Fischer
8a8c6b51dd spatialite provider: fix retrieval of unicode name of spatial index on views
(cherry picked from commit fbb0b460842727c695308a91120aecd825d835fe)
2018-07-06 23:34:45 +02:00
Gianfranco Costamagna
9f050629c8 FindSIP: use new sip_module_dir variable (#7370)
* 0vars.cmake, FindSIP: Update to save new sip_module_dir variable
sip4 has changed sip_mod_dir to sip_module_dir.
Store the variable for later usage

* Use only new MODULE_DIR sip variable
2018-07-06 13:34:29 +02:00
Matthias Kuhn
5c855b417f fix crasher when rendering a symbol layer subsequent to
rendering a geometry generator layer

Fixes #19121 https://issues.qgis.org/issues/19121
2018-07-06 08:57:33 +07:00