59408 Commits

Author SHA1 Message Date
Nyall Dawson
a66e575798 Simplify code and remove dead code 2019-12-10 18:28:11 +10:00
Nyall Dawson
617defd247 Simplify code 2019-12-10 18:28:11 +10:00
Nyall Dawson
e28ad5a998 Simplify code 2019-12-10 18:28:11 +10:00
Nyall Dawson
f7d937dd69 Drop some more unused pal code 2019-12-10 18:28:11 +10:00
Nyall Dawson
d15c9e73b0 Death to pal::RTree 2019-12-10 18:28:11 +10:00
Nyall Dawson
f9a3d0589a Remove last use of pal::RTree 2019-12-10 18:28:11 +10:00
Nyall Dawson
727a4da01f More pal::rtree swaps 2019-12-10 18:28:11 +10:00
Nyall Dawson
94306655b7 More pal::rtree -> QgsGenericSpatialIndex ports 2019-12-10 18:28:11 +10:00
Nyall Dawson
7bbc727d9a Start on QgsGenericSpatialIndex to replace pal rtree with libspatialindex based backend 2019-12-10 18:28:11 +10:00
Nyall Dawson
69844ec896 Start moving some spatial index related functions to QgsSpatialIndexUtils 2019-12-10 18:28:11 +10:00
Alexander Bruy
3a206a6bba move guts of the set layer style to prepareAlgorithm() to keep it
threaded
2019-12-10 09:41:57 +02:00
Alexander Bruy
bd72e02e55 optimize nearest neighbour analysis by storing geometries in the spatial
index and using index to retrieve them instead of making single-feature
requests
2019-12-10 09:28:41 +02:00
Alexander Bruy
363d8d053c const correctness 2019-12-10 09:28:37 +02:00
Alexander Bruy
a5c9c72e26 move QgsDistanceArea initialization to prepareAlgorithm 2019-12-10 09:28:16 +02:00
Alexander Bruy
3910d7774b use deprecated flag instead of hidden 2019-12-10 08:42:33 +02:00
Alexander Bruy
f803b7babb fix strings 2019-12-10 08:39:00 +02:00
Nyall Dawson
358e466517 Fix dox 2019-12-10 13:05:04 +10:00
Nyall Dawson
3aabafc2b9 Make the GPS information dock a stacked panel
Allows the color and symbol settings to open inline instead of as
blocking dialogs
2019-12-10 13:05:04 +10:00
Nyall Dawson
e262056148 [FEATURE][gps] Allow showing a bearing line from the GPS location
pointed in the GPS's direction

Allows users to view a "current path" directional line as they
navigate using a GPS
2019-12-10 13:05:04 +10:00
Nyall Dawson
9356cd8552 New map canvas item QgsGpsBearingItem, for showing a bearing line originating from the GPS location 2019-12-10 13:05:04 +10:00
Nyall Dawson
12e0b0e990 Add QgsMapCanvasLineSymbolItem for drawing QgsLineSymbols as map canvas items 2019-12-10 13:05:04 +10:00
Nyall Dawson
e0fb896ee9 Minor refactor of QgsPointMarkerItem 2019-12-10 13:05:04 +10:00
Nyall Dawson
6ee49072b4 [feature][gps] Add option to auto-rotate the map canvas to match
the GPS heading

When enabled, the map canvas will automatically rotate so that it's
oriented in the same direction as the GPS bearing
2019-12-10 13:05:04 +10:00
Nyall Dawson
5ea5bc438d [mesh] Fix jump on uninitialized value, causing flaky test 2019-12-10 12:39:53 +10:00
Nyall Dawson
ce5841c847 [mesh] Add an angry comment, fix memory leak 2019-12-10 12:39:53 +10:00
Nyall Dawson
7381a2574e [processing] Add another hash to grass imagery tests
This one seems to come up occasionally on Travis
2019-12-10 10:53:08 +10:00
Markus Neteler
f497cf4f41 v.to.rast: fix va -> val 2019-12-10 08:17:48 +10:00
Denis Rouzaud
0391c85360 fix test 2019-12-09 22:29:48 +01:00
Alessandro Pasotti
929aa0ae39
Merge pull request #33304 from elpaso/bugfix-gh33203-take2
Collapse double slashes in URLs regardless of Qt version
2019-12-09 17:53:23 +01:00
Alessandro Pasotti
473a807922 Collapse double slashes in URLs regardless of Qt version 2019-12-09 15:57:46 +01:00
Alexander Bruy
d40a036c03 [processing] port random extract to C++
Also fix unreported bug caused incomplete results when same FID
was used multiple times
2019-12-09 13:28:32 +02:00
Alexander Bruy
cc5b6e74f4 [processing] port zonal statistics to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
4622661f59 [processing] port truncate table to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
c974125fd9 [processing][needs-docs] replace set raster style and set vector style
Python algorithms with generics set layer style C++ algorithm
2019-12-09 13:28:32 +02:00
Alexander Bruy
b85fe90955 [processing] port raster layer statistics to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
2ff85f92df [processing] port pole of inaccessibility to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
2caf9e6ac3 [processing] port points from polygons algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
df3e801f31 [processing] port nearest neighbour analysis algorithm to C++ and add
test
2019-12-09 13:28:32 +02:00
Alexander Bruy
eec0ac07f8 [processing] port geometry by expression to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
c2d1649e60 [processing] port extract specific vertices algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
4bbb07f48f rename processing qgis test to allow running only subset of tests 2019-12-09 13:28:32 +02:00
Alexander Bruy
e0136ff65c [processing] port extract layer extent to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
9615306f44 [processing] port sum line length algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
eeaffb9d79 [processing] port add table field algorithm to C++ 2019-12-09 13:28:32 +02:00
Hugo Mercier
ac958dec89
[postgres] Speed up array parsing (fixes #33226) (#33227) 2019-12-09 10:44:33 +01:00
Matthias Kuhn
099c62d744
Merge pull request #33282 from m-kuhn/legend_marker_symbol_field_dependent
When DD rotation fails to evaluate, fallback to static value
2019-12-09 09:01:08 +01:00
Nyall Dawson
c1280a595f Fix memory leak 2019-12-09 13:54:19 +10:00
Nyall Dawson
2b195e9450 Fix ui build warning 2019-12-09 08:46:30 +10:00
Matthias Kuhn
baded30eb7 Add test for preview rotation fallback 2019-12-08 17:58:32 +01:00
Matthias Kuhn
f57da9604b
Merge pull request #33278 from m-kuhn/invalid_layers
Fix some warnings on invalid layers
2019-12-08 16:54:54 +01:00