93243 Commits

Author SHA1 Message Date
qgis-bot
958b06c3d6 auto sipify 🍺 2025-09-09 07:23:20 +00:00
Mathieu Pellerin
87d5815268
Merge pull request #63103 from nirvn/atlas_clip
[layouts] Allow for atlas geometries to reshape the frame of map items
2025-09-09 14:20:36 +07:00
qgis-bot
40ec57c406 auto sipify 🍺 2025-09-09 07:19:23 +00:00
Mathieu Pellerin
8b72152aff
Charts implementation, part 3: data defined properties (#63100)
* [charts] Implement data-defined properties, connect GUI

* Fix copy/paste typo with grid symbol buttons

* Address review
2025-09-09 14:16:41 +07:00
Mathieu Pellerin
b9d2c066de Address review, fix test 2025-09-09 11:26:57 +07:00
Mathieu Pellerin
1360d8ac76 Address review 2025-09-09 11:23:21 +07:00
qgis-bot
e8a80eb038 auto sipify 🍺 2025-09-09 03:40:55 +00:00
Germán Carrillo
e7d2cffbb3 [tests] Use mocked WMS layers to test XML description file generation from GdalUtils 2025-09-09 13:38:16 +10:00
Germán Carrillo
9f269f2ed3 [tests] Add tests for QgsWmsUtils 2025-09-09 13:38:16 +10:00
Germán Carrillo
8d453b0943 [tests] Introduce tests for the WMS provider (based on other providers like wfs and aws) 2025-09-09 13:38:16 +10:00
Germán Carrillo
6d8bd5592d [tests] Add tons of unit tests for QgsProcessingRasterLayerDefinition, testClipRasterByExtent() and testClipRasterByMask() 2025-09-09 13:38:16 +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
Germán Carrillo
40180873ff Address review: move some WMS-related logic to GdalUtils 2025-09-09 13:38:16 +10:00
Germán Carrillo
8ce111115c [core] Introduce QgsWmsUtils to get centralized access to WMS related utilities 2025-09-09 13:38:16 +10:00
Germán Carrillo
9e67aca98f Address review (miscellaneous): Scale parameter from long to double; use processing API to create temp files 2025-09-09 13:38:16 +10:00
Germán Carrillo
0583b3ddb2 [tests] Add tests for GdalUtils' wms_dimensions_for_scale() 2025-09-09 13:38:16 +10:00
Germán Carrillo
2ff37c737c Adress review: Replace Python's Element Tree by Qt DOM API 2025-09-09 13:38:16 +10:00
Germán Carrillo
388a0ad013 [gui] Disable the 'Advanced options' panel for WMTS and XYZ layers (which also have the provider type 'wms'). That is, only (real) WMS layers can access the panel for now. 2025-09-09 13:38:16 +10:00
Germán Carrillo
4eb52e461d [processing] Adapt algorithm 'Clip raster by mask' to use QgsProcessingRasterLayerDefinition, and thus, support clipping WMS layers by extent, setting a reference scale and DPI for the WMS (e.g., to preserve symbology/labeling). 2025-09-09 13:38:16 +10:00
Germán Carrillo
66d16fb836 [processing] Adapt algorithm 'Clip raster by extent' to use QgsProcessingRasterLayerDefinition, and thus, support clipping WMS layers by extent, setting a reference scale and DPI for the WMS (e.g., to preserve symbology/labeling). Make sure function Gdalutils._wms_dimensions_for_scale() works for GCSs as well as for CRSs with inverted axis (for WMS v1.3.0). 2025-09-09 13:38:16 +10:00
Germán Carrillo
28c8bfd985 [processing] Add spanner button next to Raster input combobox to open an advanced panel to specify raster source options (e.g., reference scale and DPI for WMS rasters). For now, the spanner button is only enabled for WMS layers. 2025-09-09 13:38:16 +10:00
Germán Carrillo
c2b5060802 [processing] Introduce QgsProcessingRasterLayerDefinition to support advanced raster source options like reference scale and DPI for WMS layers. These options allow users to tailor the raster to be used as input in Processing algs. For instance, a WMS raster can be specified to have a particular scale to obtain images with symbology/labeling that correspond to that scale. 2025-09-09 13:38:16 +10:00
Germán Carrillo
0da7183f98 [processing] Add a new panel for raster layer advanced options, like reference scale and dpi, which can be used to retrieve a tailored raster from a source (e.g., WMS server). 2025-09-09 13:38:16 +10:00
Germán Carrillo
d7f16d3c5b [tests] Make sure we test the extent parameter (PROJWIN) in ClipRasterByExtent GDAL alg 2025-09-09 13:38:16 +10:00
Germán Carrillo
d232e9583c [processing] Add methods to GdalUtils to calculate WMS dimensions in pixels for a given bbox, scale and dpi, so that we can request a WMS at a specific scale (and preserve the scale-dependant symbology/labeling) 2025-09-09 13:38:16 +10:00
Germán Carrillo
edeec681aa [tests] Test XML description file generation for WMS (allows GDAL to access to WMSs) 2025-09-09 13:38:16 +10:00
Germán Carrillo
1e1c758030 [processing] Add method to GdalUtils to get an XML description file for a WMS, so that GDAL can connect to it 2025-09-09 13:38:16 +10:00
Mathieu Pellerin
fec997e443 [layouts] Allow for atlas geometries to reshape the frame of map items 2025-09-09 10:23:57 +07:00
Mathieu Pellerin
2e0a494c00 Fix copy/paste typo with grid symbol buttons 2025-09-09 09:13:46 +07:00
Mathieu Pellerin
21e9095b0e [charts] Implement data-defined properties, connect GUI 2025-09-09 09:13:36 +07:00
qgis-bot
2cbbd33e7e auto sipify 🍺 2025-09-09 01:48:10 +00:00
Nyall Dawson
f3fa1d40ce Add a bit more thread-safety to QgsMapSettings
Avoid accessing layers to retrieve their IDs in common situations
2025-09-09 11:45:32 +10:00
qgis-bot
8f67da44cc auto sipify 🍺 2025-09-08 16:08:05 +00:00
Mathieu Pellerin
092bbc479b
Brand new pie chart plot type (#63099) 2025-09-08 23:05:26 +07:00
qgis-bot
1c3d80ae9e auto sipify 🍺 2025-09-08 15:44:05 +00:00
Julien Cabieces
947ad7cfb3
Merge pull request #63068 from ptitjano/wfs-server-ogc-urn-backup
server: Use URNs by default for WFS 1.1
2025-09-08 17:41:21 +02:00
Nyall Dawson
60e77764d0 Use sfcgal package on ci instead of rebuilding 2025-09-08 19:38:28 +10:00
qgis-bot
b313757489 auto sipify 🍺 2025-09-08 06:43:41 +00:00
mhugent
0fe161e3c0
Merge pull request #62950 from mhugent/invalid_layer_rendering_error
Report attempt to render invalid layers as a rendering error
2025-09-08 08:41:03 +02:00
Nyall Dawson
24e4fce4e9 Test masks 2025-09-08 15:33:50 +10:00
Nyall Dawson
fe7b53a6e1 Add test mask variants 2025-09-08 15:33:50 +10:00
Nyall Dawson
9001bf71a0 Correctly set antialiasing flag 2025-09-08 15:33:50 +10:00
Nyall Dawson
b18e2607ef Elevation profile test mask 2025-09-08 15:33:50 +10:00
Nyall Dawson
e3904d43af SVG marker test variant 2025-09-08 15:33:50 +10:00
Nyall Dawson
b874529783 Labeling test masks 2025-09-08 15:33:50 +10:00
Nyall Dawson
7929cd1519 Map rotation test mask 2025-09-08 15:33:50 +10:00
Nyall Dawson
f20c50423f Map renderer test masks and variants 2025-09-08 15:33:50 +10:00
Nyall Dawson
034c066aca Legend test masks 2025-09-08 15:33:50 +10:00
Nyall Dawson
8be2dd1d33 Layout attribute table masks 2025-09-08 15:33:50 +10:00
Nyall Dawson
0a9f5f4978 Layout scalebar mask 2025-09-08 15:33:50 +10:00