28 Commits

Author SHA1 Message Date
Nyall Dawson
001ae44b67 [processing] If supported, use memory layers instead of shapefiles
when writing to a temporary result

Avoids truncation of field names and other format specific
limitations
2016-08-14 13:32:38 +10:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
volaya
950a191813 [processing] remove square brackets from output names when no path and no extensions are provided 2016-05-25 10:43:22 +02:00
arnaud.morvan@camptocamp.com
afbe914114 Processing - Support OutputVector with no geometry in GUI 2016-05-17 14:16:16 +02:00
Alexander Bruy
0c8f6f7fbb fix indentation and typo 2016-05-13 09:32:13 +03:00
Alexander Bruy
730c5806aa Merge branch 'processing_exps' of https://github.com/volaya/QGIS into processing_exps
Conflicts:
	python/plugins/processing/gui/NumberInputPanel.py
	python/plugins/processing/gui/OutputSelectionPanel.py
2016-05-13 09:26:55 +03:00
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
volaya
2535c0a9c1 [processing] better expression context building 2016-04-26 08:33:57 +02:00
volaya
e9a3089670 [processing] more complete scope for expressions in outputs 2016-04-25 14:21:16 +02:00
volaya
ac0bff32bf [processing] added support for expressions in some input params and outputs 2016-04-25 14:21:13 +02: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
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00: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
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
volaya
1579a68b13 [processing] correctly handle filenames with long extension names in output file selector
fixes #10264
2015-06-22 09:25:13 +02:00
Alexander Bruy
d8e1cf30af [processing] load UI files dynamically 2015-05-19 15:30:26 +03: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
28c03a1cd9 [processing] remove similar widgets (use generic one instead) 2014-11-17 20:03:30 +02:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00
Victor Olaya
e4d0f15511 [processing] fixed #10364 2014-05-27 00:16:17 +02:00
Victor Olaya
afc65f22fe [processing] added missing import 2014-05-22 12:42:28 +02:00
Alexander Bruy
1507f0db88 [processing] add new output type - directory 2014-05-16 15:45:21 +03:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Victor Olaya
2b61f793f9 [processing] renmed setting group from ProcessingQGIS to Processing 2013-09-25 00:29:46 +02:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00