2 Feature: Update of simple objects
 
   3     Testing simple updating functionality
 
   5     Scenario: Do delete small boundary features
 
  10           | osm | class    | type           | admin | geometry |
 
  11           | R1  | boundary | administrative | 3     | (1,2,3,4,1) |
 
  14           | object | rank_search |
 
  16         When marking for delete R1
 
  17         Then placex has no entry for R1
 
  19     Scenario: Do not delete large boundary features
 
  24           | osm | class    | type           | admin | geometry |
 
  25           | R1  | boundary | administrative | 3     | (1,2,3,4,1) |
 
  28           | object | rank_search |
 
  30         When marking for delete R1
 
  32           | object | rank_search |
 
  35     Scenario: Do delete large features of low rank
 
  39         Given the named places
 
  40           | osm | class    | type        | geometry |
 
  41           | W1  | place    | house       | (1,2,3,4,1) |
 
  42           | R1  | natural  | wood        | (1,2,3,4,1) |
 
  43           | R2  | highway  | residential | (1,2,3,4,1) |
 
  46           | object | rank_address |
 
  50         When marking for delete R1,R2,W1
 
  51         Then placex has no entry for W1
 
  52         Then placex has no entry for R1
 
  53         Then placex has no entry for R2
 
  55     Scenario: type mutation
 
  57           | osm | class | type | geometry |
 
  58           | N3  | shop  | toys | 1 -1 |
 
  61           | object | class | type | centroid |
 
  62           | N3     | shop  | toys | 1 -1 |
 
  64           | osm | class | type    | geometry |
 
  65           | N3  | shop  | grocery | 1 -1 |
 
  67           | object | class | type    | centroid |
 
  68           | N3     | shop  | grocery | 1 -1 |
 
  70     Scenario: remove postcode place when house number is added
 
  72           | osm | class | type     | postcode | geometry |
 
  73           | N3  | place | postcode | 12345    | country:de |
 
  75         Then placex has no entry for N3
 
  77           | osm | class | type  | postcode | housenr | geometry |
 
  78           | N3  | place | house | 12345    | 13      | country:de |
 
  80           | object | class | type |
 
  81           | N3     | place | house |
 
  83     Scenario: remove boundary when changing from polygon to way
 
  88           | osm | class    | type           | name | admin | geometry        |
 
  89           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
  95           | osm | class    | type           | name | admin | geometry   |
 
  96           | W1  | boundary | administrative | Haha | 5     | 1, 2, 4, 3 |
 
  97         Then placex has no entry for W1
 
 100      Scenario: update rank when boundary is downgraded from admin to historic
 
 105           | osm | class    | type           | name | admin | geometry        |
 
 106           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
 109           | object | rank_address |
 
 112           | osm | class    | type           | name | admin | geometry        |
 
 113           | W1  | boundary | historic       | Haha | 5     | (1, 2, 4, 3, 1) |
 
 115           | object | rank_address |