3547 Commits

Author SHA1 Message Date
Jean Felder
8bc8941b1d processing/gdal: Ensure to flush the buffer once finished 2025-03-13 07:21:24 +10:00
Alexander Bruy
423a5f4245 port Define Projection algorithm to C++ 2025-03-08 11:03:40 +00:00
pre-commit-ci[bot]
88383c3d16 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-15 08:36:08 +10:00
Harrissou Sant-anna
d5c1c6d168 Add help to GDAL raster Slope and Proximity algs parameters
and remove passive form text on labels
2025-02-15 08:36:08 +10: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
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
a9a74e9aed Fix heatmap algorithm on qt6 2024-12-15 09:10:18 +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
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
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
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
2fdb2cad80 Add processing algorithm flag for SecurityRisk
And add to "Advanced Python field calculator" algorithm, as that
algorithm uses the Python exec() function and is a security
risk if run with untrusted/unchecked inputs
2024-10-02 10:36:00 +10:00
Florian Neukirchen
dd4f71c1f3 Fix indentation 2024-10-01 08:36:59 +10:00
Florian Neukirchen
b8ca25da95 value field must be numeric 2024-10-01 08:36:59 +10:00
Florian Neukirchen
1fd614b0ef Fix AttributeError: module 'plotly.graph_objs' has no attribute 'Area': it is go.Barplot in recent plotly versions 2024-10-01 08:36:59 +10:00
Andrea Giudiceandrea
ab611a9a19 [pocessing] QVariant->QMetaType in "Select by attribute"
QgsField.type() returns QMetaType.Type
2024-09-16 08:48:01 +10:00
Andrea Giudiceandrea
81fb58f997 [processing] Fix deprecated QgsField constructor
Using QMetaType.Type in place of QVariant types for:
- "Check validity" qgis:checkvalidity
- "Climb along line" qgis:climbalongline
- "Add geometry attributes" qgis:exportaddgeometrycolumns
- "Advanced Python field calculator" qgis:advancedpythonfieldcalculator
- "Find projection" qgis:findprojection
- "Distance to nearest hub (line to hub)" qgis:distancetonearesthublinetohub
- "Distance to nearest hub (points)"  qgis:distancetonearesthubpoints
- "Concave hull (k-nearest neighbor)" qgis:knearestconcavehull
- "Minimum bounding geometry" qgis:minimumboundinggeometry
- "Distance matrix" qgis:distancematrix
- "Generate points (pixel centroids) along line" qgis:generatepointspixelcentroidsalongline
- "Random points along line" qgis:randompointsalongline
- "Random points in layer bounds" qgis:randompointsinlayerbounds
- "Random points inside polygons" qgis:randompointsinsidepolygons
- "Regular points" qgis:regularpoints
- "Statistics by categories" qgis:statisticsbycategories
- "Text to float" qgis:texttofloat
- "Topological coloring" qgis:topologicalcoloring
2024-09-16 08:48:01 +10:00
Nyall Dawson
7c0c56b96b Add flag to a few more algorithms 2024-07-15 14:33:21 +10:00
Andrea Giudiceandrea
3d8a7a7a80 [processing][feature] Enhance gdal:ogrinfo - Add gdal:ogrinfojson 2024-07-11 08:58:22 +10:00
uclaros
22895e6b6f Allow postgresraster layers as gdal processing tools input 2024-07-11 08:37:02 +10:00
Nyall Dawson
4c2983189f
When an OGR algorithm is run on a GRASS provider vector layer,
export the layer to an OGR compatible source first

Use the same logic we use eg for auto-exporting memory layers
so that GDAL tools "just work" with GRASS provider vector
layers
2024-07-09 09:53:52 +10:00
Alexander Bruy
7bd8c071f3 port Basic statistics for fields algorithm to C++
Also add new optional output a table containing calculated statistics
similar to the Statistics by categories algorithm (fix #46241)
2024-07-05 05:18:25 +10:00
Nyall Dawson
2d27784cee Raise exceptions if open options not supported by GDAL version 2024-06-27 13:07:25 +10:00
Nyall Dawson
e38849d750 Fix running GDAL algorithms on cloud storage layers
Correctly generate commands when run on eg /vsis3/ layer sources,
and translate credential options to "--config KEY VALUE" arguments
for GDAL commands
2024-06-27 13:07:25 +10:00
Nyall Dawson
2ab2d34947 Correctly handle open options for raster GDAL algorithm inputs
And handoff to GDAL command when command supports them
2024-06-27 13:07:25 +10:00
Nyall Dawson
18efe655e9 Pass vector layer open options over to GDAL command
Ensures that processing tools which use vector layers with open
options work correctly, respecting the layer's open option settings
2024-06-27 13:07:25 +10:00
Nyall Dawson
36e3c43f84 Make getOgrCompatibleSource API more flexible 2024-06-27 13:07:25 +10:00
Nyall Dawson
46a4241ace minor cleanup 2024-06-27 13:07:25 +10:00