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
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
Nyall Dawson
565980f6a1
Fix minimumValue for QgsVectorLayerSelectedFeatureSource
2018-07-06 02:25:08 +10:00
Nyall Dawson
ef6df0ff34
Add feature source test for QgsVectorLayerSelectedFeatureSource
2018-07-06 02:25:08 +10:00
Nyall Dawson
2430529d55
Add feature source test to ensure that empty setFilterFids list results in no features
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
Juergen E. Fischer
fba9982beb
[postgres][db2] username and authcfg are not mutually exclusive (followup aae7a325)
2018-07-04 21:02:10 +02:00
Juergen E. Fischer
761cdaf30a
db provider: Use connection name instead of potentially empty database name when reporting connection success
2018-07-04 18:56:13 +02:00
Juergen E. Fischer
74d58440a7
also handle qgz like qgs on the command line ( fixes #19333 ; followup d66d1eec1b)
2018-07-04 18:55:47 +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
Juergen E. Fischer
d66d1eec1b
osgeo4w: also register qgz extension ( fixes #19333 )
2018-07-04 13:43:42 +02:00
Nyall Dawson
2695e00042
Add a context getter to QgsCoordinateTransform
2018-07-04 13:23:07 +10:00
Nyall Dawson
a04d22890c
Fix warning, unused signal in qgis quick coordinate transformer
2018-07-04 13:23:07 +10:00
Juergen E. Fischer
22ba501642
Fix build on cosmic
2018-07-03 20:56:37 +02: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
Matthias Kuhn
497637b8a5
Merge pull request #7354 from m-kuhn/rangewidget_nostep
...
Handle invalid step size
2018-07-03 07:38:57 -05:00
Matthias Kuhn
2469c9e28e
Fix test
2018-07-03 07:04:24 -05:00
Matthias Kuhn
76f574ad58
Merge pull request #7351 from m-kuhn/auth_server_update_config
...
Allow updating SSL cert custom configuration
2018-07-03 06:35:31 -05:00
Martin Dobias
045b88e75b
Fix abs() warning
2018-07-03 10:33:23 +02:00
Alessandro Pasotti
85da39aa82
Merge pull request #7337 from elpaso/locale-options
...
Add options to override locale and number group sep.
2018-07-03 09:47:43 +02:00
Alessandro Pasotti
b1a67ba85f
Rename variable (code layout)
2018-07-03 09:12:44 +02:00
Alessandro Pasotti
f0724857c8
Re-use variable for current locale
2018-07-03 08:38:34 +02:00
Alessandro Pasotti
fd84f82d29
Fix QLocale bitwise operation and some other minor style issues
2018-07-03 08:26:32 +02:00
Matthias Kuhn
f3682be92a
Handle invalid step size
...
in range widgets in combination with NULL values.
Fix #18583 https://issues.qgis.org/issues/18583
2018-07-02 19:05:57 -05:00
nirvn
648089e7c5
[ui] fix extension added to raster save as vrt's chosen directory
2018-07-03 06:57:23 +07:00
nirvn
a9f253ca81
[ui] fix raster save as vrt tiles groupbox hidden when on by default
2018-07-03 06:57:23 +07:00
Nyall Dawson
f43adf7a8b
Fix test
2018-07-03 09:43:40 +10:00
Nyall Dawson
2cc9bc8f73
[processing] Fix unexpected newlines showing in python command in history dialog
2018-07-03 09:43:40 +10:00