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
Alessandro Pasotti
1730cf9a70
Merge pull request #33265 from elpaso/bugfix-gh33057-gpkg-windows-storage
...
Attempt to fix Windows GPKG project storage
2019-12-08 15:58:07 +01:00
Matthias Kuhn
c1bbe2fd28
Fix data defined rotation detection
2019-12-08 15:02:58 +01:00
Matthias Kuhn
348d2169eb
When DD rotation fails to evaluate, fallback to static value
...
The old behavior was to always fall back to 0 in case of a failing expression. Which made it hard to create a proper legend in some cases.
E.g. if you had two symbol layers with the following expressions for their rotation
"orientation"
And
90 + "orientation"
which would be two orthogonal symbol layers (e.g. denote a right angle), rotated by an orientation field.
Now in the legend (and symbol preview), both layers would be shown with a rotation of 0, because there is no associated feature with a field orientation.
The new behavior is to fallback to the static, configured values which makes it very intuitive to configure the legend for these cases.
2019-12-08 15:02:58 +01:00
Matthias Kuhn
fc5c95c28b
Merge pull request #33279 from m-kuhn/sandboxed_expression_mode
...
Fail expression evaluation if missing field is referenced
2019-12-08 14:42:52 +01:00
Matthias Kuhn
b92679ad66
Make use of microoptimization
2019-12-08 14:04:06 +01:00
Alessandro Pasotti
341c85a461
Merge pull request #33280 from elpaso/bugfix-gh33203-broken-link-on-slash
...
Bugfix gh33203 broken link on slash
2019-12-08 12:18:51 +01:00
Matthias Kuhn
1f9414cb60
Update tests for non existing fields
2019-12-08 08:46:58 +01:00
Matthias Kuhn
1175d55e92
Microoptimization
2019-12-08 08:33:25 +01:00
Alessandro Pasotti
e1ea0f3c50
Add py code examples to api
2019-12-07 17:34:12 +01:00
Alessandro Pasotti
9af63012db
Also accept collection URLs with ending slash
...
Fixed #33203
2019-12-07 17:33:35 +01:00
Matthias Kuhn
2672c74393
Merge pull request #33263 from m-kuhn/azure_mark_failing
...
Mask failing Windows tests
2019-12-07 14:18:21 +01:00
Matthias Kuhn
e1b016bc2b
When evaluating an expression with a missing referenced field, this will be replaced with [fieldname].
...
When calculating data defined values, this will be counterproductive.
A field with a data defined value might work well in the expression builder (because fiels are all present) but fail in the legend, because it's rendered with no feature and hence fields. With this change, we can at least use `try("fieldname", 0)` to fallback to a default value.
2019-12-07 13:15:44 +01:00
Matthias Kuhn
3bf8d96ad3
Remove unneeded ;
2019-12-07 13:15:41 +01:00
Matthias Kuhn
332550ed55
Typo
2019-12-07 13:11:25 +01:00
Matthias Kuhn
727c397c93
Update src/app/qgisapp.cpp
2019-12-07 12:59:50 +01:00
Matthias Kuhn
4d6758d12c
Merge pull request #33246 from m-kuhn/nan_null
...
Support for NaN in text edit widget
2019-12-07 12:00:22 +01:00