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  | natural  | wood        | poly-area:5.0 |
 
  34           | R2  | highway  | residential | poly-area:5.0 |
 
  37           | object | rank_address |
 
  41         When marking for delete R1,R2,W1
 
  42         Then placex has no entry for W1
 
  43         Then placex has no entry for R1
 
  44         Then placex has no entry for R2
 
  46     Scenario: type mutation
 
  48           | osm | class | type | geometry |
 
  49           | N3  | shop  | toys | 1 -1 |
 
  52           | object | class | type | centroid |
 
  53           | N3     | shop  | toys | 1 -1 |
 
  55           | osm | class | type    | geometry |
 
  56           | N3  | shop  | grocery | 1 -1 |
 
  58           | object | class | type    | centroid |
 
  59           | N3     | shop  | grocery | 1 -1 |
 
  61     Scenario: remove postcode place when house number is added
 
  63           | osm | class | type     | postcode | geometry |
 
  64           | N3  | place | postcode | 12345    | 1 -1 |
 
  66         Then placex has no entry for N3
 
  68           | osm | class | type  | postcode | housenr | geometry |
 
  69           | N3  | place | house | 12345    | 13      | 1 -1 |
 
  71           | object | class | type |
 
  72           | N3     | place | house |
 
  74     Scenario: remove boundary when changing from polygon to way
 
  79           | osm | class    | type           | name | admin | geometry        |
 
  80           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
  86           | osm | class    | type           | name | admin | geometry   |
 
  87           | W1  | boundary | administrative | Haha | 5     | 1, 2, 4, 3 |
 
  88         Then placex has no entry for W1
 
  91      Scenario: update rank when boundary is downgraded from admin to historic
 
  96           | osm | class    | type           | name | admin | geometry        |
 
  97           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
 100           | object | rank_address |
 
 103           | osm | class    | type           | name | admin | geometry        |
 
 104           | W1  | boundary | historic       | Haha | 5     | (1, 2, 4, 3, 1) |
 
 106           | object | rank_address |