Matthias Kuhn
f610ffaf52
Remove ParameterDataObject
2017-08-16 19:12:12 +02:00
Mathieu Pellerin
a9d8d395d2
[processing] restore near black and hillshade gdal algs ( #5028 )
2017-08-16 11:26:10 +07:00
Denis Rouzaud
19efee8a61
alog:along typo ( #5025 )
2017-08-15 18:21:35 +02:00
Nyall Dawson
aece517c50
Avoid duplicate geometry columns, invalid geometry column name in gdal points along lines alg
2017-08-15 20:58:08 +10: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
1cbbb8a0fb
Port gdal aspect alg to new API
2017-08-14 05:05:39 +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
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
6301ff6606
Resurrect OGR points along lines algorithm
2017-08-14 04:56:24 +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
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
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
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
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
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
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
54be720485
Port grid lines to new API
2017-08-05 17:51:38 +10:00
Nyall Dawson
bf7abdea76
Followup 69a25d
2017-08-05 06:53:19 +10:00
Nyall Dawson
69a25d0f43
Add initial test suite for processing algorithm dialog
2017-08-05 06:48:23 +10: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
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
Nyall Dawson
5b6696fce3
Port equivalent num field algorithm to new API
2017-07-28 10:54:35 +10:00
Nyall Dawson
82182040ab
Port Create Constant Raster to new API and add test
2017-07-27 16:02:52 +10:00
Nyall Dawson
e23617a83d
Port split with lines to new API
...
Improvements:
- handle transparent reprojection if layer and lines are in different CRS
2017-07-27 15:38:55 +10:00
Nyall Dawson
516249cea7
Port Explode algorithm to new API
...
Improvements:
- Keep Z/M values if present
- Add unit tests
2017-07-27 15:21:56 +10:00
Nyall Dawson
9b3f8a8b09
Port Polygonize to new API
2017-07-27 14:56:39 +10:00
Nyall Dawson
504cc1f390
Port Truncate alg to new API
2017-07-27 14:43:42 +10:00
Nyall Dawson
856125d366
Port create spatial index algorithm to new API
2017-07-27 14:30:40 +10:00