91475 Commits

Author SHA1 Message Date
qgis-bot
969fa6bfc1 auto sipify 🍺 2025-04-22 01:48:25 +00:00
Nyall Dawson
94831606a8 Update src/ui/qgslabelremoveduplicatesettingswidgetbase.ui
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2025-04-22 11:45:25 +10:00
Nyall Dawson
1335475042 Hide label spacing, duplicate removal setting on GEOS < 3.10
Replace the widgets with a label stating "not available on this
QGIS installation"
2025-04-22 11:45:25 +10:00
Nyall Dawson
c0a3e90ecf Fix misc tests 2025-04-22 11:45:25 +10:00
Nyall Dawson
298f03dca8 Fix build on older geos 2025-04-22 11:45:25 +10:00
Nyall Dawson
b8712c51c0 Add missing files 2025-04-22 11:45:25 +10:00
Nyall Dawson
c2ee323793 [feature] Add labeling setting to prevent duplicate labels within xx mm
Improves the appearance of labels in situations like road networks,
where things like dual carriageways, service roads, etc can result
in many labels of the exact same text appearing close to each other.

When active, removes any labels with the exact same text (case
sensitive!) which are closer then this minimum distance.

The setting applies across layers, so duplicate text from ANY
layer will be considered.
2025-04-22 11:45:25 +10:00
Nyall Dawson
4d98f21d67 [feature] Add 'margin around labels' setting for labeling
Allows setting a margin around a layer's labels, which prevents
other labels from being placed closer than this margin distance
to the layer's labels.
2025-04-22 11:45:25 +10:00
Nyall Dawson
5b6151086d [pal] Ensure we always use the correct bounds when inserting features
into candidate spatial indexes

