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
Nyall Dawson
b0cac0bd04
Remove debugging code
2017-08-07 17:13:07 +10:00
Nyall Dawson
d6e2985c08
Fix invalid icon sizes in processing model builder
...
While the toolbar buttons were shown in the correct size, the
actual icon image in the buttons was not correctly scaling to
match the button size.
Hardcoding the svg icons in the py file seems to be the only
way to avoid this.
2017-08-07 05:24:12 +10:00
Nyall Dawson
cad54f2cea
Fix incorrect icon sizes in Python console
...
Console was not respecting application icon size setting
2017-08-07 05:24:12 +10:00
Juergen E. Fischer
487a7a00b7
fix 'allows to/allows one to' spell errors and enhance to our spellchecker to deal with those
2017-08-06 17:34:22 +02:00
Nyall Dawson
7f5b4dbc18
Followup 6ed389c8, fix push direct to master ;)
2017-08-06 16:34:49 +10:00
Juergen E. Fischer
6ed389c8e8
fix translation string again and improve translation scripts (followup 79a095cb)
2017-08-05 23:01:42 +02:00
Nyall Dawson
a5ddab6cc8
Merge pull request #4950 from nyalldawson/algs
...
Port some more algs to new API
2017-08-06 05:05:32 +10:00
Nyall Dawson
470afbebbe
Use correct file filters for processing vector/raster input selectors
2017-08-05 23:19:03 +10:00
Nyall Dawson
d4ad063f45
Allow specifying a 'primary key' field when comparing layers for
...
processing tests
Some algorithms will return results in different orders, e.g.
due to the use of dicts or other methods which do not guarantee
a fixed return order.
Using a primary key to do the feature match allows us to flexibly
handle these situations and provide tests for these algorithms.
2017-08-05 22:10:18 +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
572dadab01
Remember window geometry in multi input dialogs
2017-08-05 17:51:38 +10:00
Nyall Dawson
a1f487d679
Add alternate reference layer for points to path algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
c2559d8273
Add second reference layer for topocolor algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
9968962ab9
Allow specifying multiple possible vector layer results for processing
...
tests
Some algorithms are non-deterministic and the results may vary from
run to run. In this case we allow specifying multiple possible valid
results, and the test will pass if the result layer matches any of these.
2017-08-05 17:51:38 +10:00
Nyall Dawson
5d635d190d
Allow list of acceptable raster hashes for processing algorithm tests
...
Differences in gdal libraries mean the hash value may differ between
platforms. Allow multiple acceptable hashes to be listed for
expected test results
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
0930e18bf9
Add tests for gridify
2017-08-05 17:51:38 +10:00
Nyall Dawson
591de92b07
Port gridify to new API
2017-08-05 17:51:38 +10:00