1000 Commits

Author SHA1 Message Date
arnaud.morvan@camptocamp.com
4b5d81b370 [processing] Add Aggregate algorithm 2017-08-16 10:46:15 +02:00
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
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
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
6aa672d9e0 Fix typo in gridify alg 2017-08-05 17:51:38 +10:00
Nyall Dawson
b93be39c24 Port Stats by Category to new API
Improvements:
- keep original field type and name for category field
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
adda744576 Port Join Attributes alg to new API
Improvements:
- don't fetch unused geometry for joined table
2017-08-05 17:51:38 +10:00
Nyall Dawson
03bae593bb Port Eliminate Selection to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
7132faa974 Port Topocolor algorithm to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
ec4df6c019 Port points to path to new API
Improvements:
- Maintain Z/M values
- Keep original data type for group/order fields
- Group field is optional
- Added unit tests
- Don't export text files for features by default
2017-08-05 17:51:38 +10:00
Nyall Dawson
b4b39996d2 Port hub lines algorithm to new API
Improvements:
- transparent reprojection to match hub/spoke CRS
- keep all attributes from matched hub/spoke features
- don't break after matching one hub point to spoke - instead
join ALL hub/spoke points with matching id values
2017-08-05 17:51:38 +10:00
Nyall Dawson
e0354456e3 Port Hub Distance (lines) to new API
Improvements:
 - handle different CRS between points and hubs
 - add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
fc1746e770 Port Hub Distance (points) to new API
Improvements:
- handle different CRS between points and hubs
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
591de92b07 Port gridify to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
54be720485 Port grid lines to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
7ab82444f1 Port random selection algorithms to new API
And heavily optimise random selection within subsets alg
2017-08-05 17:51:38 +10:00
Alexander Bruy
7c706d23ce [processing] adapt algorithms to use new band parameter 2017-08-04 11:36:41 +03:00
Alexander Bruy
14435907f6 [processing] adopt algs to use new API call to retrieve GDAL driver 2017-08-01 14:52:25 +03:00
Alexander Bruy
fef93fc751 [processing] limit pixel size values 2017-08-01 14:52:25 +03:00
Alexander Bruy
1f276a12bf [processing] port raster layer statistics 2017-08-01 14:52:25 +03:00
Alexander Bruy
fa0bb2e6dc [processing] improve Create constant raster algorithm 2017-08-01 14:52:25 +03:00
Matthias Kuhn
3dc6daaffa
Fix typo 2017-07-31 09:35:28 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors 2017-07-30 21:51:22 +02:00
Nyall Dawson
e8290928dd Port Variable distance buffer to new API
Improvements:
- add cap style/join style/ miter limit setting from fixed distance buffer
2017-07-28 14:10:48 +10:00
Nyall Dawson
5763381cbd Port fixed distance buffer to new API 2017-07-28 13:58:52 +10:00
Nyall Dawson
e53a14a23e Port Convex Hull alg to new API
Improvements:
- slight optimisation to feature requests - don't request attributes
which are not used
- Remove "method" param. Now the decision to group by field or
not is made only on whether a class field was selected or not
2017-07-28 13:27:52 +10:00
Nyall Dawson
c5cb3df15b Port singlepart to multipart to new API, fix disabled test 2017-07-28 12:42:40 +10:00
Nyall Dawson
2a6f51218a Port points along line to new API 2017-07-28 12:05:05 +10:00
Nyall Dawson
becf6904b1 Port extract specific nodes algorithm to new API
Improvements:
- keep Z/M values if present in geometries
2017-07-28 11:50:16 +10:00