24128 Commits

Author SHA1 Message Date
qgis-bot
ab7f02abab auto sipify 🍺 2024-10-30 21:17:52 +00:00
Matthias Kuhn
f436bfa9bb
Merge pull request #59230 from m-kuhn/mocdefs
Add includemocs.py and create one moc file per cpp file
2024-10-30 22:14:38 +01:00
qgis-bot
132cbd6f1b auto sipify 🍺 2024-10-30 03:19:15 +00:00
Nyall Dawson
ca5e4450b6 Support css line-height in HTML labels
Adds support for the line-height CSS property in HTML formatted labels.

Supports line-height in either points or percent, eg "line-height:
40pt" or "line-height: 40%"
2024-10-30 13:16:01 +10:00
qgis-bot
3190c5faee auto sipify 🍺 2024-10-29 20:26:00 +00:00
Martin Dobias
ae13cfea17 Add QgsBox3D tests and fix the implementation 2024-10-30 06:20:42 +10:00
Martin Dobias
4f183696b0 Make QgsChunkNode use doubles instead of floats for bounding boxes
- move from QgsAABB to QgsBox3D
- also switch from "world" coordinates (relative to 3d map scene origin,
  and flipped axes) to map coordinates
2024-10-30 06:20:42 +10:00
qgis-bot
d3767e869b auto sipify 🍺 2024-10-28 20:23:25 +00:00
Yoann Quenach de Quivillic
eaad2e930c Apply suggestions from review 2024-10-29 06:20:14 +10:00
Yoann Quenach de Quivillic
ca2688a977 Prevent creation of invalid polyline / polygon 2024-10-29 06:20:14 +10:00
qgis-bot
ea4cd5fe05 auto sipify 🍺 2024-10-28 13:32:39 +00:00
Nyall Dawson
aaf4b90911
Fix malformed docstrings (#59244)
* Fix malformed docstrings

Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/188

* Fix malformed docstrings

* Fix more malformed docs
2024-10-28 14:29:21 +01:00
Matthias Kuhn
b5543341fa sip 2024-10-28 07:18:38 +01:00
qgis-bot
c17d7a1d99 auto sipify 🍺 2024-10-26 02:20:21 +00:00
Yoann Quenach de Quivillic
071b28903c Apply layout page size to all pages 2024-10-26 12:17:02 +10:00
qgis-bot
e13413f249 auto sipify 🍺 2024-10-25 23:41:20 +00:00
Yoann Quenach de Quivillic
e8e55cdbd0
Add export quality slider for jpeg/jpg 2024-10-26 09:37:58 +10:00
qgis-bot
7cb947be71 auto sipify 🍺 2024-10-25 18:53:05 +00:00
Nyall Dawson
2fcd8b99b5 Fix crashes on newer GEOS with empty polygon rings
There was a previous fix for this protecting some geos calls, but
on newer GEOS versions we get crashes with other methods (eg
calculating centroid) when using geos geometries with empty
interior rings.

Avoid this by ALWAYS defaulting to skipping empty rings when
creating GEOS polygons, UNLESS explicitly asked to. Then, only
explicitly ask to do this when we are using GEOS to validate
a geometry. In all other cases we don't need or want empty rings.
2024-10-26 04:49:56 +10:00
qgis-bot
afc3e8d41c auto sipify 🍺 2024-10-25 18:38:36 +00:00
Martin Dobias
ec02d36890 nuch -> much 2024-10-26 04:35:12 +10:00
Martin Dobias
68a76bc407 Update python/3d/auto_generated/symbols/qgspoint3dsymbol.sip.in
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-10-26 04:35:12 +10:00
Martin Dobias
04d5369d4d Fix sip bindings 2024-10-26 04:35:12 +10:00
David Koňařík
71b2591c62 Fix Identify tool on virtual point cloud
(fix #54729)
2024-10-25 08:26:00 +02:00
qgis-bot
35929a0792 auto sipify 🍺 2024-10-25 01:55:27 +00:00
Nicolas Godet
5c803b120e Report GRASS warnings with pushWarning instead of reportError and check translated warning or error 2024-10-25 11:52:18 +10:00
Denis Rouzaud
1f0a5d513f use TransferBack 2024-10-25 11:51:35 +10:00
Denis Rouzaud
97f8217483 isinstance 2024-10-25 11:51:35 +10:00
Denis Rouzaud
8264a1ed71 ensure enums are saved as strings in settings 2024-10-25 11:51:35 +10:00
Denis Rouzaud
18974480fb allow to set specific settings editors + add test 2024-10-25 11:51:35 +10:00
qgis-bot
70f43eee28 auto sipify 🍺 2024-10-23 23:56:07 +00:00
David Koňařík
8039ccb50d Fix elevation profile on intersecting polyline 2024-10-24 09:52:58 +10:00
Nyall Dawson
712b3e72c6 QgsMultiRenderChecker: avoid misleading console output noise
When the checker passes comparison against ANY reference image,
don't output mismatch failure message for all the other variants
2024-10-24 09:51:21 +10:00
qgis-bot
e62b17dac5 auto sipify 🍺 2024-10-21 03:46:38 +00:00
Nyall Dawson
f9a7ac7329 Add methods to insert content into QgsTextBlock/QgsTextDocument 2024-10-21 13:41:51 +10:00
Nyall Dawson
cf1e6fd9bc Make "archive" copy of QgsPalLayerSettings::calculateLabelSize
For stable API use only, and then cleanup the private version
of this to remove all the consideration of 3.0 API compatibility.

Mark the archive copy as deprecated and remove in 4.0

This method has become completely unweildy because of all the
compatibility code. By making this private only we can rip
out all this old code and make the method much simpler and
easy to understand.
2024-10-21 13:41:51 +10:00
qgis-bot
3094ca5caa auto sipify 🍺 2024-10-18 20:27:32 +00:00
Germán Carrillo
512ea7d062 [fix] When passing from Stacked Diagram to a single one, take the first one (if it exists) in the stacked diagram as a basis for the new single one
Before this commit, the stacked diagram properties were taken as a basis, losing valuable diagram settings in the process.
Note this reverts commit 2f9a0758b309ef162d6390b7411cba71af3375be
2024-10-19 06:24:23 +10:00
Germán Carrillo
deb210929a [core] Remove unused method in QgsStackedDiagramRenderer 2024-10-19 06:24:23 +10:00
Germán Carrillo
4977c8f746 [gui] Document and handle ownership in QgsStackedDiagramProperties and underlying model 2024-10-19 06:24:23 +10:00
Germán Carrillo
cae14bb852 [core] Implement StackedDiagramRenderer's copy constructor (called by clone()) and operator= 2024-10-19 06:24:23 +10:00
Germán Carrillo
585d0df594 [core] Make sure QgsStackedDiagramRenderer::addRenderer() takes ownership 2024-10-19 06:24:23 +10:00
Nyall Dawson
6b3eefd115 Add test blocking any new introduction of QgsProject::instance() in core 2024-10-19 06:22:04 +10:00
Nyall Dawson
41553459d8 [gps] Be tolerant to talker IDs which don't start with 'G'
From the nmea specifications it is clear that the talker ID
does not have to start with 'G'. Accordingly remove ALL these
incorrect hardcoded checks against (a very small subset) of
known talker IDs, and permit any two-character string
as a valid talker ID

Fixes connection to NMEA devices which use "IN" for
talker ID (and others)
2024-10-19 06:21:20 +10:00
mazano
6ca60b7502
[ogr2ogr] Fix promote to multipart logic and add makevalid option (#58440) 2024-10-18 07:45:43 +10:00
qgis-bot
ec0e2c0815 auto sipify 🍺 2024-10-17 20:50:35 +00:00
gisn8
45d40ad071 Set raise error to DbError
Thanks! Much more user-friendly.

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-10-18 06:47:16 +10:00
gisn8
92fcb86be6 Fix: clean up whitespace and formatting issues caught by Flake8 2024-10-18 06:47:16 +10:00
gisn8
cad4759212 Handle invalid view names with more than one period
I've updated the code as recommended and added an error message should there there be too many periods. Thanks for the suggestion!
2024-10-18 06:47:16 +10:00
gisn8
70e9694a12 Addressing Issue #35767 to allow for view creation into specified schema from [ Create a view ] in DBManager 2024-10-18 06:47:16 +10:00