+ | 4 | 0,0.0005
+
+
+ Scenario: addr:street on interpolation way
+ Given the scene parallel-road
+ And the place nodes
+ | osm_id | class | type | housenumber | geometry
+ | 1 | place | house | 2 | :n-middle-w
+ | 2 | place | house | 6 | :n-middle-e
+ | 3 | place | house | 12 | :n-middle-w
+ | 4 | place | house | 16 | :n-middle-e
+ And the place ways
+ | osm_id | class | type | housenumber | street | geometry
+ | 10 | place | houses | even | | :w-middle
+ | 11 | place | houses | even | Cloud Street | :w-middle
+ And the place ways
+ | osm_id | class | type | name | geometry
+ | 2 | highway | tertiary | 'name' : 'Sun Way' | :w-north
+ | 3 | highway | tertiary | 'name' : 'Cloud Street' | :w-south
+ And the ways
+ | id | nodes
+ | 10 | 1,100,101,102,2
+ | 11 | 3,200,201,202,4
+ When importing
+ Then table placex contains
+ | object | parent_place_id
+ | N1 | W2
+ | N2 | W2
+ | N3 | W3
+ | N4 | W3
+ | W10 | W2
+ | W11 | W3
+ And way 10 expands exactly to housenumbers 4
+ And way 11 expands exactly to housenumbers 14
+
+ Scenario: addr:street on housenumber way
+ Given the scene parallel-road
+ And the place nodes
+ | osm_id | class | type | housenumber | street | geometry
+ | 1 | place | house | 2 | | :n-middle-w
+ | 2 | place | house | 6 | | :n-middle-e
+ | 3 | place | house | 12 | Cloud Street | :n-middle-w
+ | 4 | place | house | 16 | Cloud Street | :n-middle-e
+ And the place ways
+ | osm_id | class | type | housenumber | geometry
+ | 10 | place | houses | even | :w-middle
+ | 11 | place | houses | even | :w-middle
+ And the place ways
+ | osm_id | class | type | name | geometry
+ | 2 | highway | tertiary | 'name' : 'Sun Way' | :w-north
+ | 3 | highway | tertiary | 'name' : 'Cloud Street' | :w-south
+ And the ways
+ | id | nodes
+ | 10 | 1,100,101,102,2
+ | 11 | 3,200,201,202,4
+ When importing
+ Then table placex contains
+ | object | parent_place_id
+ | N1 | W2
+ | N2 | W2
+ | N3 | W3
+ | N4 | W3
+ | W10 | W2
+ | W11 | W3
+ And way 10 expands exactly to housenumbers 4
+ And way 11 expands exactly to housenumbers 14