24474 Commits

Author SHA1 Message Date
qgis-bot
a8fb6d7105 auto sipify 🍺 2025-01-23 20:07:50 +00:00
Martin Dobias
d8f8d13691 address review 2025-01-23 21:04:55 +01:00
Martin Dobias
0a54e009b0 Add some unit tests + fix signals on rollback/commit 2025-01-23 21:04:55 +01:00
Martin Dobias
b94229e024 Only update changed 3D entities when editing point cloud attributes
QgsChunkedEntity gets a capability to update an existing sub-entity for a node
by loading the node again, creating a new 3D entity, and then discarding the old
entity in favor of the new one.

QgsPointCloudLayer gets a new signal - emitted whenever a particular node's
attribute values get changed.

These two are combined for point cloud layer's 3D chunked entity: whenever there
are edits to the point cloud data, instead of doing big hard reload of the whole
point cloud, we only update entities of the few nodes that were modified.
This greatly improves the user experience of point cloud editing (no "flashing"
of the 3D view while loading everything from scratch), and it improves how quickly
the changes can be seen.
2025-01-23 21:04:55 +01:00
Alessandro Pasotti
510ef31d48
Merge pull request #60209 from elpaso/bugfix-gh56993-query-layers-semicolon
Fix query layers from SQL window trailing semicolon
2025-01-23 08:36:18 +01:00
qgis-bot
e5b41bfa3a auto sipify 🍺 2025-01-22 17:53:12 +00:00
Alessandro Pasotti
4fe8c6268c
Merge pull request #60198 from elpaso/fix-transactional-field-editing-with-gdal
[OGR] Fix transactional editing for GPKG/SQLite
2025-01-22 18:50:21 +01:00
Alessandro Pasotti
1de194aa14 Fix query layers from SQL window trailing semicolon
Fix #56993
2025-01-22 10:17:54 +01:00
Alessandro Pasotti
f2f9d3a931 [OGR] Fix transactional editing for GPKG/SQLite
Tell the provider to reload the fields after a rollback
and add some checks to verify if after the rollback
the provider still needs to update the field.

