101 Commits

Author SHA1 Message Date
Larry Shaffer
b3a0d9d146 Revert "[processing] Extra check to ensure GRASS folder setting not already None"
This reverts commit 36a820e51657bf0c3069e1fd287d6b452a3cd1e0.
2016-04-25 21:27:45 -06:00
Larry Shaffer
36a820e516 [processing] Extra check to ensure GRASS folder setting not already None
- Update to 5131e93; not sure why ProcessingConfig.getSetting returning
  None sets folder = None instead of '' (on the previous line on Win)
2016-04-25 18:52:44 -06:00
Alexander Bruy
e873540d14 [processing] fix path handling (fix #14432) 2016-04-11 18:52:27 +03:00
volaya
5131e93e1f [processing] extra checks to avoid issues with previous versions values 2016-04-05 09:55:41 +02:00
Alexander Bruy
aef26c90f3 [processing] more HiDPI fixes (refs #14474) 2016-04-01 16:48:04 +03:00
Juergen E. Fischer
3bfe2f1467 really fix ab5f06b (ouch again - machine mixup) 2016-03-31 23:03:03 +02:00
Juergen E. Fischer
c6117e0d32 fix ab5f06b (ouch) 2016-03-31 22:57:24 +02:00
Juergen E. Fischer
ab5f06b9fb processing: base grass path on OSGEO4W_ROOT where available 2016-03-31 22:51:56 +02:00
Alexander Bruy
660bb27388 [processing] replace some raster icons with SVG to improve HiDPI support (refs #14474) 2016-03-25 15:19:52 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Alexander Bruy
a3c76c617a [processing] activate GRASS 7 by default and disable GRASS 6 2016-03-20 08:42:13 +02:00
Bart Noordervliet
d7c477b078 Fix extension removal in exportVectorLayer
Taking the [:-4] slice from basename and splitext() try to do the same thing. Usually splitext() was failing silently, but if you're using the iterating function of processing, you can have filenames like <timestamp>.<sequenceno>.shp, which makes it cut off the sequencenumber and makes the OGR import fail.

I've left only the [:-4] slice because we check whether the file ends with .shp above anyway. This is also the way the grass7 file does it.
2016-03-11 16:56:12 +01:00
Alexander Bruy
dd68c33eb4 [processing] add support for ParameterPoint to major algorothm providers 2016-02-29 12:41:27 +02:00
Giovanni Manghi
3f9263b4b8 fix GRASS and GRASS7 r.sunmask 2016-02-20 14:52:12 +00:00
volaya
961c35aeb5 [processing] fixed exporting multiple vector layers in SAGA and GRASS algs 2016-02-15 08:25:50 +01:00
Giovanni Manghi
191c011a0a add parameter to GRASS 64/70 r.slope.aspect to allow use region resolution 2016-01-31 17:31:41 +00:00
Giovanni Manghi
f1f0b0a341 GRASS dissolve works only with areas 2016-01-30 15:44:31 +00:00
Nyall Dawson
ddf3db04b6 Fix indentation 2016-01-21 18:11:38 +11:00
Alexander Bruy
908a380241 [processing] fix deprecation warnings 2016-01-20 16:39:13 +02:00
volaya
014b69647a [processing] removed redundant code 2016-01-19 12:35:00 +01:00
Alexander Bruy
75926f52aa [processing] include GRASS path in the error message to make it more informative (fix #13188) 2016-01-18 12:17:55 +02:00
Nyall Dawson
d97a5e3a83 Fix failing indentation test 2016-01-14 10:59:38 +11:00
Alexander Bruy
3a514269ea [processing] remove nviz algorithm from modeller (fix #9107) 2016-01-12 20:24:55 +02:00
Alexander Bruy
04542a900a [processing] allow multiple threshold values for GRASS v.clean.advanced algorithm (fix #13748) 2016-01-12 20:24:55 +02:00
volaya
62302377db [processing] UI/UX improvements
Related to QEP #19

Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
volaya
455089025e added option to add hardcoded params to GRASS algorithms 2015-10-24 21:18:14 +02:00
volaya
2f9db5adef [processing] fixed handling output html files in grass 7 2015-10-14 13:24:16 +02:00
Juergen E. Fischer
e694474f62 indentation update 2015-10-03 21:42:13 +02:00
volaya
87d8a12e79 [processing] GRASS: prevent exception when deleting GISBASE env variable 2015-10-01 09:57:45 +02:00
volaya
d4cb3465b2 [processing] partially fixed handling of non-ascii chars when running grass algorithms in windows 2015-10-01 07:45:37 +02:00
volaya
5d4a8d9ad6 [processing] fixed issues with spaces in paths when using GRASS algorithms 2015-10-01 07:45:36 +02:00
volaya
3bb677e906 [processing] fixed message to indicate unconfigured GRASS provider
It now displays the same message for GRASS 6 than for GRASS 7
2015-09-30 09:44:30 +02:00
Matthias Kuhn
5f19dff783 Merge pull request #2175 from anitagraser/patch-8
Change resolution parameter defaults to floats
2015-09-09 18:30:58 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Juergen E. Fischer
d2282a77c7 processing: when using batch jobs remove GISBASE from environment when calling GRASS (fixes #13072) 2015-08-20 01:10:43 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
b165875fa6 spelling fixes 2015-07-26 14:39:30 +02:00
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
Anita Graser
3e7dba2be4 Change resolution parameter defaults to floats
Previously, the GUI wouldn't allow to enter float values
2015-06-27 19:14:01 +02:00
volaya
b80a1bcac5 [processing] fixed handling of folders and files in settings
fixes #12511
2015-06-26 12:00:02 +02:00
volaya
a842d47512 [processing] fixed text and html output in GRASS algorithms
This changes the way text outputs are handled.
Now the output of the command is piped to a file, and with that file, the raw and HTML outputs are generated.

More formatting for the HTML file should be added in the future, since it is now rather basic

fixes #6379
2015-06-23 13:32:16 +02:00
volaya
a1351640ba [processing] fixed output to non-supported vector formats in GRASS 2015-06-22 07:45:04 +02:00
pcav
b5bd178c8f Better default for Processing:grass:r.series 2015-06-06 19:33:34 +02:00
Giovanni Manghi
c859127c4e make option as advanced in GRASS v.voronoi 2015-06-01 18:43:31 +01:00
Giovanni Manghi
327336517d fix grass r.horizon 2015-05-31 07:07:36 +01:00
Giovanni Manghi
f8ae76b7b5 remove r.stream module that are addons, fix r.stream.extract in grass7 2015-05-30 07:54:34 +01:00
pcav
d14c4aa41e Uniform and informative output names for Processing (GRASS-v.* modules completed) 2015-05-20 23:08:20 +02:00
pcav
80a8c49bfa Uniform and informative output names for Processing (GRASS-v.* modules take #2 - up to v.split*) 2015-05-20 22:41:10 +02:00
volaya
5a00912b3d [processing] more friendly error message when layers not created
This commit includes changes to the log system as well, which now logs only algorithms. Messages are logged to the QGIS logging system
2015-05-20 21:11:41 +02:00
pcav
2e7f344214 Uniform and informative output names for Processing (GRASS-v.* modules take #1 - up to v.lidar*) 2015-05-20 21:08:49 +02:00