68615 Commits

Author SHA1 Message Date
Matthias Kuhn
0b2c951e65 Bump Minimum Python version to 3.6 2021-01-20 09:25:47 +10:00
Matthias Kuhn
d931c4ce98 Update python build dep version 2021-01-20 09:25:47 +10:00
Matthias Kuhn
99f556fbb9 Remove duplicate cmake command 2021-01-20 09:25:47 +10:00
Matthias Kuhn
526ef598c2 Bump minimum python version to 3.5
To get proper support for type hints
2021-01-20 09:25:47 +10:00
Nyall Dawson
10789b12fc Fix comparison sort order for points to path test 2021-01-20 09:08:35 +10:00
Alessandro Pasotti
9b6d2ebc29 Fix vertex editor locale with Z/R values
Fixes #29682
2021-01-20 06:02:26 +10:00
Nyall Dawson
9cba2489bc Use parent symbol type instead of layer geometry type to decide
which line symbol layer settings to show

Fixes fill symbol only related properties (like ring filters) show
for line symbols in some contexts.

Fixes #33398
Fixes #24131
2021-01-20 06:01:25 +10:00
Julien Cabieces
0134508f6d [Oracle] Don't reset srid to -1 when there is no geometry 2021-01-20 06:01:06 +10:00
Alessandro Pasotti
272acecd32 Merge pull request #41080 from elpaso/mxe-updates-for-3_18
Fix MXE build for python bump and EPT
2021-01-19 18:27:39 +01:00
Alessandro Pasotti
9818fbe209 Fix MXE build for python bump and EPT 2021-01-19 16:24:56 +01:00
Nyall Dawson
457d6618ad Ensure layer style dock is updated when toggling legend items through
layer tree menu

Fixes #40630
2021-01-19 20:46:53 +10:00
nirvn
a84647cf30 follow up ab0eba2 : crash-free implementation 2021-01-19 14:53:53 +07:00
Nyall Dawson
157bdcab88 Fix rendering of Vector Field marker symbol layer when map is rotated
Fixes #40916
2021-01-19 17:44:47 +10:00
Nyall Dawson
71090b077f Rework geometry symbol rendering loop
Don't segmentize and process the whole geometry upfront, and instead
defer the segmentization and processing (eg clipping) to be performed
on a part-by-part basis. This ensures that we ALWAYS have access to
the corresponding original geometry when we get around to rendering
each part instead of only its segmentized and processed version.

Fixes marker line symbol layer renders vertices for segmentized
versions of curved geometries instead of the actual vertices, and
also fixes handling of multi* curved types with the marker line
vertex/curve point interval types.

Possibly also results in faster rendering for certain multipart
geometries too, as the simplification and segmentization is now done on a
part by part basis, so can potentially be skipped for some parts alone...

Fixes #39750
2021-01-19 16:48:12 +10:00
Nyall Dawson
ff730b6ee6 Add optimised method to QgsMapToPixelSimplifier which avoids clones
in unwanted circumstances and works on QgsAbstractGeometry objects
instead of QgsGeometry
2021-01-19 16:48:12 +10:00
Nyall Dawson
24d4d4a6fe Update test mask 2021-01-19 11:18:12 +10:00
Nyall Dawson
81c5770821 Add unit test for scalebar decoration map width calculations 2021-01-19 11:04:55 +10:00
Nyall Dawson
4caecdc0d5 Don't copy docs from another class, that's pretty poor form... 2021-01-19 11:04:55 +10:00
Nyall Dawson
538a5ecefd Improve docs to make it clearer that QgsMapSettings::visibleExtent
is probably what you want, not QgsMapSettings::extent...
2021-01-19 11:04:55 +10:00
Nyall Dawson
f1ea5a9c56 Fix scalebar decoration uses incorrect map extent when restoring
a project which was saved using a different map canvas geometry