Followup https://github.com/OSGeo/gdal/pull/11695
Followup https://github.com/qgis/QGIS/pull/59797
2025-01-21 12:40:53 +01:00
qgis-bot
0318ff38cb auto sipify 🍺 2025-01-17 21:54:36 +00:00
Withalion
84fde58adb Fix tests failing 2025-01-17 22:51:46 +01:00
Withalion
e9a8dea22c Add VPC zoom out behavior for 3D rendering 2025-01-17 22:51:46 +01:00
Withalion
4958dffb22 Encapsulate merged changes between Master and 2D overview
This commit contains some changes created during rebasing onto current master, however they are insifignant and should be ignored, as they will match the changes already in master.
2025-01-17 22:51:46 +01:00
qgis-bot
c0df09b614 auto sipify 🍺 2025-01-17 09:53:43 +00:00
Stefanos Natsis
e728a526fb
Added 3d map tool to change point cloud attribute values (#60172)
* Added 3d map tool to change point cloud attribute values

* remove unused variable

* rename vars, remove colons, use QgsPointXY, const
2025-01-17 11:50:31 +02:00
qgis-bot
0c0f41b293 auto sipify 🍺 2025-01-17 09:48:28 +00:00
Jan Caha
5fc5503f42
Mesh Layer Rendering with Updated Canvas Fix (#59987)
* cannot return min max if triangular mesh does not exist

* only create QgsRenderedLayerStatistics if values changed to prevent loop in rendering

* this was set from two places, remove it from here

* Revert "this was set from two places, remove it from here"

This reverts commit 5d8fbcc321330f1054e5e07cad2ee70c0f9aa661.

* add test case for not existing triangular mesh

* only emit signals here, everything else is handled in renderer creation (avoids double rendering of the mesh layer)

* while updating the widget the component signals need to be blocked

* do not update render here

* add const

* 3D map should not update layer statistics

* update renderer settings from here,  signals are emitted from mesh layer

* update test to simulate main canvas extent update

* do rendering in single pass

* emit renderer changed and remove emit of legendChanged
2025-01-17 11:45:33 +02:00
Julien Cabieces
d2aaa9c6e0
Merge pull request #60130 from Joonalai/fix-topological-slowness
Fix topological slowness with spatial filtering
2025-01-16 17:23:09 +01:00
qgis-bot
3c87ede8a1 auto sipify 🍺 2025-01-16 14:36:06 +00:00
Denis Rouzaud
185dc1fdb9 enable snapping in georeferenceer 2025-01-16 15:33:15 +01:00
qgis-bot
0612473a6a auto sipify 🍺 2025-01-16 14:02:02 +00:00
Martin Dobias
377df63098 Point cloud editing: write COPC when committing changes 2025-01-16 14:59:05 +01:00
Joonalai
5cc1d16ca4 Grow search rect based on layer precision 2025-01-16 12:06:19 +02:00
qgis-bot
b7b94510cd auto sipify 🍺 2025-01-15 09:46:22 +00:00
Martin Dobias
22702aa689 review and test fixes 2025-01-15 10:43:30 +01:00
Martin Dobias
4c654c88fd Simplify code for camera zoom using a pivot point 2025-01-15 10:43:30 +01:00
Martin Dobias
8bd623b724 Simplify rotation around a pivot point 2025-01-15 10:43:30 +01:00
Matthias Kuhn
43342031f9
Merge pull request #60137 from T4mmi/Allow-PEP-versions-for-plugins
Allow PEP440 versions for python plugins
2025-01-14 21:50:29 +01:00
Thomas JANVIER
0b8652f526 BUG: Support PEP440 style alpha and beta versions
Support alpha and beta version syntax from PEP440 for python plugins
see https://peps.python.org/pep-0440/
2025-01-14 11:23:51 +01:00
Denis Rouzaud
b06ccc1a03
Update QtQuickWidgets.py.in 2025-01-13 14:50:15 +01:00
qgis-bot
23a3ed0385 auto sipify 🍺 2025-01-13 13:47:11 +00:00
Jean Felder
2db1f20af3 qgsvectorlayerelevationproperties: Add support for custom tolerance
This allows to define a custom tolerance. If this tolerance is
enabled, then this tolerance is used instead of the one defined in the
elevation profile widget.

This custom tolerance is enabled and set to 0 by default for Lines and
Polygons. Indeed, most of the time, only want to use the tolerance for
points.
2025-01-13 14:44:19 +01:00
Denis Rouzaud
fe5f8e63e1
add QtQuickWidgets to qgis.PyQt (#60123) 2025-01-13 10:34:40 +01:00
Andrea Giudiceandrea
38ec9efe5e
[WFS] Fix filtering by QGIS expression in order to support "@geometry" (Fix #60094) (#60105)
Fix #60094
2025-01-11 17:23:28 +01:00
qgis-bot
a2c34719dd auto sipify 🍺 2025-01-10 12:38:56 +00:00
uclaros
d989f5981f adjust to use the new QgsPointCloudIndex class 2025-01-10 13:36:09 +01:00
uclaros
3e773e798e Point cloud editing part 1 2025-01-10 13:36:09 +01:00
qgis-bot
8cfdb1b99a auto sipify 🍺 2025-01-10 06:56:59 +00:00
Yoann Quenach de Quivillic
dff57c3e02 Apply suggestion from review 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
b9d4575715 Add editingTimeout for QgsCodeEditor 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
86bd2c5353 Add adjustScrollWidth method 2025-01-10 07:54:09 +01:00
Even Rouault
87b8299686 qgsvectorlayer.h: move a documentation section to the appropriate place
Cf https://lists.osgeo.org/pipermail/qgis-developer/2025-January/067278.html
2025-01-09 15:20:24 +01:00
Alessandro Pasotti
1b2e33e842
Merge pull request #60081 from JanCaha/fix-postgreraster-grass-provider
Allow postgresraster layers as grass processing tools input
2025-01-09 08:43:32 +01:00
Jan Caha
374f2a0e59 tests for postgreraster provider in grass algorithms 2025-01-08 17:46:21 +01:00
qgis-bot
9e2efff928 auto sipify 🍺 2025-01-08 13:11:01 +00:00
Jan Caha
67bc6af0d5
Mesh editing delaunay refinement (#59560)
* add function delaunayConditionForEdge()

* undo command with delaunay refinement

* add delaunay refinement action

* add menu to button

* sipify

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix merge issues

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* access widget in test to directly change selected  value

* add tests

* fix docstring

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* remove pass by reference

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* pass by reference

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* fix label, add tooltip

* avoid brute forcing through faces, use review suggestion instead

* add pass by reference

* sipify

* remove leftover

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
2025-01-08 15:08:11 +02:00
Jan Caha
63524b16e7 fix postgresraster provider in grass algorithm r.in.gdal 2025-01-08 13:02:30 +01:00
qgis-bot
33bb9d5fb4 auto sipify 🍺 2025-01-08 11:54:28 +00:00
pre-commit-ci[bot]
cee488bf4b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-08 12:51:39 +01:00
uclaros
c93b51cf28 fix docstring 2025-01-08 12:51:39 +01:00