From 1be431d93e8a98b9105bdc4af46ff825e3ccb9f6 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 5 Feb 2021 10:45:45 +1000 Subject: [PATCH] v.rast.stats refuses to create shapefiles in newer grass versions, so use a different format --- .../expected/grass7/v_rast_stats2.gml | 52 +++++++++ .../expected/grass7/v_rast_stats2.xsd | 108 ++++++++++++++++++ .../grass7_algorithms_vector_tests.yaml | 2 +- 3 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.gml create mode 100644 python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.xsd diff --git a/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.gml b/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.gml new file mode 100644 index 000000000000..51e838478ad3 --- /dev/null +++ b/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.gml @@ -0,0 +1,52 @@ + + + + + 18.6731931111595745.77795780842602 + 18.7009009318977145.80786158698488 + + + + + + 18.6744202640594,45.7984964727494 18.6731931111596,45.7899709894453 18.6759703519329,45.7902293374243 18.6838499652896,45.7903585114137 18.694442232425,45.7962359279339 18.6948297543933,45.8001757346123 18.6896627948151,45.8045676502538 18.6832040953424,45.8078615869849 18.6744202640594,45.7984964727494 + 1 + 24890 + 85 + 230 + 145 + 140.558313692981 + 39.3360767510494 + 1547.32693416445 + 27.9855923975941 + 3498496.4278183 + 98.7667 + 141.309 + 175.558 + 193.708 + + + + + 18.6906961867308,45.7866124657195 18.6800393326007,45.7833185289884 18.6804914415638,45.7798954182678 18.6884356419153,45.777957808426 18.6997383659926,45.7811225711677 18.7009009318977,45.7856436607986 18.694442232425,45.7911335553504 18.6906961867308,45.7866124657195 + 2 + 14940 + 121.586990356445 + 209.600006103516 + 88.0130157470703 + 171.984373565531 + 21.9023964009941 + 479.714968106278 + 12.7351083978851 + 2569446.54106903 + 153.417 + 179.076 + 190.563 + 196.643 + + + diff --git a/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.xsd b/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.xsd new file mode 100644 index 000000000000..07372801e0ed --- /dev/null +++ b/python/plugins/processing/tests/testdata/expected/grass7/v_rast_stats2.xsd @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/python/plugins/processing/tests/testdata/grass7_algorithms_vector_tests.yaml b/python/plugins/processing/tests/testdata/grass7_algorithms_vector_tests.yaml index bb85f4b4c392..a01807b72a82 100644 --- a/python/plugins/processing/tests/testdata/grass7_algorithms_vector_tests.yaml +++ b/python/plugins/processing/tests/testdata/grass7_algorithms_vector_tests.yaml @@ -67,7 +67,7 @@ tests: type: raster results: output: - name: expected/grass7/v_rast_stats.shp + name: expected/grass7/v_rast_stats2.gml type: vector - algorithm: grass7:v.voronoi