Skip to content

Commit

Permalink
Adjust precision of some processing tests to allow them to pass under…
Browse files Browse the repository at this point in the history
… proj 6
  • Loading branch information
nyalldawson committed May 21, 2019
1 parent 20ed28d commit 289e72d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
Expand Up @@ -1240,6 +1240,9 @@ tests:
OUTPUT:
name: expected/geodesic_hub_no_split.shp
type: vector
compare:
geometry:
precision: 6

- algorithm: native:hublines
name: Hub lines, geodesic, split
Expand All @@ -1261,7 +1264,10 @@ tests:
OUTPUT:
name: expected/geodesic_hub_split.shp
type: vector

compare:
geometry:
precision: 6

- algorithm: qgis:pointstopath
name: Points to path (non grouped)
params:
Expand Down
Expand Up @@ -1351,6 +1351,10 @@ tests:
type: vector
pk:
- zone
compare:
fields:
sum:
precision: 0

- algorithm: native:rasterlayerzonalstats
name: Raster layer zonal stats, zones ref
Expand Down Expand Up @@ -1874,6 +1878,10 @@ tests:
OUTPUT:
name: expected/add_xy_3857.gml
type: vector
compare:
fields:
p_x:
precision: 6

- algorithm: native:joinbynearest
name: Join by nearest polys to points
Expand Down Expand Up @@ -1958,6 +1966,14 @@ tests:
OUTPUT:
name: expected/nearest_points_to_reproj_lines.gml
type: vector
compare:
fields:
distance:
precision: 5
feature_x:
precision: 5
nearest_x:
precision: 5

- algorithm: native:joinbynearest
name: Nearest lines to points, reprojected
Expand All @@ -1974,6 +1990,12 @@ tests:
OUTPUT:
name: expected/nearest_lines_to_points_reprojected.gml
type: vector
compare:
fields:
distance:
precision: 5
nearest_y:
precision: 5

- algorithm: native:joinbynearest
name: Join to nearest, self join
Expand Down Expand Up @@ -2116,6 +2138,15 @@ tests:
OUTPUT:
name: expected/overlap_analysis_4326.gml
type: vector

compare:
fields:
custom_overlay2_a.geojson_area:
precision: 13
custom_overlay2_a.geojson_pc:
precision: 13
custom_overlay2_b.geojson_area:
precision: 8
custom_overlay2_b.geojson_pc:
precision: 7

# See ../README.md for a description of the file format

0 comments on commit 289e72d

Please sign in to comment.