1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-24 00:04:42 -04:00

52 Commits

Author SHA1 Message Date
Nyall Dawson
a87ca09e34 Move some temp file/folder utils to c++ 2017-06-22 06:48:25 +10:00
Nyall Dawson
e9f13d1ea3 Just use standard QgsMessageLog functionality instead of a dedicated
method for processing
2017-04-26 13:57:06 +10:00
Nyall Dawson
1394c28d13 [processing] Move some log handling to c++ class 2017-04-26 13:56:29 +10:00
Nyall Dawson
1bc3b28f94 Fix processing error when grass7 not available 2017-04-07 13:21:28 +10:00
Alexander Bruy
1a46ddbf28 [processing][API] rename runalg() and runandload() to improve
readability
2017-03-22 19:17:12 +02:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
01004d9f83 identation fix 2017-01-25 02:43:25 +01:00
Juergen E. Fischer
099e7a77f2 [processing] find grass >=7.0 2017-01-25 01:32:39 +01:00
Nyall Dawson
ede452be85 [processing] Port feedback object to c++
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
volaya
8ea5bc39b4 Merge pull request from alexbruy/processing-help
[processing] configurable help files location for GDAL and GRASS providers
2017-01-10 09:55:58 +01:00
Juergen E. Fischer
378212cf42 indentation update 2017-01-10 09:05:42 +01:00
Alexander Bruy
7cda002ba2 [processing] configurable help files location for GDAL and GRASS providers 2017-01-09 16:31:13 +02:00
Alexander Bruy
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
Médéric RIBREUX
c3ad30da34 Fix subprocess unclosed file 2016-11-28 09:54:27 +01:00
nirvn
4a4ffa4c1b [processing] fix grass/grass7 installation check 2016-11-15 09:27:22 +07:00
Alexander Bruy
85d1fd720b [processing] cleanup test data 2016-11-12 13:31:44 +02:00
Nyall Dawson
0484769b7d [processing] Use subprocess.DEVNULL instead of open(os.devnull) 2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix )
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
rldhont
37951baf45 [Processing] Uses os.path.join instead of + os.sep + () 2016-10-01 08:35:56 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Matthias Kuhn
f6710b0528 python3 fixes 2016-07-03 14:54:26 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
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 ) 2016-04-11 18:52:27 +03:00
Alexander Bruy
525194dc0b [processing] don't ask for MSYS folder for GRASS7 (fix ) 2016-04-10 11:31:46 +03:00
volaya
5131e93e1f [processing] extra checks to avoid issues with previous versions values 2016-04-05 09:55:41 +02: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
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Giovanni Manghi
e1ff6e896a processing fix GRASS7 detection on osx: courtesy Martin Laloux 2016-03-06 10:32:06 +00:00
volaya
99b9a495b8 [processing] fixed autodetection of grass folder
Fix provided by Stefan Blumentrath
2016-01-26 19:43:06 +01:00
Alexander Bruy
75926f52aa [processing] include GRASS path in the error message to make it more informative (fix ) 2016-01-18 12:17:55 +02:00
volaya
87d8a12e79 [processing] GRASS: prevent exception when deleting GISBASE env variable 2015-10-01 09:57:45 +02:00
Markus Neteler
424d3d337e Update Grass7Utils.py
In batchjob, use GRASS_MESSAGE_FORMAT=plain
2015-08-20 10:36:22 +02:00
Juergen E. Fischer
d2282a77c7 processing: when using batch jobs remove GISBASE from environment when calling GRASS (fixes ) 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
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 
2015-06-23 13:32:16 +02:00
Giovanni Manghi
80a65b9b1a fix python error when using path with special chars in Processing/GRASS 2015-04-26 12:48:22 +01:00
Markus Neteler
a18286fa3d GRASS GIS batch job needs sqlite directory to be created 2015-02-07 23:35:35 +01:00
Markus Neteler
0a1382a0be updates for GRASS GIS 7 support; file date updated in comment 2015-02-07 21:53:30 +01:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Alexander Bruy
321ff1b1d5 [processing] i18n support in grass, R, OTB and example providers 2015-01-17 11:24:54 +02:00
elpaso
59ec15bb2b [processing] Avoid python hangs when run in headless mode from FCGI 2014-10-03 10:35:07 +02:00
Alexander Bruy
72259135b1 [processing] remove undefined variable (fix ) 2014-10-02 17:58:25 +03:00
Victor Olaya
05cfd69d13 [processing] overhaul of graphical modeler 2014-06-28 14:54:17 +02:00
Alexander Bruy
7f7118ccfb [processing] fix typo in GRASS 7 provider 2014-04-25 12:05:33 +03:00
Victor Olaya
8fe53c051c [processing] recover changes introduced in b928d165206a0994e593903d149c875131bfd6c6, lost on refactoring and merging 2014-04-19 20:53:09 +02:00