8918 Commits

Author SHA1 Message Date
Andrea Giudiceandrea
2d70b7afa2 [processing][grass] Fix v.mkgrid
Use parameter "type" instead of flag "-p" and add missing "-a" flag
2024-12-23 08:33:03 +09:00
Nyall Dawson
c1809728ff
Fix regex 2024-12-18 15:04:49 +10:00
Nyall Dawson
787f8072d1
Enable test which passes now 2024-12-18 13:20:52 +10:00
Nyall Dawson
d3df8c13cb
Only run i.smap , i.maxlik tests on older GRASS
Newer ones have the raster paths hardcoded into
the signature file, and we can't handle that currently
in the test suite
2024-12-18 13:20:52 +10:00
Nyall Dawson
6aa594dcb6
Allow skipping tests by grass version 2024-12-18 13:20:52 +10:00
Nyall Dawson
67a67c30e9
Resync grass plugin algorithm test base file 2024-12-18 13:20:52 +10:00
Nyall Dawson
49f9cfb358
Adapt some grass tests to account for formats used in newer GRASS versions 2024-12-18 13:20:52 +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
Jan Caha
b463e7c813 fix error where table comment was not updated on second open of "Table Properties" window 2024-12-13 09:37:33 +10:00
Jan Caha
330c03dccc edit QLineEdit to QTextEdit 2024-12-13 09:37:33 +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
Even Rouault
5665665712 Fix CMake 3.31 warnings 2024-12-04 06:50:16 +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
Nicolas Godet
5c803b120e Report GRASS warnings with pushWarning instead of reportError and check translated warning or error 2024-10-25 11:52:18 +10:00
mazano
6ca60b7502
[ogr2ogr] Fix promote to multipart logic and add makevalid option (#58440) 2024-10-18 07:45:43 +10:00
gisn8
45d40ad071 Set raise error to DbError
Thanks! Much more user-friendly.

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-10-18 06:47:16 +10:00
gisn8
92fcb86be6 Fix: clean up whitespace and formatting issues caught by Flake8 2024-10-18 06:47:16 +10:00
gisn8
cad4759212 Handle invalid view names with more than one period
I've updated the code as recommended and added an error message should there there be too many periods. Thanks for the suggestion!
2024-10-18 06:47:16 +10:00
gisn8
70e9694a12 Addressing Issue #35767 to allow for view creation into specified schema from [ Create a view ] in DBManager 2024-10-18 06:47:16 +10:00
Nyall Dawson
2c34056199 pyqt5_to_pyqt6.py run 2024-10-17 17:58:49 +10:00