42 Commits

Author SHA1 Message Date
Nyall Dawson
3d3d2975a4 Followup fixes to ogr2ogrpostgis alg porting 2017-08-14 05:19:00 +10:00
Nyall Dawson
e33647dc5a Move OGR processing provider specific methods to GdalUtils 2017-08-14 04:56:24 +10:00
Nyall Dawson
1a5648722a Port GDAL Ogr2OgrPostgis to new API 2017-08-14 04:56:24 +10:00
Nyall Dawson
ab079f9d92 ogrConnectionString reuses existing context 2017-08-14 04:56:24 +10:00
Nyall Dawson
ce8e18da10 Fix overridden function signatures 2017-08-14 04:56:24 +10:00
Nyall Dawson
ba03f1a13a Move minimum layer extent calculation to c++ 2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c Push parameters into processAlgorithm and related functions 2017-06-06 07:41:19 +10:00
Nyall Dawson
77ab933788 Move alg character definitions to __init__ 2017-06-06 07:41:19 +10:00
Nyall Dawson
a0bd464232 Use formatted name for algorithm names
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c Port handling of algorithm names to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a Move algorithm group handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Alexander Bruy
dbca0304d9 [processing] rename algorithm groups in GDAL provider 2017-02-28 12:37:48 +02:00
Giovanni Manghi
26448364b4 make ogr postgis parameters mandatory where needed 2017-02-10 15:41:39 +00:00
volaya
63955e6574 [processing] fixed handling of None param values in ogr2ogrtopostgis.py
Conflicts:
	python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
2016-10-18 16:55:19 +03:00
volaya
aeaef6f549 [processing] made connection params optional in ogr2ogrtopostgis.py 2016-10-18 16:55:19 +03:00
Sandro Santilli
6731eaa9e5 Add test for setting up connection string
Conflicts:
	python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
2016-10-18 16:55:19 +03:00
Sandro Santilli
d63222e68e [processing] Allow using libpq defaults for host,port,user,pass and dbname
Fixes #15706
2016-10-18 16:55:19 +03:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
4b7fc98e33 Merge pull request #3130 from arnaud-morvan/processing_gdal_shapeencoding
[processing] Add SHAPE_ENCODING parameter in GDAL "to postgis" algorithms
2016-06-14 14:51:14 +03:00
arnaud.morvan@camptocamp.com
5d37cc3549 Add SHAPE_ENCODING parameter in GDAL "to postgis" algorithms 2016-05-28 16:11:02 +02:00
arnaud.morvan@camptocamp.com
75461aa181 [Processing] Fix ogr2ogr postgis table overwrite 2016-05-28 09:38:14 +02:00
Giovanni Manghi
7072db4c47 fix a few GDAL/OGR Processing optional parameters 2016-02-08 21:05:23 +00: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
Giovanni Manghi
9cb18c6f39 fix some processing/ogr tools 2015-09-22 23:03:12 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +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
volaya
7a35d62b09 [processing] add help links for gdal/ogr alga 2015-05-21 15:44:00 +02:00
volaya
1964a7c744 [processing] added box with console commands for gdal/ogr algs 2015-05-07 13:20:28 +02:00
Giovanni Manghi
dfc5670c5f better quotes in processing/ogr import to postgis tools 2015-03-01 11:34:20 +00:00
Juergen E. Fischer
ee365bfcb5 fix pep8 warnings 2015-02-02 10:28:40 +01:00
Giovanni Manghi
e3bd6acbac update to latest changes in master 2015-02-02 00:21:31 +00:00
Giovanni Manghi
dab3092139 better and new fixes for processing/ogr import in postgis tools 2015-02-01 23:56:10 +00: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
Giovanni Manghi
bb97dcc8d1 remove space from string 2015-01-30 11:47:20 +00:00
Giovanni Manghi
ef0c955c95 fix processing ogr postgis import when db name or password are empty 2015-01-30 11:42:31 +00:00
Giovanni Manghi
8499242b82 fix Processing OGR import into PostGIS 2015-01-21 18:52:13 +00:00
Alexander Bruy
f3f09fa500 [processing] i18n support in gdal provider 2015-01-17 11:24:54 +02:00
volaya
2363ae56ab [processing] indentation fix 2014-12-16 15:24:15 +01:00
Juergen E. Fischer
e48a6f642f indentation update [ci skip] 2014-11-30 10:26:39 +01:00
Giovanni Manghi
97e796906f [Processing] A new tool to import data in PostGIS based on ogr2ogr and a few other ogr related fixes 2014-11-21 10:25:26 +01:00