160 Commits

Author SHA1 Message Date
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00
Nyall Dawson
9e1ddcb54d [processing] Allow modification of feature request when using
vector.features

Allows for optimising the request through subsets of attributes
or no geometry fetching
2016-07-13 12:06:41 +10:00
Alexander Bruy
2d9b2a354b [processing] use bulk features loading to speedup spatial index creation 2016-06-21 16:56:21 +03:00
Alexander Bruy
aa9fe9ecd0 Merge pull request #3118 from arnaud-morvan/processing_gdal_postgis_credentials
[processing] support postgis service parameter and credentials input
2016-06-14 15:19:03 +03:00
Alexander Bruy
9e54287bb4 [processing] fix alglist() function 2016-06-09 14:58:08 +03:00
arnaud.morvan@camptocamp.com
8ddae27130 [Processing] Support authentication with postgis 2016-06-03 17:09:31 +02:00
Nyall Dawson
3a005cda36 Indentation 2016-06-02 08:50:27 +10:00
Alexander Bruy
57b16187e6 [processing] move spatialite and postgis utils into tools package 2016-06-01 14:15:46 +03:00
volaya
479ceb36b4 [processing] fixed wrong call to splitext in dataobjects.py 2016-06-01 12:18:33 +02:00
arnaud.morvan@camptocamp.com
01450c5609 [Processing] Compare lower file extension to "shp" 2016-05-30 15:30:00 +03:00
volaya
9c2721b08b [processing] added ‘supported’ parameter to exportVectorLayer 2016-05-30 10:41:44 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +02:00
volaya
e6b76c4d7b [processing] cleaning and restructuring
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
Alexander Bruy
6207412bf7 [processing] restore CreateConstantRaster algorithm (fix #14860) 2016-05-23 12:41:45 +03:00
arnaud.morvan@camptocamp.com
63d23d2905 Processing - Support no geometry in VectorWriter 2016-05-17 14:16:15 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Alexander Bruy
9c96be1214 [processing] add function to retrieve Processing version
Initial idea by Etienne Trimaille
2016-04-01 14:09:02 +03:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
radosuav
9c611c98e8 [Processing] Fix TypeError in Zonal Statistics algorithm
Fixes #14412
2016-03-07 16:56:35 +01:00
Matthias Kuhn
e0ffd92a40 Fix typo 2016-02-23 10:24:34 +01:00
Alexander Bruy
dbd83b3ee1 Merge pull request #2733 from nirvn/processing_memory_datetime
[processing] add date, datetime, time fields to memory output
2016-02-04 20:10:51 +02:00
nirvn
427b9c9734 [processing] add date, datetime, time fields to memory output
(fixes #14163)
2016-02-01 09:09:33 +07:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
Matthias Kuhn
2f411afe75 [Processing] Fix raster tools
GDAL arguments need to be str since they are passed as unencoded const
char*.
2016-01-28 15:54:12 +01:00
Alexander Bruy
9193d8f5a0 [processing] drop GdalScriptAlgorithm as it is not used
Also remove OgrAlgorithm base class at it almost completely duplicates
GdalAlgorithm class. All affected algorithms updated accordingly.
2016-01-22 15:47:20 +02:00
Alexander Bruy
c7231c3703 remove unused code 2016-01-21 20:02:45 +02:00
Nyall Dawson
7e90d5773f Whitespace fix 2016-01-19 08:42:02 +11:00
volaya
4c34871f0a [processing] fixed problems when opening/removing layers while alg dialog is open 2016-01-18 15:02:10 +01:00
Hugo Mercier
83a24a3794 [processing] add more possible data providers for input vector layers 2016-01-11 17:15:01 +01: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
Alexander Bruy
b207268e69 add missed license headers in Processing files 2016-01-07 17:52:49 +02:00
volaya
08a8b6095f [processing] modified how user folder is defined
This should have no effect on a normal QGIS desktop installation, but improve using Processing when not running on top of a regular QGIS instance.
2015-12-15 12:38:05 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
55c18a5e45 [processing] fixed creation of vector layer as PostGIS Table
fixes error introduced in last commit
2015-11-09 08:50:54 +01:00
rldhont
e4996d77cd [processing] allow output directly on Spatialite tables
like 11b5092140f5a966dbb2d85cb64face1e927ff90 but for Spatialite
2015-11-06 17:54:58 +01:00
volaya
11b5092140 [processing] allow output directly on PostGIS tables 2015-11-06 11:36:27 +01:00
volaya
22ace3df2e [processing] minor indentation fix 2015-11-06 11:36:26 +01:00
volaya
4692eb526b [processing] don't use temp folder for default output folder 2015-11-06 11:36:24 +01:00
radosuav
507aeb0507 [Processing] Allow "progress" to be specified when calling processing.runalg
This is mostly so that algorithms executed in Processing scripts can
display messages in the same way as if they were executed directly from
Processing toolbox.

Also fixes a small issue with busy cursor being reset too early when
algorithms were executed from Processing scripts.
2015-11-04 09:51:30 +01:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
volaya
4da1ce9eee Merge pull request #2341 from arnaud-morvan/processing_precisionmodel
[Processing] Add precision parameter to by location algorithms
2015-10-24 15:42:36 +02:00
Juergen E. Fischer
bf64f8d0a0 spelling fixes and indentation update 2015-10-22 21:56:54 +02:00
volaya
70bc957439 [processing] do not assume singleton Processing when defining temp folder
fixes #13588
2015-10-14 13:14:02 +02:00
Juergen E. Fischer
24fe216270 spelling fixes 2015-10-01 19:12:29 +02:00
arnaud.morvan@camptocamp.com
fa12502995 [Processing] Add precision parameter to by location algorithms 2015-09-29 14:25:12 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
arnaud.morvan@camptocamp.com
c7b384135e Processing translation tool for names and groups 2015-07-17 15:15:53 +02:00
volaya
de728743b7 [processing] do not accept grass vector layers as inputs
fixes #12436
2015-07-03 08:18:54 +02:00