238 Commits

Author SHA1 Message Date
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
Giovanni Manghi
a4b2cde5bb more GDAL a_nodata fixes, for sake of uniformity 2016-04-25 22:09:42 +01:00
Giovanni Manghi
ba2601ff45 remove wrong gdal_translate parameter 2016-04-25 21:41:43 +01:00
Giovanni Manghi
fb5921250b set nodata parameter as optional in GDAL clip by extent 2016-04-25 21:22:27 +01:00
Matthias Kuhn
09a2f9b343 [Processing] Retry gdal commands if they are interrupted 2016-04-18 08:35:20 +02:00
Matthias Kuhn
972f13e0ec Followup 151204d fix typo 2016-04-17 21:23:37 +02:00
Matthias Kuhn
151204dee0 Add debug for failing gdal subprocess 2016-04-17 17:03:31 +02:00
Matthias Kuhn
1ed39c4877 Fix indentation 2016-04-11 20:32:32 +02:00
Matthias Kuhn
c7ddc4b229 [processing] Allow calling GdalUtils.runGdal w/o progress 2016-04-11 17:55:46 +02:00
QGEP
6ea74d6234 Workaround a instable system call 2016-04-09 09:48:46 +02:00
volaya
cc50157ab8 [processing] make gdal algorithms honor selection
fixes #14622
2016-04-07 14:02:25 +02:00
Alexander Bruy
aef26c90f3 [processing] more HiDPI fixes (refs #14474) 2016-04-01 16:48:04 +03:00
Alexander Bruy
619356ea1c [processing] add OPTIMIZE_SIZE option to gdalwarp (fix #5651) 2016-03-25 15:37:20 +02:00
Alexander Bruy
660bb27388 [processing] replace some raster icons with SVG to improve HiDPI support (refs #14474) 2016-03-25 15:19:52 +02:00
Stéphane Brunner
cf22cab3e9 Fix the master (merge without tests pass :-( )
Related to #2893
2016-03-23 13:53:04 +01:00
volaya
d808ef9ab6 Merge pull request #2893 from NaturalGIS/processing_gdalwarp_extent
processing: add extent parameter to gdal_warp
2016-03-23 10:55:13 +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
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Giovanni Manghi
b073111f8a processing: add extent parameter to gdal_warp 2016-03-10 09:14:29 +00:00
Giovanni Manghi
2c7f40b65c try fix indentation 2016-03-08 09:05:48 +00:00
Giovanni Manghi
e4f75672bc processing: add extent parameter to gdal rasterize 2016-03-06 17:59:57 +00:00
Alexander Bruy
7823a5a857 [processing] add missed fTools algorithms: Define current projection
and Create spatial index.

Also add missed Assign projection from GDALTools
2016-03-01 15:57:32 +02:00
Alexander Bruy
11a9a66104 [processing] add icons for fTools and GDALTools algorithms 2016-03-01 15:57:31 +02:00
Alexander Bruy
cf8c7b13db fix failing indenation test 2016-02-19 21:19:49 +02:00
Giovanni Manghi
3215247c71 fix processing gdal_rasterize: missing output format parameter 2016-02-19 18:03:02 +00:00
Juergen E. Fischer
6a3753e2e8 processing: fix translation context for AlgorithmDialogBase 2016-02-15 00:16:51 +01:00
Juergen E. Fischer
ded1ebb33b indentation fixes 2016-02-09 14:19:13 +01:00
Alexander Bruy
475911f75f Merge pull request #2768 from NaturalGIS/processing_fix_gdal_string
[processing] fix non-translatable string in GDAL/Aspect
2016-02-09 15:12:38 +02:00
Alexander Bruy
686ad242c1 Merge pull request #2769 from NaturalGIS/processing_fix_gdal_optional_parameters
[processing] fix a few GDAL/OGR optional parameters
2016-02-09 15:12:15 +02:00
Alexander Bruy
a5ddf92dfb Merge pull request #2770 from NaturalGIS/processing_fix_ogr_convert_format
[processing] fix OGR/Convert format tool
2016-02-09 15:11:32 +02:00
Giovanni Manghi
24ce6d239b fix Processing OGR/Convert format tool 2016-02-08 21:59:15 +00:00
Giovanni Manghi
7072db4c47 fix a few GDAL/OGR Processing optional parameters 2016-02-08 21:05:23 +00:00
Giovanni Manghi
3593a3a12c fix non-translatable string in Processing GDAL/Aspect 2016-02-08 19:18:04 +00:00
Giovanni Manghi
5e5ddafb0e fix Processing GDAL near black tool 2016-02-08 19:02:17 +00:00
Alexander Bruy
dc78035329 [processing] restore OgrAlgorothm, as it may be used by some 3rd party
plugins. This class will be removed in QGIS 3.
2016-02-01 09:40:09 +02:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11: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
cf02a71bb0 get rid of multiple inheritance, fix missed import 2016-01-21 17:56:48 +02:00
Alexander Bruy
fe2bb2f09f [processing] take in account vector subsets when clipping raster (fix #11972) 2016-01-21 16:24:33 +02:00