2 Feature: Update of simple objects
 
   5     Scenario: Remove name from a landuse object
 
   7           | osm_id | class   | type  | name
 
   8           | 1      | landuse | wood  | 'name' : 'Foo'
 
  10         Then table placex contains
 
  11           | object | class  | type    | name
 
  12           | N1     | landuse| wood    | 'name' : 'Foo'
 
  13         When updating place nodes
 
  14           | osm_id | class   | type 
 
  16         Then table placex has no entry for N1
 
  19     Scenario: Do delete small boundary features
 
  21           | osm_type | osm_id | class    | type           | admin_level | geometry
 
  22           | R        | 1      | boundary | administrative | 3           | (0 0, 1 0, 1 1, 0 1, 0 0)
 
  24         Then table placex contains
 
  25           | object | rank_search
 
  27         When marking for delete R1
 
  28         Then table placex has no entry for R1
 
  30     Scenario: Do not delete large boundary features
 
  32           | osm_type | osm_id | class    | type           | admin_level | geometry
 
  33           | R        | 1      | boundary | administrative | 3           | (0 0, 2 0, 2 2.1, 0 2, 0 0)
 
  35         Then table placex contains
 
  36           | object | rank_search
 
  38         When marking for delete R1
 
  39         Then table placex contains 
 
  40           | object | rank_search
 
  43     Scenario: Do delete large features of low rank
 
  44         Given the named place areas
 
  45           | osm_type | osm_id | class    | type          | geometry
 
  46           | W        | 1      | place    | house         | (0 0, 2 0, 2 2.1, 0 2, 0 0)
 
  47           | R        | 1      | boundary | national_park | (0 0, 2 0, 2 2.1, 0 2, 0 0)
 
  49         Then table placex contains
 
  50           | object | rank_address
 
  53         When marking for delete R1,W1
 
  54         Then table placex has no entry for W1
 
  55         Then table placex has no entry for R1