We need to use the expanded bounds for candidate conflicts, not
the actual label bounds. Otherwise rules like minimum distance
between labels won't work, as potential conflicts aren't getting
returned when searching the candidate spatial indexes.
2025-04-22 11:45:25 +10:00
Nyall Dawson
72474ab4a0 [pal] Cache LabelPosition::boundingBoxForCandidateConflicts
As well as avoiding multiple re-calculation of this, caching ensures
that we ALWAYS return the same bounds, which is crucial when we need
to remove the position from a spatial index
2025-04-22 11:45:25 +10:00
Nyall Dawson
255d4b3ce2 Add method to test if QgsMapUnitScale is null 2025-04-22 11:45:25 +10:00
Alex
4a0ea094fb show right file 2025-04-22 11:37:22 +10:00
Matthias Kuhn
6aac924cc2
Merge pull request #60134 from btzy/codearg
Open and load --code file and --py-args arguments in C++
2025-04-21 19:52:14 +02:00
Juergen E. Fischer
393ca14c4a fix windows build 2025-04-21 19:33:28 +02:00
Alexander Bruy
f2b9f60a44 port Check Validity algorithm to C++ 2025-04-21 12:15:13 +01:00
Juergen E. Fischer
ff8cd34eb5 fix for #61389 2025-04-21 11:05:59 +02:00
Alexander Bruy
5df50c54ce
Merge pull request #61236 from rduivenvoorde/add_order_to_QgsSplitLinesByLengthAlgorithm
In the QgsSplitLinesByLengthAlgorithm adds field 'order' and fill it with an increasing number from 0 to x
2025-04-20 15:33:30 +01:00
Alexander Bruy
7348a67f1a
Merge pull request #61483 from troopa81/fix_pyqgsconsole
Fix PyQgsConsole test
2025-04-20 09:54:17 +01:00
qgis-bot
5084af473c auto sipify 🍺 2025-04-19 08:20:28 +00:00
Nyall Dawson
5783ee74d4 Better examples 2025-04-19 18:17:34 +10:00
Nyall Dawson
4a6fef278e Cleanup docs, don't mention QString in python docs 2025-04-19 18:17:34 +10:00
Nyall Dawson
a8ae54ca44 Fix truncated PyQGIS docs for QgsCoordinateReferenceSystem 2025-04-19 18:17:34 +10:00
Nyall Dawson
161ef62ca0 Fix inconsistent heading warnings when building PyQGIS docs
Fixes missing subclass/base class sections in some class docs (
eg QgsVectorLayer)
2025-04-19 18:17:34 +10:00
kikitte
ddc0c0d939 clear features in QgsIdentifyResultsDialog::clear to avoid memory leak 2025-04-19 15:02:39 +08:00
bdm-oslandia
7996e1b587 fix(test_qgsserver_wfs): update xml tags to work with qt6 and reactivate test 2025-04-18 18:13:12 +02:00
bdm-oslandia
76549e4eb1 fix(testdata): replace hardcoded path "/home/.../file.XXX" in qgis_server/*.qgs files by "./file.XXX" 2025-04-18 18:13:12 +02:00
DiGro
84e1fbb84c Typo corrected relationnal = relational
Line 60:  relationnal --> should be relational
2025-04-18 17:25:37 +02:00
Alexander Bruy
e3ebf13fa9
Merge pull request #61538 from benoitdm-oslandia/fix/test_qgsserver_wms_getfeatureinfo
fix test_qgsserver_wms_getfeatureinfo to work with qt6
2025-04-18 15:41:23 +01:00
Juergen E. Fischer
69a752b9d1 translation string fixes 2025-04-18 12:45:39 +02:00
David Koňařík
43439b1fe6
[3D] Point cloud editing tools support for cross-section, round 2 (#61484)
* Fix point cloud editing to support clipping

* Check whole nodes for clip plane overlap

* Slightly optimise plane clipping

---------

Co-authored-by: Withalion <matej.bagar@lutraconsulting.co.uk>
2025-04-18 10:10:11 +03:00
Germán Carrillo
b50c7f8315 Avoid easy crash in QgsGpsDetector 2025-04-18 08:33:08 +10:00
Nyall Dawson
b50fdfd472 Cleanup messy subsection UI in layout elevation profile item 2025-04-18 06:41:49 +10:00
Nyall Dawson
abb085afd6 Fix broken elevation profile subsection rendering 2025-04-18 06:41:49 +10:00
Loïc Bartoletti
e9568973d1
Merge pull request #61512 from Djedouas/checker_fix_duplicatenodes
Processing: Add Fix Geometry algorithm and test: Duplicate Nodes
2025-04-17 17:20:31 +02:00
pre-commit-ci[bot]
b52ad13a1a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-17 15:20:09 +00:00
Loïc Bartoletti
176101a3ac
Merge branch 'master' into checker_fix_duplicatenodes 2025-04-17 17:16:59 +02:00
Loïc Bartoletti
622359a928
Merge pull request #61511 from Djedouas/checker_fix_multipart
Processing: Add Fix Geometry algorithm and test: Multipart
2025-04-17 17:13:36 +02:00
Loïc Bartoletti
f3abfe198a
Merge branch 'master' into checker_fix_multipart 2025-04-17 17:12:38 +02:00
Loïc Bartoletti
92c2f9f9bd
Merge pull request #61510 from Djedouas/checker_fix_overlap
Processing: Add Fix Geometry Algorithm and test: Overlap
2025-04-17 17:09:27 +02:00
Loïc Bartoletti
7fa0c809fe
Merge branch 'master' into checker_fix_overlap 2025-04-17 17:09:00 +02:00
Loïc Bartoletti
5d52b5efb1
Merge pull request #61509 from Djedouas/checker_fix_self_intersection
Processing: Add Fix Geometry algorithm and test: Self intersection
2025-04-17 17:06:49 +02:00
Loïc Bartoletti
01e3018e7e
Merge branch 'master' into checker_fix_self_intersection 2025-04-17 17:06:25 +02:00
Loïc Bartoletti
6acf097d33
Merge pull request #61508 from Djedouas/checker_fix_delete_features
Processing: Add Fix Geometry algorithm and test: delete features
2025-04-17 17:03:41 +02:00
Loïc Bartoletti
9587efdcae
Merge branch 'master' into checker_fix_delete_features 2025-04-17 17:03:23 +02:00
Loïc Bartoletti
c930989aa7
Merge pull request #61507 from Djedouas/checker_fix_gap
Processing: Add Fix Geometry algorithm and test: Gap
2025-04-17 17:02:17 +02:00
Loïc Bartoletti
0d7cba3a69
Merge pull request #61369 from Djedouas/checker_check_line_intersection
Processing: Add Check Geometry algorithm and test: Line intersection
2025-04-17 16:59:13 +02:00
Loïc Bartoletti
7e0184f3ce
Merge branch 'master' into checker_check_line_intersection 2025-04-17 16:58:44 +02:00
Loïc Bartoletti
617e2318ad
Merge pull request #61368 from Djedouas/checker_check_line_layer_intersection
Processing: Add Check Geometry algorithm and test: Line layer intersection
2025-04-17 16:56:45 +02:00
Loïc Bartoletti
43aa3c0eca
Merge branch 'master' into checker_check_line_layer_intersection 2025-04-17 16:56:09 +02:00
Loïc Bartoletti
0d44a74a67
Merge pull request #61366 from Djedouas/checker_check_point_covered_by_line
Processing: Add Check Geometry algorithm and test: Point covered by line
2025-04-17 16:53:25 +02:00