1606 Commits

Author SHA1 Message Date
Alexander Bruy
3bff624ee9 harmonize method names with the terms used by GDAL documentation 2025-04-03 11:21:25 +10:00
Alexander Bruy
0fbaca4ce1 add support for raster creation options to QgsNineCellFilter 2025-04-03 11:21:25 +10:00
Nyall Dawson
a9fc31921e No need to use string for bool type 2025-04-03 01:05:31 +10:00
Nyall Dawson
9435a84ff7 sipify 2025-04-03 01:05:31 +10:00
qgis-bot
a7d8d418d1 auto sipify 🍺 2025-04-02 08:25:46 +00:00
Alexander Bruy
34aedd067d
Merge pull request #60710 from GispoCoding/59494_merge_policies
Add merge policies
2025-04-02 09:22:52 +01:00
qgis-bot
559c48199d auto sipify 🍺 2025-04-02 07:29:39 +00:00
David Koňařík
5b9bb8b056 Parallelise point cloud attribute editing 2025-04-02 09:26:45 +02:00
qgis-bot
2cbadecd13 auto sipify 🍺 2025-04-02 01:14:06 +00:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
2b1aa4e517 Correctly mark code/literal blocks in doxygen 2025-04-02 11:11:10 +10:00
Nyall Dawson
2854ab55b6 Fix list 2025-04-02 11:11:10 +10:00
qgis-bot
582948ebb8 auto sipify 🍺 2025-04-01 10:36:15 +00:00
signedav
d347f20400
Merge pull request #60932 from signedav/save-rel-ref-embedded
RelationReference save edits on embedded form
2025-04-01 12:33:25 +02:00
qgis-bot
210d14040f auto sipify 🍺 2025-04-01 10:08:52 +00:00
Nyall Dawson
c22c7bed68 Add warning to method 2025-04-01 20:05:56 +10:00
Nyall Dawson
fd6429e666 [api] Methods to create geocentric CRS from ellipsoid/other crs
Adds:

- QgsCoordinateReferenceSystem::createGeocentricCrs, which takes
an ellipsoid acronym and builds a matching geocentric CRS
- QgsCoordinateReferenceSystem::toGeocentricCrs, which takes
an existing CRS and returns a corresponding geocentric CRS with
the same datum/datum ensemble
2025-04-01 20:05:56 +10:00
Nyall Dawson
a3dd421f16 Clarify units 2025-04-01 20:05:56 +10:00
signedav
522e650318 comment for return value 2025-04-01 09:17:13 +02:00
qgis-bot
63720ad4de auto sipify 🍺 2025-04-01 06:57:36 +00:00
Jan Caha
e9cd21031f
Change how "Get Z value from project terrain" tool is presented in Mesh Editing (#60709)
* move updateZValuesFromTerrain() to QgsMeshTransformVerticesByExpression

* update widget to work with new checkbox

* move test to TestQgsMeshEditor

* fix doc

* add project to calculate()

* change version

* remove QgsExpressionContext and use QgsProject if needed

* update tests

* fix clang issue

* Apply suggestions from code review - make more readable

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

* simplify

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

* fix text

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

* add note

* add the in string

* fix bracket and indentation

* fix docstring

* use new position if necessary

* default elevation

* do not skip values, use default Z value if not properly transformed

* simplify code

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
2025-04-01 09:54:42 +03:00
qgis-bot
5db39f884a auto sipify 🍺 2025-04-01 00:29:22 +00:00
Martin Dobias
2078404ba7 Globe: finally make it available from the GUI
This is a mix of additions and updates for the initial support of globe mode
in 3D views within QGIS desktop app. Many things are still missing, and will
be introduced in later PRs...
2025-04-01 10:26:27 +10:00
qgis-bot
62f234f8e5 auto sipify 🍺 2025-03-31 23:46:52 +00:00
Nyall Dawson
4a10066b69 Fix grammar errors in class docstrings 2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
b802f8a8b9 Fix double brief 2025-04-01 09:44:00 +10:00
Nyall Dawson
cc13b5083c Fix malformed list in class docs 2025-04-01 09:44:00 +10:00
Nyall Dawson
0c55e90b62 Fix malformed copyright headers 2025-04-01 09:44:00 +10:00
Nyall Dawson
9e60e9bc5b Fix typo 2025-04-01 09:44:00 +10:00
qgis-bot
427e5f38ac auto sipify 🍺 2025-03-30 10:50:58 +00:00
Nyall Dawson
26a6828851 Make 3d docs compliant 2025-03-30 20:48:07 +10:00
Nyall Dawson
6d122f0038 Sipify 2025-03-30 20:48:07 +10:00
Nyall Dawson
ac71664a83 Fix multiparagraphs in initial class docstrings 2025-03-30 20:48:07 +10:00
Nyall Dawson
bdba8d6366 Refactor too long doxygen brief comments
These break the table of contents for the PyQGIS documentation
2025-03-30 20:48:07 +10:00
Nyall Dawson
29050007d7 Fix class documentation which starts with "this is..."/"a class..." etc 2025-03-30 20:48:07 +10:00
Nyall Dawson
602ef6c691 Don't start class briefs with "This class contains settings..."
It's unncessarily verbose, use just "Contains settings..." instead.
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
qgis-bot
5887d14bc4 auto sipify 🍺 2025-03-30 08:06:22 +00:00
Nyall Dawson
e46522fe0f Fix documentation 2025-03-30 18:03:30 +10:00
Nyall Dawson
1384b6052e Fix doc warning 2025-03-30 18:03:30 +10:00
Nyall Dawson
12a1be86f2 Expose "at equator" scale method in widget
When this method is selected, we show a warning icon with an
explanatory tooltip:

"This method will calculate misleading scales when the map extent
is not close to the equator, however it ensures that the scale
remains constant and does not change as the map is panned."
2025-03-30 18:03:30 +10:00
Nyall Dawson
9eb1ab27be Create common widget for scale method selection 2025-03-30 18:03:30 +10:00
Nyall Dawson
9ea131ded2 [api] Add scale calculation method for "scale at equator"
Always calculates the scale at the equator, regardless of the
actual visible map extent.

This method can be used to provide a consistent, static scale for
maps in geographic reference systems, regardless of the latitudes
actually visible in the map (permitting consistent appearance of
these maps when rendering relies on scale based visibility or
calculations). Otherwise a project in eg EPSG:4326 which uses
scale based visibility of layers and symbols will see layers
and features "randomly" disappear as the map is panned, even
though the user has not zoomed in or out of the map.

This method is only applicable when calculating scales with a
degree based reference system.
2025-03-30 18:03:30 +10:00
Nyall Dawson
71d5aadbc8 [api] scale calculation method can be set for QgsMapSettings 2025-03-30 18:03:30 +10:00
Nyall Dawson
170d962356 Add scale method handling to QgsScaleCalculator 2025-03-30 18:03:30 +10:00
Nyall Dawson
a2db8cf453 Add QgsProject setting for scale calculation method
Exposes the same methods as are available for layout scale bars,
and can be set for a particular project in the project properties
dialog
2025-03-30 18:03:30 +10:00
qgis-bot
644c1f835b auto sipify 🍺 2025-03-30 01:12:39 +00:00
qgis-bot
19848a7819 auto sipify 🍺 2025-03-29 09:09:07 +00:00
Mathieu Pellerin
e75a28f15a [editor widget] Fix relation reference widget filter expression's handling of current(_parent)_* variables and functions 2025-03-29 16:06:09 +07:00