Nyall Dawson
b114e0aef3
Fix duplicate parameter warning in gdal rasterize algorithm
2025-04-24 10:19:56 +10:00
Alexander Bruy
5bde6fec42
harmonize parameter name in Processing algorithms
2025-04-12 11:00:42 +01:00
Juergen E. Fischer
d9b5d8c9c5
update_ts.sh: alternatively use pylupdate6 + python translation string fixes
2025-03-23 23:23:02 +01: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
Harrissou Sant-anna
3ff6ca6556
Remove optional flag next to Processing algs Boolean parameters - fixes #59794
2024-12-12 09:40:29 +10:00
Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01: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
Alexander Bruy
ad126316d3
use core raster options widget in GDAL algorithms
2024-06-26 21:50:27 +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
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Sebastian Gutwein
1a8f6614c1
NoData harmonization
2023-12-24 07:26:49 -05:00
Blottiere Paul
385fedd232
Add safeguard to all gdal algorithms
2023-10-19 13:31:42 +02:00
Harrissou Sant-anna
52ec6016a7
Add 'Int8' as raster data types to Processing GDAL algorithms ( #51755 )
2023-06-01 22:39:01 +02:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02: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
talledodiego
0e6ffc7045
[gdal] rasterize - Include the possibility to use Z of feature to extract burn values
2021-03-03 11:16:13 +10:00
Evan Derickson
dcde81fb1b
Thin out unneeded function calls
2021-02-20 12:26:00 +10:00
Alexander Bruy
7c1d29c363
override default value only when tool executed from GUI
2020-11-27 16:45:59 +02:00
Alexander Bruy
fe58d4956c
[processing] don't set any default value for optional NODATA parameter
...
in GDAL rastrize algorithm (fix #39752 ).
As this is optional parameter better to have it not set by default to
avoid unexpected conversion of valid values to nodata values.
2020-11-27 06:51:01 +02:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Alexander Bruy
5e62e60de9
[processing] add user-defined parameters to gdal_rasterize
2020-01-06 11:19:55 +10:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Matthias Kuhn
b90a01847f
Prefer parameterAsBoolean over parameterAsBool
2019-04-16 08:30:00 +02:00
Nyall Dawson
c93775f6b1
[processing][gdal] Ensure that GDAL algs output the CORRECT
...
generated filename for outputs
Previously they were just echoing the input parameter value,
which isn't always a string and accordingly was broken for
temporary outputs. This caused models to break when the output
of a GDAL algorithm was used in a subsequent model step.
2019-02-05 16:55:34 +11:00
Ivan Ivanov
36c821da34
Allow gdal_rasterize to accept -init with value of 0; changed default value to not introduce a breaking change
2019-01-18 09:50:08 +11:00
Alexander Bruy
f524460379
[processing] homogenize label for 'additional creation options'
...
parameter in GDAL algorithms
2018-08-02 12:11:20 +03:00
Mathieu Pellerin
8f47691a7a
[processing] add gdal command name to tags for better searches ( #6978 )
2018-05-14 11:32:55 +07:00
Nyall Dawson
bddcb7dc42
[processing][gdal] More nodata handling fixes
...
Fixes #18748
2018-05-06 19:19:45 +10:00
Nyall Dawson
00bb177f3d
[processing][gdal] Fix parsing of creation options
...
Creation options must be specified one at a time - the
current approach causes them to be specified once embedded
in quotation marks, which is not valid input for gdal
2018-03-21 18:36:28 +11:00
Alexander Bruy
77a6bbbb0a
[processing] restore GDAL rasterize algorithm
2018-01-23 12:27:04 +02:00
Alexander Bruy
53bc147dca
[processing] add group id to GDAL algorithms
2017-12-14 18:04:11 +02:00
Nyall Dawson
96c7e6e0a6
[processing][gdal] Cleanup some code, add method to customise
...
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692
[processing] remove Python 2 compatibility layer
2017-11-28 12:27:45 +02:00
Nyall Dawson
e33647dc5a
Move OGR processing provider specific methods to GdalUtils
2017-08-14 04:56:24 +10:00
Nyall Dawson
ab079f9d92
ogrConnectionString reuses existing context
2017-08-14 04:56:24 +10:00
Nyall Dawson
ce8e18da10
Fix overridden function signatures
2017-08-14 04:56:24 +10:00
Nyall Dawson
ba03f1a13a
Move minimum layer extent calculation to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c
Push parameters into processAlgorithm and related functions
2017-06-06 07:41:19 +10:00
Nyall Dawson
77ab933788
Move alg character definitions to __init__
2017-06-06 07:41:19 +10:00
arnaud.morvan@camptocamp.com
bc09875866
[processing] Fix rasterize dialog openning
...
Fix #16061
Do not pass in getConsoleCommand just to get commandName for shortHelp.
This avoid errors with non initialized parameters.
2017-04-29 21:09:05 +02:00
Nyall Dawson
a0bd464232
Use formatted name for algorithm names
...
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00