Nyall Dawson
e33647dc5a
Move OGR processing provider specific methods to GdalUtils
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
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
4ed18b112a
Add a bunch of missing QgsProcessingUtils imports
2017-05-02 14:36:23 +10:00
Nyall Dawson
49c688bbe4
Fix use of QgsProcessingUtils.mapLayerFromString
2017-05-02 13:40:49 +10:00
Nyall Dawson
f84d703234
Add method QgsProcessingUtils::mapLayerFromString
...
Algorithms and other processing code should use this method
(instead of dataobjects.getLayerFromString) to
retrieve layers from a string, as it considers the processing
context and allows resolving strings to temporarily stored layers.
This permits processing models to function correctly when
intermediate results are stored as memory layers. Subsequent
model algorithms can then access these temporary layers as inputs.
All temporary layers will be removed when the context object
is destroyed after the model algorithm is run.
2017-05-02 12:33:04 +10:00
Nyall Dawson
377b181c4e
Port more processing dataobjects methods to c++
...
Also
- simplify and add tests
- remove large memory leak (persistant store of all non-project layers)
- remove broken support for direct loading postgres/virtual layers
by string (Python version was very broken and would never match
a postgres/virtual layer)
2017-04-05 19:50:46 +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
Nyall Dawson
faa8a653b2
Move algorithm icon handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Alexander Bruy
dbca0304d9
[processing] rename algorithm groups in GDAL provider
2017-02-28 12:37:48 +02:00
Nyall Dawson
9124100fb6
Python formatting updates
2017-01-23 12:25:19 +10:00
Alexander Bruy
f9680ddc0c
[processing] use custom options widget in GDAL algorithms
2017-01-07 10:02:13 +02: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
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
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
Giovanni Manghi
a4b2cde5bb
more GDAL a_nodata fixes, for sake of uniformity
2016-04-25 22:09:42 +01:00
Alexander Bruy
619356ea1c
[processing] add OPTIMIZE_SIZE option to gdalwarp ( fix #5651 )
2016-03-25 15:37:20 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Alexander Bruy
11a9a66104
[processing] add icons for fTools and GDALTools algorithms
2016-03-01 15:57:31 +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
Juergen E. Fischer
f996c54776
indentation update
2015-10-30 23:30:16 +01:00
Giuseppe Sucameli
55b068fa9a
Merge branch 'clipper' of https://github.com/PedroVenancio/Quantum-GIS into PedroVenancio-clipper
...
Conflicts:
python/plugins/processing/algs/gdal/ClipByMask.py
2015-10-25 16:38:27 +01:00
PedroVenancio
5057f761fa
Adds the -crop_to_cutline parameter as optional to fix the gdalwarp deviation described in #4530 . Option added to Clipper tool from GdalTools and Processing. It also adds the -tr xres yres parameter to GdalTools Clipper tool. Also get the original raster resolution.
2015-10-23 01:24:08 +01:00
Giovanni Manghi
ebd51b2c79
remove repeated parameter
2015-10-22 09:57:38 +01:00
Giovanni Manghi
83d99b1616
Processing advanced parameters for gdal clip raster
2015-10-22 09:48:45 +01: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
pcav
69ed92bcfc
Uniform and informative output names for Processing (GDAL)
2015-05-18 09:29:41 +02:00
volaya
1964a7c744
[processing] added box with console commands for gdal/ogr algs
2015-05-07 13:20:28 +02:00
Giovanni Manghi
1fe580ca91
fix processing gdalwarp dstnodata
2015-02-04 14:26:57 +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
Alexander Bruy
f3f09fa500
[processing] i18n support in gdal provider
2015-01-17 11:24:54 +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
4eab185528
[processing] all gdal algs now have the same icon
...
Did some code cleaning in gdal package
2014-06-02 22:45:43 +02:00
Victor Olaya
9b277cb040
[processing] refactoring to put all algorithm providers under a single module
2014-04-19 20:49:17 +02:00