2233 Commits

Author SHA1 Message Date
Alexander Bruy
4b63975eaf [processing] tests for SAGA provider and related fixes 2017-11-09 18:56:44 +02:00
Alexander Bruy
057ab170da [processing] fix input rasters check 2017-11-09 18:56:44 +02:00
Alexander Bruy
13610f6440 [processing] adopt to changes in extensions handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
dc9f868e08 [processing] fix not initialized variable 2017-11-09 18:56:44 +02:00
Alexander Bruy
1b6b6cdb45 [processing] fix integer numbers handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
2b218cc2b0 [processing] more raster handling fixes in SAGA provider 2017-11-09 18:56:44 +02:00
Alexander Bruy
3822efa7a5 [processing] fix rasters handling in checkParameterValues() 2017-11-09 18:56:44 +02:00
Nyall Dawson
8d91f1f1eb Restore more saga functionality 2017-11-09 18:56:44 +02:00
Nyall Dawson
9ba414394d Convert SAGA ParameterTableField parameters 2017-11-09 18:56:44 +02:00
Nyall Dawson
7953936c90 Update SAGA ParameterMultipleInput parameters 2017-11-09 18:56:19 +02:00
Nyall Dawson
d9ac3772fd Update SAGA ParameterTable parameters 2017-11-09 18:56:01 +02:00
Nyall Dawson
4ac6847bc7 Update SAGA ParameterVector params 2017-11-09 18:55:41 +02:00
Nyall Dawson
6ef4557b2b Update SAGA ParameterSelection parameters 2017-11-09 18:55:12 +02:00
Nyall Dawson
ca0b7a2639 Fix SAGA boolean parameters 2017-11-09 18:54:44 +02:00
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Nyall Dawson
cab807dc30
Merge pull request #5426 from medspx/ProcessingPortGrass72
[Processing] Port GRASS 7.2 algorithm provider
2017-11-09 06:42:38 +10:00
Nyall Dawson
fe0566000e More QPair API removal 2017-11-06 07:34:01 +10:00
Nyall Dawson
dc341d2047 Add flags to QgsVectorFileWriter methods which return lists of drivers
Initially only flag available is whether to sort drivers by
recommended order. The recommended order puts GPKG first and
SHP second, then leaves the rest alphabetical.

This fixes a few instances in the QGIS gui where these recommended formats
are not listed first.
2017-11-06 07:22:04 +10:00
Médéric RIBREUX
da90477121 Improve input detection and add new algorithms 2017-11-05 13:52:26 +01:00
Médéric RIBREUX
d10aaf4bd4 Support multiple output file raster formats:
* A new createopt textbox has been added to the parameters dialog for algorithms which exports to raster files.
* A new metaopt textbox has also been added to the Algorithm parameters dialog.
* Raster file format is detected from output filename extension.
* GdalUtils has been improved to correctly detect raster formats supported for creation.
* QFileDialog for output rasters now display only file filters for supported output raster file formats.
2017-11-05 13:18:24 +01:00
Médéric RIBREUX
aa17df1a55 * Add new GRASS 7.2 algorithms.
* Fix ParameterRange GUI.
* Fix Multiple values Enum support.
2017-11-04 18:34:25 +01:00
Médéric Ribreux
6c81895fb0 Improve GRASS provider:
- Improve GRASS detection for all OS.
- Use GRASS --exec command.
- Unified GRASS batch job method for all OS (easier to maintain).
- Handle MS-Windows codepages (for data only, if you have a username with special characters, it will not work).
- Better support for filepath normalization.
- add -m option to r.out.gdal.
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
c63df209a8 Fix cz function 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
74826dc1ea Support directory output via QgsProcessingParameterFolderDestination 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
b46e969325 Fix indentation 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
65f483d613 Modify Grass7 detection 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
d6fb7181aa Fix layers loading... 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
4b8b6a09c8 Massive conversion 2017-11-04 15:31:21 +01:00
Médéric Ribreux
56b963e313 Improve ext scripts and support OutputFolder 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
5827513c4b First work on ext mechanism factorisation 2017-11-04 15:31:21 +01:00
Médéric Ribreux
6bf8448bfb Improve cell size detection and FileDestinationOutput (but not perfect) 2017-11-04 15:31:21 +01:00
Médéric Ribreux
f32bba4456 (WIP) better cellsize suport 2017-11-04 15:31:21 +01:00
Médéric Ribreux
f0da7b0186 Improve MultiLayers and FileDestination support 2017-11-04 15:31:21 +01:00
Médéric Ribreux
9a52e344fd First working raster algorithm 2017-11-04 15:31:21 +01:00
Médéric Ribreux
483a4b9e8a First functional version (for single vector inputs/outputs) 2017-11-04 15:31:21 +01:00
Médéric Ribreux
9eff16f431 Finish fixing description files (no more errors on startup) 2017-11-04 15:31:21 +01:00
Médéric Ribreux
7369c4dece Fix some other description files 2017-11-04 15:31:21 +01:00
Médéric Ribreux
be78153427 (WIP) Grass algorithms can be opened and inputs are treated 2017-11-04 15:31:21 +01:00
Médéric RIBREUX
a676db2c0f Handle parameters and update description files (WIP) 2017-11-04 15:31:21 +01:00
Médéric Ribreux
733218caca (WIP) enable Grass7 provider and start to work on QgsProcessing new framework 2017-11-04 15:31:21 +01:00
Médéric Ribreux
297c7b5f8b Update TODO list 2017-11-04 15:31:21 +01:00