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
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
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
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
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
Harrissou Sant-anna
52ec6016a7
Add 'Int8' as raster data types to Processing GDAL algorithms ( #51755 )
2023-06-01 22:39:01 +02:00
nicogodet
bf93dc6f17
Re-arange code
2023-04-30 09:32:11 +10:00
nicogodet
77ddb28e4b
Move creation options to latest arguments
2023-04-30 09:32:11 +10:00
Etienne Trimaille
9e8364a271
Python - Use some format function for translations
2023-04-25 09:43:54 +02:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02:00
nicogodet
8a5fb3a25e
Add -overwrite
to gdalwarp permanently
2023-03-29 06:05:11 +10:00
Luke Pinner
aba9dfbcd3
[feature][processing] Add skip/src/dstnodata params to gdal2xyz
2023-03-24 12:17:46 +10:00
Nyall Dawson
30598b9ad9
Pass QgsProcessingContext on to all processing functions which
...
generate temporary file names
2023-03-21 03:50:08 +10:00
Nyall Dawson
84c3613cf7
[processing] Don't raise uncaught exceptions when trying to generate
...
GDAL commands for invalid layers
This is a partial fix, which at least removes the uncaught exception.
Ideally we'd gracefully fall back to using the layer's source
(even if it doesn't exist!) in the generated GDAL commands. But that's
far from trivial to do.
Fixes #51958
2023-02-23 20:48:04 +10:00
Etienne Trimaille
fb5ca4c010
Flake8 - Check duplicated definitions for python imports and functions
2023-02-03 08:48:03 +10:00
Loïc Bartoletti
5e569170c4
Merge pull request #50889 from AlisterH/patch-3
...
Use more universally recognised extensions for world files
2023-01-16 11:13:21 +01:00
Nyall Dawson
59332bb40d
[processing] Fix incorrect GDAL raster calc sources for layers when
...
the extent handling option is set
2022-12-08 12:06:02 +10:00
Nyall Dawson
f045fa2420
Followup aa590b7, more tolerant progress matching
2022-11-30 08:14:02 +10:00
Nicolas Godet
aa590b7302
Better handling of GDAL progess report
2022-11-29 09:44:42 +10:00
AlisterH
a53a8fea20
accept code formatting suggestion
...
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2022-11-22 13:38:30 +13:00
AlisterH
3ea934a687
Use .wld if original file extension is too short
2022-11-15 21:12:11 +13:00
AlisterH
41d38250be
Use more universally recognised extensions for world files
2022-11-15 19:14:24 +13:00
nicogodet
94c0998d0f
Move all --projwin
and --extent
checks to getConsoleCommands
2022-10-17 17:53:06 +02:00
nicogodet
126f3b0300
Add --extent
option to gdal_calc
2022-10-17 13:55:01 +02:00
Even Rouault
ab7feb6e15
[Processing] Fix typo in smoothing parameter name of gdal_grid algorithms
...
The correct spelling is 'smoothing' (two o's): https://github.com/OSGeo/gdal/search?q=smoothing
No match with single o: https://github.com/OSGeo/gdal/search?q=smothing
2022-09-26 12:47:31 +10:00
Andrea Giudiceandrea
78d764e42a
GDAL Rasterize: check earlier for parameter validity
2022-02-06 10:01:00 +01:00
Andrea Giudiceandrea
8e4a6d6e8b
[processing] GDAL Rasterize: add extent CRS conversion
2022-02-05 12:49:31 +01:00
Andrea Giudiceandrea
98d5eb686e
[processing] GDAL Rasterize: make extent parameter optional
...
The corresponding -te parameter in gdal_rasterize is optional (if not specified, it defaults to the extent of the input vector layer)
2022-02-05 11:39:59 +01:00
Alexander Bruy
9ba642fa49
don't re-add layer to the temporary store
2022-02-01 08:26:43 +10:00
Alexander Bruy
efa4e885be
[processing] reload output layer after GDAL rasterize ( fix #45729 )
2022-02-01 08:26:43 +10:00
Alexander Bruy
1c096ceb52
allow negative values for buffer distance in GDAL buffer algorithm ( fix #46667 )
2022-01-06 17:53:54 +10:00
nirvn
406520f754
[processing] Add an optional output extent to the gdal raster calculator algorithm
2022-01-02 13:15:43 +07:00
nirvn
17b9bb8a60
[processing] Add the missing optional extent param to the gdal clip raster by mask aglorithm
2021-12-30 11:22:37 +07:00
Nyall Dawson
0d332d34ec
[processing] Fix gdal algorithms immediately show wrong or missing
...
parameter value warnings
Fixes #46532
2021-12-21 15:32:08 +10:00
Nyall Dawson
14436df648
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Nyall Dawson
e7a4e1754d
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Nyall Dawson
87cd100d30
Update python/plugins/processing/algs/gdal/ogr2ogr.py
2021-12-09 13:01:00 +10:00
Benoît Blanc
517aaceff1
Add help string for parameter
2021-12-09 13:01:00 +10:00
Benoît Blanc
28ff415b74
Add supported formats in doc
2021-12-09 13:01:00 +10:00
Benoît Blanc
83a15538e9
Add description for gdal:convertformat in short help string
2021-12-09 13:01:00 +10:00
Benoît Blanc
03d495c31c
Rename parameter to convert all layers
2021-12-09 13:01:00 +10:00
Benoît Blanc
495af5a724
Add parameter to skip layername in gdal:convertformat
2021-12-09 13:01:00 +10:00
Alexander Bruy
eb5bce67e9
[processing] fix order of command line arguments in gdal_polygonize ( fix #46045 )
2021-11-16 07:12:14 +11:00
Alexander Bruy
16d2eb276d
[processing] multidirectional and combined shading options are mutually
...
exclusive (fix #45957 )
2021-11-10 08:06:39 +11:00
nicogodet
f6e20c3e0b
fix tiny mistakes
2021-10-07 08:31:54 +10:00
PeterPetrik
0150ab8708
fix #41870 force UTF-8 encoding for prj files
2021-10-06 06:10:30 +10:00