Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
8054fd816f
added test tp check truncation of WIDTh and HEIGHT float values
...
relates to #60533
2025-02-12 11:32:35 +01:00
pre-commit-ci[bot]
401f6d3844
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-12 11:32:35 +01:00
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
d4399cdc84
truncates double inputs to -ts WIDTH HEIGHT
2025-02-12 11:32:35 +01:00
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
d570f81db5
ensures that "gda:rasterize" uses integer numbers as input to -ts parameter
...
fixes #60524
2025-02-12 11:32:35 +01:00
Alexander Bruy
e5d1543a65
fix typo
2025-02-12 06:33:13 +00:00
Nyall Dawson
0180380076
[processing] Fix exception when algorithm has no output layers
...
Fixes regression caused by https://github.com/qgis/QGIS/pull/59850
2025-02-12 14:56:48 +10:00
Jean Felder
a46f3e9752
postprocessing: Use QgsLayerTreeRegistryBridge to add layers
...
When a profile tool is already opened, the output of a procssing is
not added to its layer tree. This is because it relies on a
`QgsLayerTreeRegistryBridge`. Indeed, `QgsLayerTreeRegistryBridge`
listens to the `QgsProject::legendLayersAdded()` signal in order to
update the elevation profile tree view. However this signal is not
triggered by the current logic in `Postprocessing.py`because
`QgsProject::addMaplayer` is called with `addToLegend` set to
False. Then, the layer is added to the tree by calling
`QgsLayerTreeGroup::insertChildNode`.
This issue is fixed by creating a
`QgsLayerTreeRegistryBridge::InsertionPoint` to set the insertion
point and then calling `QgsProject::addMaplayer` with `addToLegend`
set to True.
2025-02-07 10:22:53 +10:00
Alexander Bruy
b6d1d7e8d6
add missed import and fix getThemeIcon() call (follow-up #60261 )
2025-02-06 09:54:48 +00:00
Andrea Giudiceandrea
cc53e8a6ef
[processing][gui] Fix InterpolationDataWidget
...
Fix initialisation of "Use Z-coordinate for interpolation" checkbox
2025-02-05 09:30:15 +10:00
Nyall Dawson
fa1bae1a4f
Adapt tests for proj 8.2 results
2025-02-05 06:15:05 +10:00
Mathieu Pellerin
b4b2dfdd21
Address review
2025-01-30 08:47:29 +10:00
Alexander Bruy
4776478354
update expected raster hashes
2025-01-30 08:46:28 +10:00
Mathieu Pellerin
f2289c83f1
[processing] Fix feature iteration against a model ( fixes #60131 )
2025-01-28 12:06:36 +10:00
Alexander Bruy
5c67214a4d
make use of QKeySququence in Processing script editor compatible with
...
PyQt6 (fix #60063 )
2025-01-28 08:37:16 +10:00
Andrea Giudiceandrea
d7e819de38
[Modeler] Fix algorithms help URL
2024-12-17 02:33:45 +01:00
Nyall Dawson
a9a74e9aed
Fix heatmap algorithm on qt6
2024-12-15 09:10:18 +10:00
Nyall Dawson
3d2f37a756
Fix test which was never working, but just skipped on CI because too old GDAL
2024-12-14 10:22:12 +10:00
Nyall Dawson
05c269d61d
Fix test on newer GEOS versions
2024-12-14 10:22:12 +10:00
Nyall Dawson
27253e1c21
Fix test on newer python
2024-12-13 13:54:19 +10:00
Harrissou Sant-anna
3ff6ca6556
Remove optional flag next to Processing algs Boolean parameters - fixes #59794
2024-12-12 09:40:29 +10:00
Jan Caha
f593da593a
New Algorithm - Mesh Surface to Polygon ( #58941 )
...
* new algorithm
* update feedback
* allow cancel during mesh face processing
* allow cancel during mesh faces processing
* fix file names
* fix the speed of the algorithm
* drop not needed imports
* fix issues
* more readable
* add mesh layer
* test case
* simplify to avoid warning
* fix issue
* fix data call
* fix call
* fix expected data
* handle meshes with holes
* add test case
* merge from master
* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp
fix translation
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp
fix translation
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp
fix translation
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix translation
* typo
* clone
* delete to avoid memory leak
---------
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:04:48 +02:00
Etienne Trimaille
6f4304bc0e
Review the Processing script template : add annotations, remove self.tr
2024-12-11 10:59:00 +10:00
Florian Neukirchen
c763cf0cea
Use createExpressionContext() to create context in a cleaner and safer way as suggested
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-12-10 06:45:43 +10:00
Florian Neukirchen
7b238cc931
Remove != "" as suggested in code review
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-12-10 06:45:43 +10:00
pre-commit-ci[bot]
4129a71797
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-12-10 06:45:43 +10:00
Florian Neukirchen
d552495eba
Optional hover text from a expression
2024-12-10 06:45:43 +10:00
Nyall Dawson
c33b4e67dc
Fix exception when loading processing plugin on Qt 6 builds on KDE
...
Something internal in KDE itself adds child QObjects to menus, so the
code which tries to find the last action in the menu fails and returns
a QObject instead of a QAction, leading to an exception in the
insertAction call.
This is all too fragile anyway, so avoid it by:
- Just creating the models menu directly in the ui
- Exposing this via interface for use in the processing plugin
Now there's no risk of this code breaking in future if the Project
menu is re-arranged.
2024-12-06 19:20:05 +10:00
Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Nyall Dawson
c6da4345ef
Update python/plugins/processing/algs/qgis/VectorLayerScatterplot3D.py
2024-11-29 11:19:46 +10:00
Florian Neukirchen
6a10b141d0
Add comment as suggested in code review
2024-11-29 11:19:46 +10:00
Florian Neukirchen
3b22009b1a
Change strings as suggested in code review part 2
2024-11-29 11:19:46 +10:00
Florian Neukirchen
e6bfc5ab1e
Change strings as suggested in code review
2024-11-29 11:19:46 +10:00
Florian Neukirchen
b719b09c5e
Allow to show no axis titles by entering a single space
2024-11-29 11:19:46 +10:00
Florian Neukirchen
532b52dcfd
Remove blank line
2024-11-29 11:19:46 +10:00
Florian Neukirchen
f75386909d
Axis titles default to the names of the field instead of not showing axis titles
2024-11-29 11:19:46 +10:00
Florian Neukirchen
6fa5bcec3a
Was setting the wrong axis titles to None
2024-11-29 11:19:46 +10:00
Florian Neukirchen
4fe35b2236
Add title, axis titles and option for log axis to Vector layer Scatterplot
2024-11-29 11:19:46 +10:00
Florian Neukirchen
9e29495462
Add title and axis titles to Vector layer Scatterplot3D
2024-11-29 11:19:46 +10:00
Florian Neukirchen
eb85601c44
Parameter value must be numeric
2024-11-29 11:19:46 +10:00
Florian Neukirchen
236007ef3f
Add title, xaxis_title, yaxis_title to BoxPlot
2024-11-29 11:19:46 +10:00
Florian Neukirchen
e921e5caf0
Add title, xaxis_title, yaxis_title to BarPlot
2024-11-29 11:19:46 +10:00
AlisterH
7726067f87
Update Datasources2Vrt.py
...
Remove out-of-date statement from help.
2024-11-26 09:09:13 +10:00
Nyall Dawson
3e1c84e07e
Finalize sinks to get proper error reporting when flushing features
...
Fixes #59237
2024-11-12 08:49:18 +01:00
Nyall Dawson
1a4bd44937
Rename field to extremum_type
2024-11-11 13:01:42 +10:00
Nyall Dawson
2890df089d
[feature] Add raster zonal min/max algorithm
...
This algorithm extracts point features corresponding to the minimum
and maximum pixel values contained within polygon zones.
The output will contain one point feature for the minimum and one
for the maximum raster value for every individual zonal feature
from a polygon layer.
2024-11-11 13:01:42 +10:00
Nyall Dawson
a7bd4f3bf2
[processing] Add algorithm to extract min/max pixel from raster
...
This algorithm extracts extrema (minimum and maximum) values
from a given band of the raster layer.
The output is a vector layer containing point features for
the selected extrema, at the center of the associated pixel.
If multiple pixels in the raster share the minimum or maximum
value, then only one of these pixels will be included in the output.
The algorithm uses raster iterator to remain efficient on huge
rasters, and does not require reading the entire raster to
memory
2024-11-07 10:13:55 +11:00
signedav
774c5a913c
Fix passing missing context to expression of select by expression algorithm
2024-11-01 11:44:44 +10:00
mazano
6ca60b7502
[ogr2ogr] Fix promote to multipart logic and add makevalid option ( #58440 )
2024-10-18 07:45:43 +10:00
Nyall Dawson
2c34056199
pyqt5_to_pyqt6.py run
2024-10-17 17:58:49 +10:00
Nyall Dawson
578aa207d0
Show warning when loading batch params for algs with security risk
...
If the algorithm has the security risk flag, warn the user before
they can open stored batch parameter files
2024-10-02 10:36:00 +10:00