5152 Commits

Author SHA1 Message Date
arnaud.morvan@camptocamp.com
b26e6812d4 [processing] Check all parameter's values in ModelerParametersDialog
Check that all parameter's values pass the validity check,
even if not returned as QgsProcessingModelChildParameterSource.

In case of list, tests that it is really a QgsProcessingModelChildParameterSource list,
and create a QgsProcessingModelChildParameterSource from the list if it is not the case
(useful for custom parameters that return lists as ParameterFieldsMapping).
2017-08-14 13:48:50 +02:00
arnaud.morvan@camptocamp.com
b3a9e46cfe [processing] Port refactor fields to new API 2017-08-14 13:48:50 +02:00
Nyall Dawson
f9750dde52 Port gdal color relief to new API 2017-08-14 05:55:50 +10:00
Nyall Dawson
1cbbbc4b83 Port gdal tri alg to new API 2017-08-14 05:49:18 +10:00
Nyall Dawson
ab2886dc63 Port gdal assign projection to new api 2017-08-14 05:41:54 +10:00
Nyall Dawson
19e5886b87 More reliable updates to the gdal command shown
By also checking for child widget signals - otherwise we don't
catch signals when compound widgets (such as raster layer source
widgets) are changed
2017-08-14 05:41:00 +10:00
Nyall Dawson
95fe5cdc04 Fix errors calculating gdal command when dialog is being constructed 2017-08-14 05:24:59 +10:00
Nyall Dawson
ba6e2dc940 Fix showing gdal command in algorithm dialog 2017-08-14 05:19:29 +10:00
Nyall Dawson
3d3d2975a4 Followup fixes to ogr2ogrpostgis alg porting 2017-08-14 05:19:00 +10:00
Nyall Dawson
1cbbb8a0fb Port gdal aspect alg to new API 2017-08-14 05:05:39 +10:00
Nyall Dawson
2e7db48d20 Fix error in gdal warp algorithm 2017-08-14 04:56:36 +10:00
Nyall Dawson
b87b2fe827 Allow skipping crs check in processing test results
The GML format often requires extra 'hand holding' in order to
get QGIS to detect it's CRS (e.g. GML files created directly
in GDAL will not have an autodetected CRS when pulled into
QGIS). This needs fixing, but as a workaround to allow
processing algorithm porting to continue we can now skip
the crs check for these layers.
2017-08-14 04:56:24 +10:00
Nyall Dawson
0a365b2d22 Fix OGR algs always export shapefiles, regardless of output file extension 2017-08-14 04:56:24 +10:00
Nyall Dawson
e33647dc5a Move OGR processing provider specific methods to GdalUtils 2017-08-14 04:56:24 +10:00
Nyall Dawson
97a8d1a7a2 Fix failing test 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
d45215ebc1 Cleanup conversion of input layers to OGR compatible sources 2017-08-14 04:56:24 +10:00
Nyall Dawson
6301ff6606 Resurrect OGR points along lines algorithm 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
5c888c5830 Resurrect gdal warp algorithm 2017-08-14 04:56:24 +10:00
Nyall Dawson
014833a6ff Restore gdal algorithm support 2017-08-14 04:56:24 +10:00
Nyall Dawson
913bf64e65 Fix some possible exceptions in topocolor alg 2017-08-14 01:42:16 +10:00
Nyall Dawson
a056e24a02 Fix exception in TopoColor algorithm 2017-08-14 01:42:16 +10:00
Nyall Dawson
47fe2a182d Port Points From Lines to new API 2017-08-14 01:42:16 +10:00
Nyall Dawson
c6b3855b41 Port Points From Polygons to new API 2017-08-14 01:42:15 +10:00
Nyall Dawson
c8ac7841f0 Port Points Displacement algorithm to new API
Rework algorithm to use same approach as points displacement
renderer. Also maintain Z/M values, and add tests and docs.
2017-08-14 01:42:15 +10:00
Nyall Dawson
69c991ed87 Restore ability to create processing tests from history panel 2017-08-13 16:56:58 +10:00
Juergen E. Fischer
c8876f2c23 fix fix !"@$% 2017-08-11 17:27:59 +02:00
Juergen E. Fischer
025a23451b fix utf8 python translation string 2017-08-11 17:26:38 +02:00
Harrissou Sant-anna
24adf77e5d more typo fixes 2017-08-11 13:17:15 +02:00
Mathieu Pellerin
1053823369 [processing] improve rasterize dialog UI, add help (#5008) 2017-08-11 13:29:58 +07:00
Nyall Dawson
13431ca123 Bump minimum tile size to 64 for rasterise alg 2017-08-11 04:46:15 +10:00
Nyall Dawson
ab21f3e26b Small cleanups to rasterise alg 2017-08-11 04:33:18 +10:00
Nyall Dawson
7d7c06cd85 Implement widget wrapper for QgsProcessingParameterMapLayer 2017-08-11 04:33:18 +10:00
Nyall Dawson
e0fbe3409a Use ellipsis for isolated strings in plugins too 2017-08-11 04:33:18 +10:00
nirvn
dc58c1ad15 [processing] fix non-normal blending composition for the rasterzie alg 2017-08-10 15:39:55 +02:00
Mario Baranzini
d9f71deb30 Remove osgeo.gdal.UseExceptions() 2017-08-08 21:49:05 +02:00
Mario Baranzini
f792661c1c Refactoring of rasterize algorithm 2017-08-08 20:59:58 +02:00
Mario Baranzini
baede356bb Refactoring 2017-08-08 17:16:17 +02:00
Mario Baranzini
bbfdcf3615 Fix header comment 2017-08-08 09:45:59 +02:00
Mario Baranzini
0533cfd708 Refactoring and added better comments 2017-08-08 09:45:59 +02:00
Mario Baranzini
525aeaba1a Added processing algorithm to convert map to raster 2017-08-08 09:45:59 +02:00
Nyall Dawson
f802c56573 Merge pull request #4996 from nyalldawson/spelling_and_stuff
Fix some spelling, add parameter names to tooltips in processing
2017-08-07 19:11:26 +10:00
Mario Baranzini
0409da3a4c Fixed PEP8 missing blank line 2017-08-07 10:27:15 +02:00
Mario Baranzini
f187c43280 Add cmp() function 2017-08-07 10:27:15 +02:00
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +02:00
Nyall Dawson
4ab4a1fcad Spell check 'mitre' -> 'miter' (i.e. use en-us variation) 2017-08-07 18:08:57 +10:00
Nyall Dawson
7cebe7a343 Fix some grammar 2017-08-07 17:45:33 +10:00
Nyall Dawson
952b494256 Show Python identifier for processing parameters in tooltip
over widgets

Hopefully helps Python processing users match the parameters
in the gui to the parameter names to use when calling via
API

(Blender style!)
2017-08-07 17:24:22 +10:00