1224 Commits

Author SHA1 Message Date
Nyall Dawson
cbee8326ca
Can't use SIP_DEPRECATED with non-methods 2025-02-05 09:11:18 +10:00
Nyall Dawson
db7b9afb6b
Use translated string for password helper
And fix capitalisation of strings
2025-02-05 08:26:32 +10:00
qgis-bot
638e6a9011 auto sipify 🍺 2025-02-04 20:17:58 +00:00
Nyall Dawson
be08c2521b Don't transform 2d bounding boxes when geocentric crs involved
This is meaningless and will give a misleading/useless result,
so raise a descriptive QgsCsException instead.
2025-02-05 06:15:05 +10:00
qgis-bot
0459679c4b auto sipify 🍺 2025-02-04 01:07:52 +00:00
PatrikSylve
12a2079225
Ensure consistent label positioning by sorting rule based label providers 2025-02-04 11:04:57 +10:00
qgis-bot
f51d66d69d auto sipify 🍺 2025-02-03 22:28:34 +00:00
Even Rouault
b63d11ea0d Apply suggestions from code review 2025-02-04 08:24:35 +10:00
Even Rouault
597a945995 Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2025-02-04 08:24:35 +10:00
Nyall Dawson
d4c592e6d0 Move provider-specific credential redaction logic to QgsProviderMetadata
Followup 1907ab3
2025-02-04 08:24:35 +10:00
qgis-bot
775c2070a7 auto sipify 🍺 2025-02-02 22:08:07 +00:00
Even Rouault
1907ab32fe QgsMapLayer::publicSource(): make it redact/remove GDAL credentials
Fixes #60292
2025-02-03 08:05:17 +10:00
qgis-bot
f24a5c44b8 auto sipify 🍺 2025-02-02 21:54:44 +00:00
Even Rouault
530eb4bc2f Test and code adjustments related to MIME type serialization for PointCloudLayer going from 'pointcloud' to 'point-cloud' 2025-02-03 07:51:53 +10:00
Even Rouault
47a72b4056 Limit number of hardcoded strings for layer type by leveraging QgsMapLayerFactory::typeToString() 2025-02-03 07:51:53 +10:00
qgis-bot
91c4e96f66 auto sipify 🍺 2025-01-30 20:58:30 +00:00
Nyall Dawson
8c99b4c39c Remove dead code from PROJ <8.1 2025-01-31 06:55:32 +10:00
qgis-bot
02719c5939 auto sipify 🍺 2025-01-29 23:34:28 +00:00
Martin Dobias
8511426304 doc and clang tidy fixes 2025-01-30 09:31:35 +10:00
Martin Dobias
a0414c4883 QgsChunkBoundsEntity: use 3D boxes in map coordinates + QgsGeoTransform
Until now, chunk bounds entity used axis-aligned bboxes in world coordinates (floats)
We are switching to bboxes in map coordinates (doubles) and we use
QgsGeoTransform to react correctly when the origin vector changes.
2025-01-30 09:31:35 +10:00
qgis-bot
964ef3a735 auto sipify 🍺 2025-01-29 22:50:24 +00:00
Even Rouault
d5edd0811f webconnections saving as .xml: add a xmlns:x=y attribute when the http-header: prefix is used
Fixes #60242
2025-01-30 08:47:01 +10:00
Mathieu Pellerin
1c85f6a17f Alternative fix that is compatible with offline editing 2025-01-28 13:58:20 +10:00
qgis-bot
d99b14927d auto sipify 🍺 2025-01-28 02:09:27 +00:00
Mathieu Pellerin
f2289c83f1 [processing] Fix feature iteration against a model (fixes #60131) 2025-01-28 12:06:36 +10:00
qgis-bot
0cc0e57cb0 auto sipify 🍺 2025-01-27 13:04:27 +00:00
Benoit D.-M. - oslandia
7fc95bb0a3 doc: add todo about std::source_location for logMessage
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2025-01-27 14:01:34 +01:00
bdm-oslandia
c89d3f56a1 fix(QgsMessageLog): display real caller data instead of logMessage call to QgsDebugMsgLevel 2025-01-27 14:01:34 +01:00
Even Rouault
2bef21df9f
Merge pull request #60277 from merydian/fix-60205
Fix QgsRasterLayer and QgsRasterBlock as_numpy methods
2025-01-27 10:55:59 +01:00
qgis-bot
380b3c7b7f auto sipify 🍺 2025-01-27 09:05:04 +00:00
Till Frankenbach
106e5aa21a Fix QgsRasterBlock and QgsRasterLayer as_numpy methods 2025-01-26 15:12:51 +01:00
qgis-bot
187c88fc1c auto sipify 🍺 2025-01-24 21:55:17 +00:00
Even Rouault
660db0f810 core/server: remove traces of OGC best practice georeferencing 2025-01-25 07:52:23 +10:00
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
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
Withalion
84fde58adb Fix tests failing 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
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