Nyall Dawson
a9a74e9aed
Fix heatmap algorithm on qt6
2024-12-15 09:10:18 +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
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
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
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
Julien Cabieces
48e2043505
fix new deprecated iconForField and typeToDisplayString methods
2024-05-31 08:46:33 +10:00
Even Rouault
07067d37b5
python/plugins: turn on GDAL exceptions to avoid deprecation warning
...
Fixes #57344
2024-05-22 13:34:35 +10:00
Nyall Dawson
d95ac4a7ea
Better reporting for invalid field names for some algorithms
2024-04-18 13:25:06 +10:00
Jacky Volpes
ae57030135
Fix global QGIS setting key in check validity algorithm
2024-03-08 09:13:32 +10:00
Andrea Giudiceandrea
a0c88b15a1
Apply suggestion from code review
2024-03-05 10:38:16 +10:00
Andrea Giudiceandrea
9c32e69f88
[processing] Fix "Random points along line" alg
...
Avoid various errors in case of empty input layer, empty/null geometries, invalid geometries, linestrings with zero-length segments...
2024-03-05 10:38:16 +10:00
Alessandro Pasotti
27824078ad
Introduce QgsProcessingProvider::Flag::FlagCompatibleWithVirtualRaster
2024-01-31 10:37:52 +10:00
Nyall Dawson
e42abf7dc5
Update python files
2024-01-22 05:46:15 +10:00
Nyall Dawson
2ec6dff851
Indentation
2024-01-19 19:44:48 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
...
this has been done automatically with the following comand line
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Nyall Dawson
33e1d4fba9
Check for non-zero cell sizes
2023-11-14 06:36:39 +10:00
Nyall Dawson
da514d0e5e
Fix exception in interpolation algorithm widgets
...
Fixes #55138
2023-11-14 06:36:39 +10:00
Nyall Dawson
27bcb01cb6
Add some typehints
2023-11-14 06:36:39 +10:00
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis ( #54891 )
2023-10-11 13:57:01 +02:00
Alexander Bruy
61b69179af
[processing] port concave hull algorithm to C++
2023-10-09 12:14:20 +02:00
Alexander Bruy
451d1ba5ce
[processing] port delaunay triangulation algorithm to C++
2023-10-09 12:14:20 +02:00
Alexander Bruy
d8243141cc
[processing] port voronoi polygons algorithm to C++
2023-10-09 12:14:20 +02:00
Nyall Dawson
33bb769b91
Cleanup Execute SQL geometry type handling
...
And fix exception when "no geometry" type is selected
Fixes #54833
2023-10-05 14:54:41 +10:00
Nyall Dawson
7b93febd79
Geometry type should not be optional in Execute SQL algorithm
...
Instead it should just default to Autodetect
Given how the algorithm uses this parameter this change does not
result in any difference to scripts/etc running this tool, as
before/after this change the algorithm will use Autodetect mode
when the parameter isn't specified explicitly.
This just avoids the confusing situation where both "Not specified"
and "Autodetect" were exposed as options for the geometry type
parameter in the UI, with both having the same result.
2023-10-05 14:54:41 +10:00