25 Commits

Author SHA1 Message Date
Alexander Bruy
109d1fb7a8 [processing] pass layer name to the gdalwarp to avoid issues with
multi-layer datasources (fix #30292)
2019-07-15 16:05:16 +03:00
Alexander Bruy
0128135c64 allow to pass additional parameters to the clip raster by mask algorithm 2019-06-25 09:59:50 +03:00
Harrissou Sant-anna
491ca3315f Make data type option translatable in GDAL algorithms dialog 2019-05-20 08:51:38 +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
Giovanni Manghi
78cc5b2bf5 Fixes/improves the GDAL clip by mask layer tool: removes a an option (-te) that does not make sense for the clip by mask, and adds the option to allow choose the output resolution 2019-03-09 11:46:26 +00: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
Giovanni Manghi
3165382dcf run prepare-commit 2018-11-09 09:37:05 +00:00
Giovanni Manghi
963e45020d add the -te and -te_srs and -multi parameters to the gdalwarp tool used to clip rasters by mask layers 2018-11-08 18:53:35 +00:00
Nyall Dawson
87e0f6961a [processing][gdal][needs-docs] Rename crop to cutline option for clarity
The previous name is unclear, as the option can expand as well
as crop the raster extent. We also don't refer anywhere else in this
dialog to the cutline, so that has no meaning to users
2018-10-15 18:29:28 +10:00
nirvn
8398aae04b [needs-docs][processing] Use input layer data type for gdal algorithms
when appropriate:
- warp (i.e. reproject)
- translate (i.e. file format conversion)
- rearrange bands
- clip by extent/mask
2018-09-04 16:20:03 +07:00
Alexander Bruy
f524460379 [processing] homogenize label for 'additional creation options'
parameter in GDAL algorithms
2018-08-02 12:11:20 +03:00
matteo
2a7c10e719 change empty '' with None 2018-05-18 08:44:02 +10:00
matteo
9d7212f3d4 [processing] change 0 to Not set Null values in Gdal Clip 2018-05-18 08:44:02 +10:00
Nyall Dawson
f4599f13f1 [processing][gdal] Better error messages when invalid parameters are passed 2018-05-06 19:19:45 +10:00
Nyall Dawson
f48aaeaf33 [processing][gdal] Fix some more nodata=0 handling 2018-05-06 07:13:15 +10:00
Nyall Dawson
b3288192ee [processing] Fix exception when clicking help for GDAL algorithms 2018-05-06 07:13:15 +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
88734647ce [processing] fix typo (fix #18248) 2018-03-01 10:40:27 +02:00
Alexander Bruy
53bc147dca [processing] add group id to GDAL algorithms 2017-12-14 18:04:11 +02:00
Nyall Dawson
be962c7d8b Faster command generation in gdal algorithm dialog, by skipping forced incompatible layer exports 2017-12-08 14:50:03 +10: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
Mathieu Pellerin
edf734677e [processing] use a vector feature source for gdal clip raster by mask (#5351) 2017-10-12 22:08:34 +07:00
Alexander Bruy
fde5c89d97 fix typos and add tests for gdal algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
7c9d634323 [processing] rename some algorithms to avoid naming conflicts and
maintain consistency
2017-10-11 17:06:11 +03:00