24711 Commits

Author SHA1 Message Date
Martin Dobias
c40d25ade9 Add 3D scene mode enum 2025-03-24 10:29:33 +01:00
Martin Dobias
e98bf79f1a Initial implementation of globe camera controller
This is a new navigation mode for QgsCameraController which is meant to work
just like the terrain-based navigation mode, but for 3D scenes with globe.

Initially, the new navigation mode can handle:
- zooming in/out with mouse wheel
- orbit around globe when dragging with left mouse button pressed
- left/right/up/down keys to orbit around globe
- shift + left/right keys to change heading angle
- shift + up/down keys to change pitch angle
- page up/page down keys to increase/decrease elevation

For camera pose, we use QgsCameraPose as for "flat" scenes, but the QCamera
is positioned/rotated slightly differently - the main change is that in case
of globe, we use ECEF coordinates of the camera pose's center point, convert
them to lat/lon coordinates in order to set up initial rotation of the camera
so that it is perpendicular to the tangent plane at the given ECEF coordinate.
2025-03-24 10:29:33 +01:00
qgis-bot
67a6c46e17 auto sipify 🍺 2025-03-24 00:28:36 +00:00
Nyall Dawson
a315e07657 Expand docs 2025-03-24 10:25:39 +10:00
Nyall Dawson
6953aec591 Just require ints instead of QNetworkAccessManager::Operation enum
The sip conversion code fails with enums under qt 6
2025-03-24 10:25:39 +10:00
Nyall Dawson
9b96cfde8b Move DOM compare function to QgsTestUtils 2025-03-24 10:25:39 +10:00
Nyall Dawson
b9b519950d [api] Add advanced network request preprocessor capabilities
Allows mutating the request, network operation and request data.

