27 Commits

Author SHA1 Message Date
volaya
e55d1923fc [processing] fixes for 'import into PostGIS' alg
fixes #15097
2016-10-18 16:55:19 +03: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
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
Alexander Bruy
33977d16dd [processing] add option to force singlepart geometry type to postgis import (fix #14889) 2016-05-27 11:25:22 +03:00
Alexander Bruy
dadc9d2057 fix typo 2016-05-24 19:59:07 +03:00
Alexander Bruy
8ad1e3c8bc [processing] add ability to choose encoding when importing into PostGIS (fix #14687) 2016-05-24 19:32:58 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
volaya
48104d5737 Merge pull request #2891 from csandor/patch-1
Table names in postgresql can be max 63 characters long
2016-03-23 10:41:40 +01: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
Csaba Sandor
48e20cf08f Table names in postgresql can be max 63 characters long 2016-03-09 10:39:37 +01:00
Alexander Bruy
e7fe61e6b9 [processing] load algorithms only when requred 3rd party modules are
available or compatible QGIS version is used

Some housekeeping in QGIS algorithms provider
2016-02-17 14:46:02 +02:00
volaya
ae71e1f098 [processing] fix problems with names with capital letters when importing to postgis
fixes #11585
2015-10-01 09:51:47 +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
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
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
5511c86c9f fix file permissions 2015-01-20 09:48:37 +02:00
Alexander Bruy
ad758aa8db [processing] i18n for qgis provider 2015-01-17 11:24:54 +02:00
Nyall Dawson
3be82ff708 [processing] Ignore geom for non geom tables for ImportIntoPostGIS
This fixes an error where trying to import non geometry tables
using the "Import Into PostGIS" algorithm results in a database
error.
2014-10-27 11:16:11 +11: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
Juergen E. Fischer
647504306c indentation update 2014-07-13 17:16:24 +02:00
Victor Olaya
a58e64897c [processing] improved import to postgis algorithm 2014-07-12 10:39:52 +02:00
gioman
306b148bc0 small changes to import into postgis tool 2014-06-12 11:00:42 +01:00
Victor Olaya
2073026f7c [processing] removed geoserver algorithms and moved postgis ones to qgis agorithms group 2014-06-08 20:00:01 +02:00