13246 Commits

Author SHA1 Message Date
Nyall Dawson
dab3f5137f Hide inactive providers from model 2018-07-16 11:38:13 +10:00
Nyall Dawson
f6075ca029 [processing] New class QgsProcessingToolboxModel which is
a QAbstractItemModel which represents the providers, groups
and algorithms from the processing registry
2018-07-16 11:38:13 +10:00
Nyall Dawson
4c3aeb8701 Sipify 2018-07-16 10:17:02 +10:00
Salvatore Larosa
f993ec05be Fixes #19417 - AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText' 2018-07-16 09:00:10 +10:00
Luigi Pirelli
f7a1ef1431 Added test for gdal_fillnodata used inside processing 2018-07-13 12:19:40 +02:00
Luigi Pirelli
95246e76cd Mask parameter was wrongly set. Fixes #19409 2018-07-13 11:47:03 +02:00
Peter Petrik
e135b9cf9f [feature] addMeshLayer to qgsinterface 2018-07-13 10:28:40 +02:00
Peter Petrik
4f7017322f [mesh] option to add mesh layer from data source manager dialog 2018-07-13 10:28:40 +02:00
Blottiere Paul
1ca1bd6bd2 Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
67cbb278ca Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
721e309104 Cleaning QgsServiceModule 2018-07-13 08:22:28 +01:00
Blottiere Paul
a214d773f7 More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
cb6b98349a More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
69c1c3a19e Add some version 2018-07-13 08:22:28 +01:00
Blottiere Paul
d49c0d0480 Remove fake method 2018-07-13 08:22:28 +01:00
Blottiere Paul
3cf7c34146 Update doc for QgsConfigCache 2018-07-13 08:22:28 +01:00
Blottiere Paul
a7dfd6e1aa Update doc for QgsMapServiceException 2018-07-13 08:22:28 +01:00
Blottiere Paul
8d6f3bb2e3 Add fake method to test Travis doc 2018-07-13 08:22:27 +01:00
Martin Dobias
48195e0158 Make shade() const 2018-07-12 15:10:12 +02:00
Nyall Dawson
93146f7c9f [processing][saga] Outputs from snap algorithms should both be optional 2018-07-12 11:32:37 +10:00
Nyall Dawson
82364e4295 [processing][saga] Unit tests for snap points to lines/points algs 2018-07-12 11:32:37 +10:00
Rudi von Staden
64352fb159 Fix input parameter types for SAGA SnapPointstoLines 2018-07-12 11:32:37 +10:00
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
61cc8b5774 [processing] Fix exception when dropping model file on qgis window 2018-07-12 10:14:03 +10: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
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
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
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
612c9cb047 Use sets for index results 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
Peter Petrik
4f8c9e18ab also use color ramp shader widget for pseudo color renderer (#7358) 2018-07-06 08:23:29 +07:00
Nyall Dawson
a261a668a0 Fix warning 2018-07-06 02:25:08 +10:00
Nyall Dawson
eb53e3b830 Fix failing feature source conformance tests for QgsVectorLayerSelectedFeatureSource
Fixes #19324
2018-07-06 02:25:08 +10:00
Juergen E. Fischer
ef6ce4ec3f db manager: also add newline when adding a unique id field (fixes #19343)
(cherry picked from commit 870d078479352d61edd902ab9d2ca48e98db9148)
2018-07-05 17:45:18 +02:00
Juergen E. Fischer
86c3e8b8a6 fix build crashes with SIP 4.19.11 2018-07-04 23:37:52 +02:00
Alexander Bruy
6d751dcb70
Merge pull request #7363 from alexbruy/fix-sampling
[processing] fix Random extract/select within subset algorithms
2018-07-04 19:53:53 +03:00
Nyall Dawson
6c014b46ba [processing] Use c++ recent algorithm log, remove python log
Indirectly fixes #19218
2018-07-05 02:37:03 +10:00
Nyall Dawson
d232cde514 [processing] Move recent algorithm log to c++ class 2018-07-05 02:37:03 +10:00
Alexander Bruy
b72f5d1a53 [processing] log cases when subset is smaller than requested number of
features
2018-07-04 19:15:29 +03:00
Alexander Bruy
29207a1617 [processing] fix Random extract/select within subset when subset is
smaller than number of requested features (fix #19322)
2018-07-04 18:30:30 +03:00
Rudi von Staden
57fb4ef27c Add 'not selected' option for optional layer parameters in processing model view
Fixes #19329 (https://issues.qgis.org/issues/19329)

Optional layer parameters in processing algorithms used in the graphical modeler
add an empty string as the default parameter value, which can raise an exception
during algorithm execution. This update replaces the default empty string with a
default 'Not selected' option.
2018-07-04 13:45:46 +02:00
Nyall Dawson
2695e00042 Add a context getter to QgsCoordinateTransform 2018-07-04 13:23:07 +10:00
Matthias Kuhn
b66a6430be
Merge pull request #7344 from m-kuhn/console_no_immediate_print
Make console printing safe again
2018-07-03 12:58:08 -05:00
Nyall Dawson
f43adf7a8b Fix test 2018-07-03 09:43:40 +10:00