2 Feature: Update of simple objects by osm2pgsql
3 Testing basic update functions of osm2pgsql.
5 Scenario: Import object with two main tags
8 n1 Ttourism=hotel,amenity=restaurant,name=foo
9 n2 Tplace=locality,name=spotty
12 | object | type | name+name |
13 | N1:tourism | hotel | foo |
14 | N1:amenity | restaurant | foo |
15 | N2:place | locality | spotty |
16 When updating osm data
18 n1 dV Ttourism=hotel,name=foo
21 Then place has no entry for N1:amenity
22 And place has no entry for N2
24 | object | class | type | name |
25 | N1:tourism | tourism | hotel | 'name' : 'foo' |