Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wilhelmberg authored and nyalldawson committed Sep 23, 2021
1 parent fd3143c commit 82b2f27
Showing 1 changed file with 53 additions and 0 deletions.
Expand Up @@ -167,6 +167,59 @@ tests:
fields:
fid: skip

- algorithm: grass7:v.net.alloc
name: v.net.alloc to centers
params:
-g: false
GRASS_MIN_AREA_PARAMETER: 0.0001
GRASS_OUTPUT_TYPE_PARAMETER: 0
GRASS_SNAP_TOLERANCE_PARAMETER: -1.0
GRASS_VECTOR_EXPORT_NOCAT : false
GRASS_VECTOR_DSCO: ''
GRASS_VECTOR_LCO: ''
arc_column: 'cost'
arc_backward_column: 'costback'
center_cats: '1-100000'
method : 1
input:
name: network.shp
type: vector
points:
name: network_points.shp
type: vector
threshold: 50.0
where: ''
results:
output:
name: expected/v_net_alloc_to_centers.shp
type: vector

- algorithm: grass7:v.net.alloc
name: v.net.alloc from centers (default)
params:
-g: false
GRASS_MIN_AREA_PARAMETER: 0.0001
GRASS_OUTPUT_TYPE_PARAMETER: 0
GRASS_SNAP_TOLERANCE_PARAMETER: -1.0
GRASS_VECTOR_EXPORT_NOCAT : false
GRASS_VECTOR_DSCO: ''
GRASS_VECTOR_LCO: ''
arc_column: 'cost'
arc_backward_column: 'costback'
center_cats: '1-100000'
input:
name: network.shp
type: vector
points:
name: network_points.shp
type: vector
threshold: 50.0
where: ''
results:
output:
name: expected/v_net_alloc_from_centers.shp
type: vector

- algorithm: grass7:v.net.allpairs
name: v.net.allpairs
params:
Expand Down

0 comments on commit 82b2f27

Please sign in to comment.