422 Commits

Author SHA1 Message Date
Alexander Bruy
263278e429
Merge pull request #63323 from alexbruy/processing-maplayer-types
fix handling of tiled scene and vector tile layers in Processing
2025-09-25 13:20:12 +01:00
Alexander Bruy
3dea8531d9 fix handling of tiled scene and vector tile layers in Processing map
layer parameter and associated widget wrapper
2025-09-24 09:36:39 +01:00
Alexander Bruy
e290dc7629 fix typo in the OpenLayersToResolveDescriptions sublayer query flag 2025-09-24 08:36:21 +10:00
Nyall Dawson
1ac32faf76 Add 'OpenLayersToResolveDescriptions' sublayer query flag
Make (potentially very slow) opening of layers to resolve descriptions opt-in
2025-09-18 13:00:47 +10:00
Nyall Dawson
d9362e6687 [api] Introduce flag to disable error message logging for network requests
Fixes #53721
2025-09-18 12:44:10 +10:00
Germán Carrillo
ed14d45755 Address review: Add QgsProcessingParameterRasterLayer's parameter capabilities flags and associated getter/setter, to allow algorithms to state that a raster layer supports the advanced raster options panel 2025-09-09 13:38:16 +10:00
Mathieu Pellerin
092bbc479b
Brand new pie chart plot type (#63099) 2025-09-08 23:05:26 +07:00
bdm-oslandia
ec0f29434e fix JoinStyle3D 2025-09-05 09:30:02 +10:00
bdm-oslandia
8b18258714 sfcgal: add buffer like operations 2025-09-05 09:30:02 +10:00
Nyall Dawson
813902d225 [qt6] Use strict type checking in QVariant < and > operators
Otherwise we incorrectly match different types, which breaks
expected behavior when a QMap< QVariant, ... > is used under Qt 6.
2025-08-29 11:51:18 +10:00
Nyall Dawson
9c2c2d86a5 Add method for PyQGIS to determine whether the QGIS build has QtWebKit 2025-08-28 13:51:07 +10:00
Nyall Dawson
3e8c2cdf14 Add layer legend flags 2025-08-25 12:17:32 +10:00
Mathieu Pellerin
366fdfc307 Address second round of reviews 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a2caa8ea75 [plots] Add plot data classes 2025-08-22 10:41:20 +10:00
Nyall Dawson
741b9260fe Add processing documentation flag for algorithms which respect ellipsoid 2025-07-22 13:06:50 +10:00
Mathieu Pellerin
8c7edbeec2 Rename rotation enum keys 2025-07-02 11:38:05 +12:00
Mathieu Pellerin
4bad76d876 Where did my pre-commit hook go? 2025-07-02 11:38:05 +12:00
Mathieu Pellerin
d8d7d5480e Fix rebase conflict 2025-06-30 11:07:37 +12:00
Nyall Dawson
01cf5bbc63 Introduce paint effect flags 2025-06-19 14:49:17 +12:00
Mathieu Pellerin
dadf550c40 [api] Expose core STAC classes to python bindings 2025-06-12 18:02:00 +07:00
Nyall Dawson
b182ae02e8 Add enum flags for 3D basemap hints
Like the existing 2D basemap flags, but exclusively for layers with 3d content
2025-06-11 10:36:54 +12:00
Mathieu Pellerin
2dc9a23094
[symbology] Fix line/point pattern fill symbol layer freezing QGIS when rendering an insane amount of points/lines per pixel (#62074) 2025-06-03 18:01:29 +07:00
Nyall Dawson
868e067da9 Rename 'AllowRasterization' to 'Default' 2025-06-03 11:34:13 +10:00
Nyall Dawson
6bd71ef1de Promote layout render context flags to enum class, move to Qgis 2025-06-03 11:34:13 +10:00
Nyall Dawson
e04145f053 Add new enum for rasterised rendering policy 2025-06-03 11:34:13 +10:00
Nyall Dawson
96247de345 Fix qgsVariantGreaterThan may return false result when values are equal
Fixes #61759
2025-05-14 04:57:31 +10:00
Nyall Dawson
31ac029d0a Move processing dialog mode enum to Qgis and rename 2025-04-30 13:56:09 +10:00
Nyall Dawson
71420a5628 Cleanup global constants
- Deprecate global geographic crs strings, these should not be used
- Move some global constants to Qgis, and monkey patch for
  API compatibility
- Deprecate global qgsVsiPrefix. Use QgsGdalUtils::vsiPrefixForPath()
  instead
2025-04-03 11:44:59 +10:00
Alexander Bruy
34aedd067d
Merge pull request #60710 from GispoCoding/59494_merge_policies
Add merge policies
2025-04-02 09:22:52 +01:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +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
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
Julien Cabieces
545e14350b feat(RasterTemporal): Add fixed date/time to raster temporal mode 2025-03-14 10:19:50 +10:00
Nyall Dawson
a2f9868f6f
Remove duplicate http method enums 2025-03-12 11:10:57 +10:00
Nyall Dawson
56bc177e4e Add provider connection method to set table comment
Currently supported for Postgres provider only
2025-03-10 14:40:27 +10:00
Nyall Dawson
d5a812e3d4 Add metadata methods for primary key capabilities 2025-03-10 14:40:27 +10:00
Nyall Dawson
b1727f8b73 [api] Add connection metadata methods for default geometry column name, import capabilities 2025-03-10 14:40:27 +10:00
Nyall Dawson
13aae162f0 Promote marker symbol alignment enums to enum class, move to Qgis 2025-03-05 19:02:47 +10:00
Nyall Dawson
bb4827e9f9
Create a class for managing stored database queries
This class is designed to be compatible with DB Manager's storage
of queries in projects, but extended to allow storage within
the local profile too.
2025-02-26 10:54:25 +10:00
Juho Ervasti
2e2a77ac7c SkipAttribute merge policy -> SetToNull 2025-02-25 16:20:38 +02:00
Juho Ervasti
ced40a2d8d Add more policies 2025-02-20 20:12:49 +02:00
Nyall Dawson
8911a5b726 Move QgsLegendStyle::Style enum to Qgis, rename to LegendComponent 2025-02-20 13:08:54 +10:00
Alexander Bruy
3d44213606 do not enable default Duplicate Feature and Digitize action for geometryless layers (refs #57916) 2025-02-20 08:44:48 +10:00
Juho Ervasti
a2fda5c1c6 Add largest geometry policy to enum 2025-02-18 15:58:12 +02:00
Loïc Bartoletti
e637eb3df2 move SegmentCalculationMethod to qgis.h 2025-02-14 08:56:11 +10:00
Juho Ervasti
b0a12f78aa Add new Field Domain merge policy 2025-02-12 17:06:13 +02:00
Nyall Dawson
d4c592e6d0 Move provider-specific credential redaction logic to QgsProviderMetadata
Followup 1907ab3
2025-02-04 08:24:35 +10:00
Withalion
2a8cd537fa Fix issues introduced by PointCloudIndex refactor 2025-01-08 12:40:34 +01:00