327 Commits

Author SHA1 Message Date
Alexander Bruy
e1ee477c40 [processing] use numeric parameter for buffer distance 2016-11-12 13:31:44 +02:00
Alexander Bruy
02ed0aa628 [processing] fix OGR offset curve and one-side buffer 2016-11-12 13:31:43 +02:00
Alexander Bruy
5991eccb47 [processing] simple test for ogr buffering 2016-11-12 13:31:42 +02:00
Alexander Bruy
51a56573c5 Merge pull request #3727 from arnaud-morvan/processing_ogr2ogr_defaults
[processing] fix Ogr2OgrToPostGisList algorithm
2016-11-10 11:45:56 +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
arnaud.morvan@camptocamp.com
a6a09d9ae2 [processing] Fix Ogr2OgrToPostGisList with 8798c42339 and 3472ac80d8bd 2016-11-06 15:25:11 +01:00
arnaud.morvan@camptocamp.com
01941176c5 [processing] Log gdal calls 2016-11-06 15:21:39 +01:00
Alexander Bruy
323c6582c6 [processing] add workaround for GDAL regression with cutlines (fix #15746) 2016-10-25 17:48:19 +03:00
Paolo Cavallini
7470b55bbd Enable CROP_TO_CUTLINE by default
Fixes https://hub.qgis.org/issues/15750
Please backport it where appropriate.
2016-10-25 08:57:31 +02:00
Sandro Santilli
7971815343 Do not pass None to len() 2016-10-20 10:51:30 +02:00
Sandro Santilli
06976a2e87 Make Extent and Extent CRS GDAL parameters optional
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.

Fixes #15685
2016-10-20 10:51:30 +02: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
Sandro Santilli
2fc418016f [processing] Fix handling of None shapeEncoding
Fixes #15719 -- object of type 'NoneType' has no len()
2016-10-18 11:44:40 +02:00
volaya
fba87f79f3 Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
Conflicts:
	python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
volaya
3b1dfa7071 [processing] made -te parameter optional in gdal warp 2016-10-10 08:05:11 +02:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
Alexander Bruy
3407ced90e fix indentation
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
c491c01266 [processing] changes to allow custom parameter dialog adapt to new parameter architecture 2016-10-05 12:38:21 +02:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +03:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
8bf95fea5e [processing] refactor ogr buffer algorithm 2016-09-16 12:03:45 +03:00
Alexander Bruy
9acb52db83 fix indentation 2016-09-14 16:55:20 +03:00
Alexander Bruy
9077398c4e [processing] split offset curve and single-side buffer alg into two separate algs 2016-09-14 16:53:34 +03:00
Alexander Bruy
cac3b2ddfa [processing] refactor offset curve GDAL algorithm (fix #15478) 2016-09-14 16:38:35 +03:00
Alexander Bruy
89774abed3 [processing] fix substitution of the original layers in GDAL commands 2016-09-14 16:24:02 +03:00
Alexander Bruy
2d561f5739 [processing] remove obsolete OGRAlgorithm class 2016-09-14 15:53:10 +03:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
1d2b0b4ca7 [processing] don't apply additional parameter if offset curve operation is used (fix #15342) 2016-08-01 15:26:58 +03:00
Alexander Bruy
7f6bae1f5e [processing] use '-te_crs' parameter only if supported by GDAL 2016-07-28 13:39:22 +03:00
Alexander Bruy
b3a38f4018 [processing] fix issues with exported layers in GDAL provider 2016-07-26 15:00:26 +03:00
Alexander Bruy
6ccf7264a6 [processing] fix condition in warp alg 2016-07-26 15:00:26 +03:00
Alexander Bruy
c81b14d59e [processing] replace original layer name with exported in the final OGR command (fix #15099) 2016-06-22 15:16:32 +03:00
Alexander Bruy
b9b8d37cc0 [processing] add "-te_srs" option to gdal_warp (fix #15033) 2016-06-22 12:45:33 +03:00
Alexander Bruy
acc8274c87 remove debug output 2016-06-22 11:07:14 +03:00
Alexander Bruy
e4c1d896e9 [processing] fix gdal_contour algorithm 2016-06-22 11:05:05 +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
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
8ddae27130 [Processing] Support authentication with postgis 2016-06-03 17:09:31 +02:00
Alexander Bruy
2069c27c85 Merge pull request #3119 from arnaud-morvan/processing_fix_postgis_overwrite
[processing] fix ogr2ogr postgis table overwrite
2016-05-30 11:57:57 +03:00
volaya
9c2721b08b [processing] added ‘supported’ parameter to exportVectorLayer 2016-05-30 10:41:44 +02: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
Alexander Bruy
c69665be92 [processing][gdaltools] reword merge option (fix #8519) 2016-05-24 19:47:48 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
rldhont
793b712eb9 [Processing][GDAL] Well manage optional parameters
Because EXTRA and NO_DATA parameters are optional, the value can be `None` which is the same as `''`.
2016-04-26 14:18:41 +02:00
Alexander Bruy
0502265320 Merge pull request #3030 from NaturalGIS/processing_fix_raster_clip_nodata
[processing] set nodata parameter as optional in GDAL algs
2016-04-26 14:36:14 +03:00