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
Nyall Dawson
dcacebaeaa
Cleanup API for GDAL processing provider uri conversion
2024-06-27 13:07:25 +10:00
Alexander Bruy
ad126316d3
use core raster options widget in GDAL algorithms
2024-06-26 21:50:27 +10:00
Nyall Dawson
4986525e6b
Ensure calling isSupportedOutputValue doesn't add layer to project
...
This is an advance test only, and shouldn't result in layers
attempting to add to the project.
Refs #57698
2024-06-07 18:44:29 +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
Andrea Giudiceandrea
42f3a60743
Apply suggestions from code review
2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
3945c73b84
Rise an exception instead of an info message
2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
5a721c47c0
[processing] Fix GDAL "Fill NoData" algorithm
...
The gdal_fillnodata.py -nomask option is no longer supported since GDAL 3.4.0
2024-02-18 06:52:52 +10:00
Nyall Dawson
8f3944dabd
Don't use QVariant(QVariant.Type) for NULL values in Python
...
Instead use qgis.core.NULL, so that the correct logic applies
for Qt6.
2024-02-07 19:35:28 +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
Sebastian Gutwein
1a8f6614c1
NoData harmonization
2023-12-24 07:26:49 -05:00
DelazJ
406e1d6b9a
Harmonize user facing labels for GDAL resampling methods
2023-11-24 08:20:32 +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
Blottiere Paul
385fedd232
Add safeguard to all gdal algorithms
2023-10-19 13:31:42 +02:00
Blottiere Paul
9c8475e5b1
Add safeguard for -of option
2023-10-17 15:32:54 +02: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
Sandro Santilli
bcf83c17b6
Do not pass -projwin to gdal_translate when given rectangle is Null
...
Update testcase accordingly
2023-10-08 22:40:25 +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
Nyall Dawson
0a11e3da2c
Fix strings
2023-10-05 14:54:41 +10:00
Alexander Bruy
373d5f8654
Merge pull request #54035 from alexbruy/processing-port-raster-calculator
...
Port Raster Calculator algorithm to C++
2023-09-30 10:12:55 +03:00
Nyall Dawson
25fc01542a
Port Join Attributes by Location (summary) to c++
...
Refs #53806
The crash here is coming from sip internals -- somewhere it is
triggering a Python SystemError. I can't solve this one, so just
port the algorithm to c++ and deal with the much improved performance
instead.
2023-09-29 19:11:46 +10:00
Nyall Dawson
8793e659a1
Apply suggestions from code review
2023-09-29 11:31:17 +10:00
Alexander Bruy
3c1f510115
add modeler support and deprecate Python implementation
2023-09-25 14:14:42 +03:00
Alexander Bruy
4401ac792b
Merge pull request #54321 from alexbruy/processing-port-tile-xyz
...
[processing] port XYZ tiles algorithms
2023-09-13 10:58:21 +03:00
Nyall Dawson
440cac298f
Promote QgsProcessingModelChildParameterSource source to enum class and move to Qgis
...
This wasn't marked as stable API, so we don't need any of the usual monkey patching code
2023-08-25 15:44:05 +10:00
Alexander Bruy
b36b4d3e1b
port XYZ tiles algorithms
2023-08-23 16:08:17 +03:00
Nyall Dawson
d7ba6b5ca6
Port Processing "Keep N Biggest Parts" algorithm to c++
...
Also:
- Ensure that z/m coordinates in parts are not stripped away
- Handle curved geometries
- Allow dynamic data defined num of parts
2023-07-25 13:27:33 +10:00
AkosSeres
14e2be69ae
Fix formatting
2023-07-18 15:50:45 +10:00
AkosSeres
b800c90aa7
Fix high ram usage of XYZ tile generation
2023-07-18 15:50:45 +10:00
ASAI Hitoshi
04952b447e
Add antialias setting to raster tile processing plugin
2023-07-03 10:46:09 +10:00
Alexander Bruy
7543fabc91
add "resample" to the list of tags for GDAL's warp algorithm ( fix #49208 )
2023-06-08 08:39:25 +10:00
Alexander Bruy
8923c43311
set default value for CRS parameter in Define Shapefile projection
...
algorithm (fix #53309 )
If default value is not set and prameter is not optional its widget end
up in conflicting state: invalid CRS is set but widget requires a valid
one. As a result even if user selects a valid crs, widget fails to
validate selection.
2023-06-08 08:31:30 +10:00
Harrissou Sant-anna
52ec6016a7
Add 'Int8' as raster data types to Processing GDAL algorithms ( #51755 )
2023-06-01 22:39:01 +02:00
Germap
7fac476c6f
Adjust help for CheckValidity algorithm
...
Make it clear that GEOS method won't be able to log all errors found per geometry, but only the first one. Followup #49936 .
2023-05-02 19:05:21 +10:00