46 Commits

Author SHA1 Message Date
Nyall Dawson
d4027f3c09 [sipify] Strip \ref tags 2025-04-03 11:44:59 +10:00
Nyall Dawson
8565a63e1a Fix ref 2025-04-03 11:44:59 +10:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10: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
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +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
4f2bbe407a
Fix compilation on GDAL 3.11 2025-02-20 09:54:05 +10: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
Nyall Dawson
8c99b4c39c Remove dead code from PROJ <8.1 2025-01-31 06:55:32 +10:00
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Mathieu Pellerin
3ec4a8aab3 [qml] Expose QgsLocatorContext's transformContext as property 2024-11-25 10:26:38 +10:00
Nyall Dawson
9a537b71e9 Revert "[qml] Expose QgsLocatorContext's transformContext as property"
This reverts commit 714ddff73991730d4ea4b063a09ed800d2623d19.
2024-11-23 09:01:05 +10:00
Mathieu Pellerin
714ddff739 [qml] Expose QgsLocatorContext's transformContext as property 2024-11-22 17:35:55 +07:00
Nyall Dawson
8b744fbda5 Expand docs with notes on caching 2024-11-04 15:14:00 +10:00
Nyall Dawson
fe78267c66 'throw' is not used/required on sip >=6
And generates hundreds of deprecation warnings during build
2024-11-04 15:13:37 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation 2024-09-10 11:11:25 +10:00
Nyall Dawson
0f1daa11f3 Fix formatting of some \see links 2024-09-04 06:32:03 +10:00
Nyall Dawson
ef0289f3ec Fix formatting of Python ..deprecated annotations in docstrings
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
765cbb32db Standardise some deprecated annotations 2024-09-02 11:42:12 +10:00
Nyall Dawson
f90a7c04b1 Raw code block should use 'text', not 'raw'
'raw' gives an error when building the PyQGIS docs
2024-08-23 09:26:18 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d Valid improvements from new sipify 2024-08-13 20:28:55 +10:00
Nyall Dawson
6d829ff7b4 Drop some more no value documentation 2024-07-25 04:02:55 +10:00
Nyall Dawson
6f652d251b Drop no-value copy constructor dox 2024-07-25 04:02:55 +10:00
Nyall Dawson
45090576b2 Add method to determine whether a QgsCoordinateTransform has a vertical
component
2024-07-17 13:40:35 +10:00
Nyall Dawson
cc937af28a Add equality operator for QgsCoordinateTransform 2024-07-17 13:40:35 +10:00
Nyall Dawson
cc6a840b52 Add QgsProjUtils and QgsCoordinateReferenceSystem ::hasVerticalAxis
Can be used to test if a crs contains a vertical axis
2024-04-26 20:26:41 +10:00
Nyall Dawson
1d52a7a8de Report proj error when creating compound crs fails 2024-04-26 20:26:41 +10:00
Julien Cabieces
dc677f4230
Merge pull request #56600 from troopa81/feat_add_srs_getfeatureinfo_json
[Feature][WMS] Add crs information in WMS GetFeatureInfo output when it differs from WGS84
2024-04-02 17:54:00 +02:00
Nyall Dawson
14313198dc Add QgsCoordinateReferenceSystem::horizontalCrs()
Similar to verticalCrs(), this returns just the horizontal component
of a crs
2024-03-12 12:45:36 +10:00
Nyall Dawson
9d281971d5 Add QgsCoordinateReferenceSystem method to create a compound CRS 2024-03-10 12:19:04 +10:00
Nyall Dawson
b2c1fff11a [api] Add method to retrieve vertical CRS from QgsCoordinateReferenceSystem
Returns the vertical CRS associated with this CRS object.

In the case of a compound CRS, this method will return just the vertical CRS component.

An invalid CRS will be returned if the object does not contain a vertical component.
2024-03-10 06:40:39 +10:00
Julien Cabieces
533a7170ec update version 2024-03-06 19:07:05 +01:00
Julien Cabieces
101a5cccf7 [Feat] Add crs information in WMS GetFeatureInfo output 2024-03-06 19:07:05 +01:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Nyall Dawson
0096246afe Sipify 2024-02-13 20:51:03 +10:00
Even Rouault
d43ceb45b6
qgscoordinatetransform.h: add a couple missing SIP_THROW( QgsCsException ), and add Doxygen \throw hint to make it obvious exceptions might be thrown 2024-02-07 03:16:44 +01:00
Nyall Dawson
1092e6dd8b Add isDeprecated method to QgsCoordinateReferenceSystem 2024-01-20 12:11:30 +10:00
Nyall Dawson
f25a87ea3f Correctly deprecate method 2024-01-20 12:11:30 +10:00
Nyall Dawson
20075f8809 Use consistent case 2024-01-17 10:16:32 +10:00
Nyall Dawson
6c7cf97d85 Add signals for recent crs changes
And move tests to correct file
2024-01-17 10:16:32 +10:00
Nyall Dawson
f2903c7935 Move QgsCoordinateReferenceSystem enums to qgis, promote to enum class 2024-01-17 10:16:32 +10:00
Nyall Dawson
25fb7cefe1 Move recent crs methods to QgsCoordinateReferenceSystemRegistry 2024-01-17 10:16:32 +10:00
Julien Cabieces
bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00