24892 Commits

Author SHA1 Message Date
qgis-bot
969fa6bfc1 auto sipify 🍺 2025-04-22 01:48:25 +00:00
Nyall Dawson
c0a3e90ecf Fix misc tests 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
255d4b3ce2 Add method to test if QgsMapUnitScale is null 2025-04-22 11:45:25 +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
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
qgis-bot
569667f9bb auto sipify 🍺 2025-04-17 10:57:22 +00:00
Even Rouault
e68e87ad6c
Merge pull request #61515 from rouault/wfs_no_gmlas_if_transaction
[WFS Provider] Add a UI and URI parameter featureMode=default/SimpleFeatures/ComplexFeatures
2025-04-17 12:54:24 +02:00
qgis-bot
9b1dfa17b3 auto sipify 🍺 2025-04-17 08:54:20 +00:00
Alexander Bruy
b9402aad41
Merge pull request #61501 from nyalldawson/fill_block
Add optimised method to fill a QgsRasterBlock with a constant value
2025-04-17 09:51:15 +01:00
Julien Cabieces
fa9f3dd21b refactor(core): Use unique_ptr when class has clear ownership 2025-04-17 08:26:26 +10:00
Even Rouault
46da0ab329
[WFS Provider] Add a UI and URI parameter featureMode=default/SimpleFeatures/ComplexFeatures
Fixes #61476 / #61493

The analysis of DescribeFeatureType response with the GMLAS driver makes
appear fields that are not supported by the
addFeatures()/changeAttributeValues() method. So if transaction support
is detected and featureMode=default, use QGIS built-in analyser to get
SimpleFeatures only. Otherwise try the GMLAS method.
2025-04-16 20:53:43 +02:00
Nyall Dawson
2925f42dfa
Add optimised method to fill a QgsRasterBlock with a constant value 2025-04-16 14:35:25 +10:00
Bernard Teo
c55a567070
Open and load --code file in C++ 2025-04-16 00:30:00 +08:00
qgis-bot
f524780acc auto sipify 🍺 2025-04-15 07:09:42 +00:00
Alexander Bruy
c0491d6997
Merge pull request #61321 from alexbruy/harmonize-create-options-naming
Harmonize terminology related to create options
2025-04-15 08:06:44 +01:00
qgis-bot
569aa196e7 auto sipify 🍺 2025-04-15 06:08:30 +00:00
Nyall Dawson
005908f073 Expose method to python, rename 2025-04-15 16:05:33 +10:00
Nyall Dawson
8182d8b169 Add python conversion code for QMap<int, int> 2025-04-15 16:05:33 +10:00
Nyall Dawson
44d96a3fdb Fix Python conversion code for Python dict->QMap<QString, int> 2025-04-15 09:03:48 +10:00
Alexander Bruy
78cdb4216b add SIP deprecation tags to deprecated methods 2025-04-14 20:12:15 +01:00
Alexander Bruy
b5019cbfb0
Merge pull request #60945 from alexbruy/processing-export-geometry-info-cpp
port Add geometry attributes algorithm to C++
2025-04-14 20:04:33 +01:00
Alexander Bruy
d7fd6fd619 use more semantic argument name 2025-04-12 11:00:42 +01:00
Alexander Bruy
598233d881 fix test 2025-04-12 11:00:42 +01:00
Alexander Bruy
5bde6fec42 harmonize parameter name in Processing algorithms 2025-04-12 11:00:42 +01:00
Alexander Bruy
dfe0e16660 harmonize terminology related to creation options with GDAL 2025-04-12 11:00:41 +01:00
qgis-bot
5fbef15433 auto sipify 🍺 2025-04-11 20:43:25 +00:00
Nyall Dawson
0e6d5f5593 Properly silence overloaded-virtual warning on Fedora 42 2025-04-12 06:38:32 +10:00
qgis-bot
68ff5ec6b5 auto sipify 🍺 2025-04-11 00:31:38 +00:00
Nyall Dawson
887fffa3dd Fix missing docstring 2025-04-11 10:28:38 +10:00
Nyall Dawson
0fc05051dd Fix docstrings for QgsDateRange/QgsDateTimeRange
We can't rely on sip to generate these -- it outputs malformed
docstrings where the constructor docs are incorrectly placed
before the class docstrings
2025-04-11 10:03:58 +10:00
Nyall Dawson
1046ecccbb Update python/processing/algfactory.py
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2025-04-11 08:08:54 +10:00
Nyall Dawson
4de4173841 Fix list formatting for alg docs
Fixes #42570
2025-04-11 08:08:54 +10:00
Nyall Dawson
54d078ed7a Add missing SIP_OUT annotations
Fixes #54404 (at least, the remaining discernable portions of that ticket)
2025-04-11 05:42:02 +10:00
qgis-bot
80b7ee2058 auto sipify 🍺 2025-04-10 07:57:38 +00:00
qgis-bot
ff7e851921 auto sipify 🍺 2025-04-10 05:39:09 +00:00
Jean Felder
d30c311ab3 qgsgroupwmsdatadialog: Remove Q_DECL_DEPRECATED from constructor
Even though this class is deprecated, this breaks the qt 6 on qt 6.7+.

It looks like this is the only available fix at the moment.

Related:
07d7668c60
2025-04-10 15:36:13 +10:00
qgis-bot
8aa0b6da32 auto sipify 🍺 2025-04-10 04:14:20 +00:00
Alexander Bruy
f5106db020 use fully-qualified enum name in the comments 2025-04-10 14:11:19 +10:00
Alexander Bruy
c0b435994e use enum class instead of plain enum and add test to ensure comparison
with int works
2025-04-10 14:11:19 +10:00
Alexander Bruy
a584e533d9 use enum for return value instead of plain int in the QgsNineCellFilter 2025-04-10 14:11:19 +10:00
qgis-bot
dccbdb5f2e auto sipify 🍺 2025-04-10 01:24:53 +00:00
Nyall Dawson
1f31e41d20 Fix project zip creation from QTemporaryFile
QTemporaryFile creates an empty file in order to reserve the
filename, so we need to allow overwriting of existing files
2025-04-10 11:21:54 +10:00