1 Feature: Import of interpolations
2 Test if interpolation objects are correctly imported into the
3 place_interpolation table
10 Scenario: Simple address interpolations
15 w13001 Taddr:interpolation=odd,addr:street=Blumenstrasse Nn1,n2
16 w13002 Taddr:interpolation=even,place=city Nn1,n2
17 w13003 Taddr:interpolation=odd Nn1,n1
19 Then place contains exactly
20 | object | class | type |
21 | W13002 | place | city |
22 And place_interpolation contains exactly
23 | osm_id | type | address!dict | nodes!ints | geometry!wkt |
24 | 13001 | odd | "street": "Blumenstrasse" | 1,2 | 1,2 |
25 | 13002 | even | - | 1,2 | 1,2 |
27 Scenario: Address interpolation with housenumber
34 w34 Taddr:interpolation=all,addr:housenumber=2-4,building=yes Nn1,n2,n3,n4,n1
35 w35 Taddr:interpolation=all,addr:housenumber=5,building=yes Nn1,n2,n3,n4,n1
36 w36 Taddr:interpolation=all,addr:housenumber=2a-c Nn1,n2,n3,n4,n1
38 Then place contains exactly
39 | object | class | type | address!dict |
40 | W35 | building | yes | "housenumber": "5", "interpolation": "all" |
41 | W34 | building | yes | "housenumber": "2-4", "interpolation": "all" |
42 | W36 | place | house | "housenumber": "2a-c", "interpolation": "all" |