Skip to content

Commit acd4cec

Browse files
committedDec 30, 2018
keep also old test for native interpolation algs
1 parent e86ca50 commit acd4cec

File tree

1 file changed

+75
-1
lines changed

1 file changed

+75
-1
lines changed
 

‎python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ tests:
17971797
DISTANCE_COEFFICIENT: 2.0
17981798
EXTENT: 0.0,8.0,-5.0,3.0 [EPSG:4326]
17991799
INTERPOLATION_DATA:
1800-
name: pointsz.gml::~::0::~::1::~::0
1800+
name: pointsz.gml::~::1::~::1::~::0
18011801
type: interpolation
18021802
PIXEL_SIZE: 0.026667
18031803
results:
@@ -1845,6 +1845,80 @@ tests:
18451845
# name: expected/triangulation.gml
18461846
# type: vector
18471847

1848+
- algorithm: qgis:idwinterpolation
1849+
name: IDW interpolation using attribute (old parameters)
1850+
params:
1851+
COLUMNS: 300
1852+
DISTANCE_COEFFICIENT: 2.0
1853+
EXTENT: 0, 8, -5, 3
1854+
INTERPOLATION_DATA:
1855+
name: pointsz.gml::~::0::~::1::~::0
1856+
type: interpolation
1857+
ROWS: 300
1858+
results:
1859+
OUTPUT:
1860+
hash:
1861+
- 56d2671d50444f8571affba3f9e585830b82af5e380394178f521065
1862+
- 2ae62aca803e6864ac75e47b4357292b0637d811cb510ed19471f422
1863+
type: rasterhash
1864+
1865+
- algorithm: qgis:idwinterpolation
1866+
name: IDW interpolation using Z value (old parameters)
1867+
params:
1868+
COLUMNS: 300
1869+
DISTANCE_COEFFICIENT: 2.0
1870+
EXTENT: 0, 8, -5, 3
1871+
INTERPOLATION_DATA:
1872+
name: pointsz.gml::~::1::~::-1::~::0
1873+
type: interpolation
1874+
ROWS: 300
1875+
results:
1876+
OUTPUT:
1877+
hash:
1878+
- 56d2671d50444f8571affba3f9e585830b82af5e380394178f521065
1879+
- 2ae62aca803e6864ac75e47b4357292b0637d811cb510ed19471f422
1880+
type: rasterhash
1881+
1882+
- algorithm: qgis:tininterpolation
1883+
name: TIN interpolation using attribute (old parameters)
1884+
params:
1885+
COLUMNS: 300
1886+
EXTENT: 0, 8, -5, 3
1887+
INTERPOLATION_DATA:
1888+
name: pointsz.gml::~::0::~::1::~::0
1889+
type: interpolation
1890+
METHOD: '0'
1891+
ROWS: 300
1892+
results:
1893+
OUTPUT:
1894+
hash:
1895+
- 87f40be6ec08f3fcbb5707762de71f6be35bb265c61f594335562a26
1896+
- a31f0faf918ebe0902e5c9c5c8cf606d30f52eb4094bf24e4f8ac67a
1897+
type: rasterhash
1898+
#TRIANGULATION_FILE:
1899+
# name: expected/triangulation.gml
1900+
# type: vector
1901+
1902+
- algorithm: qgis:tininterpolation
1903+
name: TIN interpolation using Z value (old parameters)
1904+
params:
1905+
COLUMNS: 300
1906+
EXTENT: 0, 8, -5, 3
1907+
INTERPOLATION_DATA:
1908+
name: pointsz.gml::~::1::~::-1::~::0
1909+
type: interpolation
1910+
METHOD: '1'
1911+
ROWS: 300
1912+
results:
1913+
OUTPUT:
1914+
hash:
1915+
- 5e14dd0b879884b8b8da56c082947dad681feb4e9f1137f5cda126f8
1916+
- b8389559d6a85e7a672d72254228473fae71af2d89e5a5dd73d1b0d7
1917+
type: rasterhash
1918+
#TRIANULATION_FILE:
1919+
# name: expected/triangulation.gml
1920+
# type: vector
1921+
18481922
- algorithm: native:removenullgeometries
18491923
name: Remove null geometries
18501924
params:

0 commit comments

Comments
 (0)
Please sign in to comment.