Fixes #40748
2021-01-19 11:04:55 +10:00
Alessandro Pasotti
740c41f5a8 Fix PG permission on insert features
Fixes #40922
2021-01-19 06:10:35 +10:00
Nyall Dawson
57339c0fe8 Update src/analysis/processing/qgsalgorithmpointstopaths.cpp 2021-01-19 05:09:48 +10:00
uclaros
9a2e9001a2 Fix failing test
Output feature order cannot be made backwards compatible so we're forced to modify the test to pass.
2021-01-19 05:09:48 +10:00
uclaros
a0b8e246cb Handle compatibility parameter GROUP_FIELD 2021-01-19 05:09:48 +10:00
uclaros
b0d0838bcc Handle multipoint input 2021-01-19 05:09:48 +10:00
uclaros
94949ee6a9 Address review comments 2021-01-19 05:09:48 +10:00
uclaros
2374459e7d Reorder fields 2021-01-19 05:09:48 +10:00
uclaros
6d2e635289 Fix parameter name 2021-01-19 05:09:48 +10:00
uclaros
2242c1f4c2 Forgot begin-end fields 2021-01-19 05:09:48 +10:00
uclaros
43e673a143 Complete points to paths port 2021-01-19 05:09:48 +10:00
uclaros
7473e84971 Change points to lines to points to paths 2021-01-19 05:09:48 +10:00
uclaros
3272a88fe0 Const iterate to avoid copy; fix empty group expression case 2021-01-19 05:09:48 +10:00
uclaros
cbe1b04068 Update help string 2021-01-19 05:09:48 +10:00
uclaros
e35f8757b1 Implement GROUP_EXPRESSION instead of GROUP_FIELD
to allow for flexible grouping without the need for an intermediate field calculation.
2021-01-19 05:09:48 +10:00
uclaros
280d2e5914 Added Points to lines algorithm 2021-01-19 05:09:48 +10:00
Alessandro Pasotti
6387a42585
Merge pull request #41061 from elpaso/bugfix-gh40864-gpkg-save-as-dots-in-name
Fix save-as with dots
2021-01-18 19:30:18 +01:00
Alex
e9537550b7 limit in either axis.
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-01-19 03:51:27 +10:00
Alex
21d625eccd display message on big images
Fixes 41045
2021-01-19 03:51:27 +10:00
Alessandro Pasotti
8223435095 Fix save-as with dots
Fixes #40864
2021-01-18 18:20:57 +01:00
Stefan Uhrig
32e5ec024c Fix suppressed Windows linker errors
Deriving QgsAttributes from QVector<QVariant> and then exporting the
whole QgsAttributes class also exports symbols of QVector<QVariant>.
This leads to linker issues with object files using QVector<QVariant>
if a library/executable links against qgis_core.

Just exporting the only function of QgsAttributes that is not inline is
sufficient and solves the linker errors.
2021-01-18 08:25:36 +01:00
Nyall Dawson
15b647a74f Set field values for point cloud results in identify results list so that
Copy Feature action works correctly on these results
2021-01-18 13:47:31 +10:00
Nyall Dawson
78cb67a95d Add method to convert QgsPointCloudAttributeCollection to QgsFields 2021-01-18 13:47:31 +10:00
Nyall Dawson
d6c0b2f0a8 Add method to get equivalent QVariant type for a point cloud attribute 2021-01-18 13:47:31 +10:00
Nyall Dawson
176e9728c5 Fix missing identify results right click menu items for non vector layer types 2021-01-18 13:47:31 +10:00
Nyall Dawson
797a0608fd Fix highlights disappear after changing canvas CRS 2021-01-18 13:47:31 +10:00
Nyall Dawson
c6a43314ce Don't use a vector renderer to draw QgsHighlight for point cloud points
QgsHighlight has severe performance issues with vector layer feature rendering,
so use the heavily optimised point geometry highlight approach instead

Keeps QGIS nice and responsive even when 1000 points are highlighted
2021-01-18 13:47:31 +10:00
Nyall Dawson
2964f10b3f Dramatically faster painting of point geometries via QgsHighlight
When hundreds of highlights are shown this goes from locking up QGIS
with every redraw to being very responsive.
2021-01-18 13:47:31 +10:00
Nyall Dawson
dc740eb020 Fix new map canvas CRS is not accessible to QgsMapCanvasItem subclasses
in QgsMapCanvasItem::updatePosition() when this function is called
as a result of map canvas CRS changes
2021-01-18 13:47:31 +10:00
Nyall Dawson
a9b89d3d96 Minor code cleanups 2021-01-18 13:47:31 +10:00
Nyall Dawson
1df71f6bb5 Safer memory management in QgsHighlight 2021-01-18 13:47:31 +10:00