Intended for mocking eg post requests in unit tests
2025-03-24 10:25:39 +10:00
Nyall Dawson
b774d3ecae Store preferred http method for connections 2025-03-24 10:25:39 +10:00
Juergen E. Fischer
d9b5d8c9c5 update_ts.sh: alternatively use pylupdate6 + python translation string fixes 2025-03-23 23:23:02 +01:00
qgis-bot
17824ad647 auto sipify 🍺 2025-03-20 10:49:30 +00:00
Loïc Bartoletti
6e589e1f51 Revert "fix(QgsMapToolCapture): Allow snapping point with different crs"
This reverts commit 7a0f84f39f2c412f6226b165d5f0b299284d1c4c.
2025-03-20 11:46:35 +01:00
Jan Caha
d981659ecb add types 2025-03-20 10:12:37 +10:00
pre-commit-ci[bot]
117ef4c7d5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-20 10:12:37 +10:00
Jan Caha
b546ba43e4 update strings
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-03-20 10:12:37 +10:00
Jan Caha
ea9ee4088e handle temporary output 2025-03-20 10:12:37 +10:00
Jan Caha
cb3ebba533 all temporary output on selection panel 2025-03-20 10:12:37 +10:00
Werner Macho
d3535951c1 adding austrian csw to metasearch default servers 2025-03-20 07:09:16 +10:00
qgis-bot
6e63293614 auto sipify 🍺 2025-03-19 04:05:55 +00:00
Alexander Bruy
afd575ea87 add signal to notify about extent layer changes to QgsExtentWidget and
QgsExtentGroupBox
2025-03-19 14:03:02 +10:00
Elton Chan
709914f16b
Add protocol values for ESRI Geoportal (#61047)
* Add protocol values for ESRI Geoportal

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-18 06:19:47 -04:00
qgis-bot
13ba59af3e auto sipify 🍺 2025-03-14 05:01:07 +00:00
Julien Cabieces
d528d9ab31 refactor(LegendUrl): Make legend url part of server properties 2025-03-14 14:58:15 +10:00
qgis-bot
b5d94cdc06 auto sipify 🍺 2025-03-14 00:22:43 +00:00
Julien Cabieces
716af56b62 doc(RasterTemporal): fix documentation 2025-03-14 10:19:50 +10:00
Julien Cabieces
545e14350b feat(RasterTemporal): Add fixed date/time to raster temporal mode 2025-03-14 10:19:50 +10:00
qgis-bot
1a146380f8 auto sipify 🍺 2025-03-13 23:50:15 +00:00
qgis-bot
d1e91d5482 auto sipify 🍺 2025-03-13 23:39:11 +00:00
Alexander Bruy
1a3f0fa2d2 add support for user-defined nodata value to QgsGridFileWriter 2025-03-14 09:36:18 +10:00
Alexander Bruy
a54654da92 add create options support to QgsGridFileWirter (follow-up 2aa6c5d) 2025-03-14 09:36:18 +10:00
Jean Felder
8bc8941b1d processing/gdal: Ensure to flush the buffer once finished 2025-03-13 07:21:24 +10:00
Jean Felder
5ca6c217f3 processing: Fix voronoipolygons unit test for GEOS 3.12.1 2025-03-13 07:21:24 +10:00
Nyall Dawson
3cc451f7d5 Const correctness 2025-03-12 18:31:51 +10:00
qgis-bot
fcff8582dc auto sipify 🍺 2025-03-12 08:04:24 +00:00
Julien Cabieces
044b3aecf1
Merge pull request #60956 from nyalldawson/http_method_enum
Remove duplicate http method enums
2025-03-12 09:01:36 +01:00
Nyall Dawson
a2f9868f6f
Remove duplicate http method enums 2025-03-12 11:10:57 +10:00
qgis-bot
9e873c7bc9 auto sipify 🍺 2025-03-12 01:08:22 +00:00
Nyall Dawson
5f82c62212 Add missing sip downcasts for triangulated surface, polyhedral surface 2025-03-12 11:05:35 +10:00
Nyall Dawson
403bdbd405 Don't allow qgsgeometry_cast to cast away const 2025-03-12 11:05:35 +10:00
qgis-bot
f14a9a0caf auto sipify 🍺 2025-03-12 00:28:39 +00:00
Nyall Dawson
8fdd39fca9 Add support for setting output fields for QgsVectorLayerExporter
Allows remapping fields from the source fields, including specifying
the exact output field type, and source expression
2025-03-12 10:25:48 +10:00
Nyall Dawson
b414def927 Allow setting native field types for QgsFieldMappingWidget
Previously the widget would always just use a generic hardcoded
list of field types. This isn't appropriate for all destination
providers, which may not support certain field types.

Add API so that an explicit list of supported destination
field types can be set for the widget, restricting the choices
available to users for destination fields.
2025-03-12 10:25:48 +10:00
qgis-bot
c2b726d5f8 auto sipify 🍺 2025-03-11 12:54:49 +00:00
Martin Dobias
eb624040fe
Merge pull request #60869 from wonder-sk/auto-shift-origin
[3d] Large scene support: shift scene's origin if the camera got too far
2025-03-11 13:51:56 +01:00
Nyall Dawson
e1e50215cd
Merge pull request #60881 from alexbruy/processing-define-projection-cpp
port Define Projection algorithm to C++
2025-03-11 14:24:03 +10:00
qgis-bot
cf5320a4e1 auto sipify 🍺 2025-03-11 00:09:21 +00:00
Nyall Dawson
6681fead3c
Merge pull request #60912 from nyalldawson/browser_export_filter
Add optional extent, expression based filter when importing tables to database
2025-03-11 10:06:29 +10:00
Nyall Dawson
3a4357dcde
Fix typo 2025-03-11 08:28:41 +10:00
Nyall Dawson
eaafdc07ba
Fix build, docs 2025-03-10 18:11:55 +10:00
qgis-bot
41d5fc2c30 auto sipify 🍺 2025-03-10 04:43:19 +00:00
Nyall Dawson
6a17295cbe
Make map canvas accessible via QgsDataItemGuiContext
Allows browser item GUI operations to access the map canvas
2025-03-10 14:41:21 +10:00