2 Feature: Update of simple objects
3 Testing simple updating functionality
5 Scenario: Do delete small boundary features
7 | osm | class | type | admin | geometry |
8 | R1 | boundary | administrative | 3 | poly-area:1.0 |
11 | object | rank_search |
13 When marking for delete R1
14 Then placex has no entry for R1
16 Scenario: Do not delete large boundary features
18 | osm | class | type | admin | geometry |
19 | R1 | boundary | administrative | 3 | poly-area:5.0 |
22 | object | rank_search |
24 When marking for delete R1
26 | object | rank_search |
29 Scenario: Do delete large features of low rank
30 Given the named places
31 | osm | class | type | geometry |
32 | W1 | place | house | poly-area:5.0 |
33 | R1 | boundary | national_park | poly-area:5.0 |
36 | object | rank_address |
39 When marking for delete R1,W1
40 Then placex has no entry for W1
41 Then placex has no entry for R1
43 Scenario: type mutation
45 | osm | class | type | geometry |
46 | N3 | shop | toys | 1 -1 |
49 | object | class | type | centroid |
50 | N3 | shop | toys | 1 -1 |
52 | osm | class | type | geometry |
53 | N3 | shop | grocery | 1 -1 |
55 | object | class | type | centroid |
56 | N3 | shop | grocery | 1 -1 |
58 Scenario: remove postcode place when house number is added
60 | osm | class | type | postcode | geometry |
61 | N3 | place | postcode | 12345 | 1 -1 |
64 | object | class | type |
65 | N3 | place | postcode |
67 | osm | class | type | postcode | housenr | geometry |
68 | N3 | place | house | 12345 | 13 | 1 -1 |
70 | object | class | type |
71 | N3 | place | house |
73 Scenario: remove boundary when changing from polygon to way
78 | osm | class | type | name | admin | geometry |
79 | W1 | boundary | administrative | Haha | 5 | (1, 2, 4, 3, 1) |
85 | osm | class | type | name | admin | geometry |
86 | W1 | boundary | administrative | Haha | 5 | 1, 2, 4, 3 |
87 Then placex has no entry for W1