2 Feature: Import of simple objects by osm2pgsql
 
   3     Testing basic tagging in osm2pgsql imports.
 
   5     Scenario: Import simple objects
 
   8           n1 Tamenity=prison,name=foo x34.3 y-23
 
  16           w1 Tshop=toys,name=tata Nn100,n101,n102
 
  17           w2 Tref=45 Nn200,n201,n202,n203,n200
 
  18           r1 Ttype=multipolygon,tourism=hotel,name=XZ Mn1@,w2@
 
  20         Then place contains exactly
 
  21           | object | class   | type   | name            | geometry |
 
  22           | N1     | amenity | prison | 'name' : 'foo'  | 34.3 -23 |
 
  23           | W1     | shop    | toys   | 'name' : 'tata' | 0 0, 0 0.1, 0.1 0.2 |
 
  24           | R1     | tourism | hotel  | 'name' : 'XZ'   | (0 0, 0 1, 1 1, 1 0, 0 0) |
 
  26     Scenario: Import object with two main tags
 
  29           n1 Ttourism=hotel,amenity=restaurant,name=foo
 
  32           | object     | type       | name |
 
  33           | N1:tourism | hotel      | 'name' : 'foo' |
 
  34           | N1:amenity | restaurant | 'name' : 'foo' |
 
  36     Scenario: Import stand-alone house number with postcode
 
  39           n1 Taddr:housenumber=4,addr:postcode=3345
 
  42           | object | class | type |
 
  43           | N1     | place | house |