+ | W1 | highway | residential | north | 10,11 |
+ | W2 | highway | residential | south | 20,21 |
+ When importing
+ Then placex contains
+ | object | parent_place_id |
+ | N1 | W2 |
+ | N2 | W1 |
+ | N3 | W2 |
+ | N4 | W1 |
+
+ @fail-legacy
+ Scenario: addr:street tag parents to appropriately named street, locale names
+ Given the grid
+ | 10 | | | | | 11 |
+ | | 1 | 2 | | | |
+ | | | | 3 | 4 | |
+ | 20 | | | | | 21 |
+ And the places
+ | osm | class | type | street| addr+street:de |
+ | N1 | place | house | south | Süd |
+ | N2 | place | house | north | Nord |
+ | N3 | place | house | south | Süd |
+ | N4 | place | house | north | Nord |
+ And the places
+ | osm | class | type | name | geometry |
+ | W1 | highway | residential | Nord | 10,11 |
+ | W2 | highway | residential | Süd | 20,21 |
+ When importing
+ Then placex contains
+ | object | parent_place_id |
+ | N1 | W2 |
+ | N2 | W1 |
+ | N3 | W2 |
+ | N4 | W1 |
+
+ Scenario: addr:street tag parents to appropriately named street with abbreviation
+ Given the grid
+ | 10 | | | | | 11 |
+ | | 1 | 2 | | | |
+ | | | | 3 | 4 | |
+ | 20 | | | | | 21 |
+ And the places
+ | osm | class | type | street |
+ | N1 | place | house | south st |
+ | N2 | place | house | north st |
+ | N3 | place | house | south st |
+ | N4 | place | house | north st |
+ And the places
+ | osm | class | type | name+name:en | geometry |
+ | W1 | highway | residential | north street | 10,11 |
+ | W2 | highway | residential | south street | 20,21 |