1 Feature: Update of simple objects
 
   2     Testing simple updating functionality
 
   4     Scenario: Do delete small boundary features
 
   9           | osm | class    | type           | admin | geometry |
 
  10           | R1  | boundary | administrative | 3     | (1,2,3,4,1) |
 
  13           | object | rank_search |
 
  15         When marking for delete R1
 
  16         Then placex has no entry for R1
 
  18     Scenario: Do not delete large boundary features
 
  23           | osm | class    | type           | admin | geometry |
 
  24           | R1  | boundary | administrative | 3     | (1,2,3,4,1) |
 
  27           | object | rank_search |
 
  29         When marking for delete R1
 
  31           | object | rank_search |
 
  34     Scenario: Do delete large features of low rank
 
  38         Given the named places
 
  39           | osm | class    | type        | geometry |
 
  40           | W1  | place    | house       | (1,2,3,4,1) |
 
  41           | R1  | natural  | wood        | (1,2,3,4,1) |
 
  42           | R2  | highway  | residential | (1,2,3,4,1) |
 
  45           | object | rank_address |
 
  49         When marking for delete R1
 
  50         And marking for delete R2
 
  51         And marking for delete W1
 
  52         Then placex has no entry for W1
 
  53         Then placex has no entry for R1
 
  54         Then placex has no entry for R2
 
  56     Scenario: type mutation
 
  58           | osm | class | type | geometry |
 
  59           | N3  | shop  | toys | 1 -1 |
 
  62           | object | class | type | centroid!wkt |
 
  63           | N3     | shop  | toys | 1 -1 |
 
  65           | osm | class | type    | geometry |
 
  66           | N3  | shop  | grocery | 1 -1 |
 
  68           | object | class | type    | centroid!wkt |
 
  69           | N3     | shop  | grocery | 1 -1 |
 
  71     Scenario: remove postcode place when house number is added
 
  73           | osm | class | type     | postcode | geometry |
 
  74           | N3  | place | postcode | 12345    | country:de |
 
  76         Then placex has no entry for N3
 
  78           | osm | class | type  | postcode | housenr | geometry |
 
  79           | N3  | place | house | 12345    | 13      | country:de |
 
  81           | object | class | type |
 
  82           | N3     | place | house |
 
  84     Scenario: remove boundary when changing from polygon to way
 
  89           | osm | class    | type           | name | admin | geometry        |
 
  90           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
  96           | osm | class    | type           | name | admin | geometry   |
 
  97           | W1  | boundary | administrative | Haha | 5     | 1, 2, 4, 3 |
 
  98         Then placex has no entry for W1
 
 101      Scenario: update rank when boundary is downgraded from admin to historic
 
 106           | osm | class    | type           | name | admin | geometry        |
 
 107           | W1  | boundary | administrative | Haha | 5     | (1, 2, 4, 3, 1) |
 
 110           | object | rank_address |
 
 113           | osm | class    | type           | name | admin | geometry        |
 
 114           | W1  | boundary | historic       | Haha | 5     | (1, 2, 4, 3, 1) |
 
 116           | object | rank_address |