77 Commits

Author SHA1 Message Date
nirvn
ab3a213596 [ui][processing] re-order gdal warp algorithm parameters so optional ones are at the bottom 2018-07-16 11:53:02 +07:00
nirvn
fe38f03d5d [processing] make target res. parameter optional in gdal's warp algorithm 2018-07-16 11:53:02 +07:00
nirvn
863a2f0fca [processing] make nodata parameter optional in gdal's warp algorithm 2018-07-16 11:53:02 +07: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
0d520456ea [processing][gdal] Fix conversion of non-EPSG crs parameters
to GDAL compatible strings
2018-05-11 11:29:34 +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
bddcb7dc42 [processing][gdal] More nodata handling fixes
Fixes #18748
2018-05-06 19:19:45 +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
c10438e68a [processing] add missed parameter to warp algorithm 2018-01-29 18:48:08 +02:00
Alexander Bruy
891ca3cd11 [processing] fix wrong variable name 2018-01-26 19:35:40 +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
4c2c568f0a fix optional CRS parameter handling 2017-10-11 17:06:11 +03:00
Alexander Bruy
0f226645fa [processing] homogenize gdal algorithms
-consistent parameters naming
-use additional creation options where possible
-remove duplicated functionality
2017-10-11 17:06:11 +03:00
Alexander Bruy
7965d52aee [processing] use native API to get GDAL driver name from filename 2017-10-11 17:06:11 +03:00
Nyall Dawson
1cbbb8a0fb Port gdal aspect alg to new API 2017-08-14 05:05:39 +10:00
Nyall Dawson
2e7db48d20 Fix error in gdal warp algorithm 2017-08-14 04:56:36 +10:00
Nyall Dawson
5c888c5830 Resurrect gdal warp algorithm 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
Alexander Bruy
abc74b4262 [processing] don't apply -te and -te_srs if not requested (fix #16519) 2017-05-10 15:47:29 +03:00
Alexander Bruy
3450a9ff89 [processing] add multithreading option to warp (fix #15340) 2017-04-29 15:39:49 +03: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
Nyall Dawson
6987d7b37c Port handling of algorithm names to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a Move algorithm group handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2 Move algorithm icon handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
28e75731e1 Move tag handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Alexander Bruy
dbca0304d9 [processing] rename algorithm groups in GDAL provider 2017-02-28 12:37:48 +02:00
Alexander Bruy
f66646c483 [processing] remove code with GDAL 1.x API as QGIS 3 will require GDAL 2.x 2017-02-09 14:15:31 +02:00
Alexander Bruy
f9680ddc0c [processing] use custom options widget in GDAL algorithms 2017-01-07 10:02:13 +02:00
Nyall Dawson
3ef7b3b7eb [processing] Use standard QGIS projection selection widget for CRS params 2016-11-13 20:34:35 +10:00
Alexander Bruy
323c6582c6 [processing] add workaround for GDAL regression with cutlines (fix #15746) 2016-10-25 17:48:19 +03:00
Sandro Santilli
7971815343 Do not pass None to len() 2016-10-20 10:51:30 +02:00
Sandro Santilli
06976a2e87 Make Extent and Extent CRS GDAL parameters optional
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.

Fixes #15685
2016-10-20 10:51:30 +02:00
volaya
3b1dfa7071 [processing] made -te parameter optional in gdal warp 2016-10-10 08:05:11 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
7f6bae1f5e [processing] use '-te_crs' parameter only if supported by GDAL 2016-07-28 13:39:22 +03:00
Alexander Bruy
6ccf7264a6 [processing] fix condition in warp alg 2016-07-26 15:00:26 +03:00
Alexander Bruy
b9b8d37cc0 [processing] add "-te_srs" option to gdal_warp (fix #15033) 2016-06-22 12:45:33 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
rldhont
793b712eb9 [Processing][GDAL] Well manage optional parameters
Because EXTRA and NO_DATA parameters are optional, the value can be `None` which is the same as `''`.
2016-04-26 14:18:41 +02:00
Giovanni Manghi
a4b2cde5bb more GDAL a_nodata fixes, for sake of uniformity 2016-04-25 22:09:42 +01:00
Alexander Bruy
619356ea1c [processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651) 2016-03-25 15:37:20 +02:00
Stéphane Brunner
cf22cab3e9 Fix the master (merge without tests pass :-( )
Related to #2893
2016-03-23 13:53:04 +01:00
volaya
d808ef9ab6 Merge pull request #2893 from NaturalGIS/processing_gdalwarp_extent
processing: add extent parameter to gdal_warp
2016-03-23 10:55:13 +01:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Giovanni Manghi
b073111f8a processing: add extent parameter to gdal_warp 2016-03-10 09:14:29 +00:00