2 Feature: Searching of house numbers
3 Test for specialised treeatment of housenumbers
12 Scenario: A simple numeral housenumber is found
14 | osm | class | type | housenr | geometry |
15 | N1 | building | yes | 45 | 9 |
17 | osm | class | type | name | geometry |
18 | W10 | highway | path | North Road | 1,2,3 |
20 And sending search query "45, North Road"
24 When sending search query "North Road 45"
30 Scenario Outline: Each housenumber in a list is found
32 | osm | class | type | housenr | geometry |
33 | N1 | building | yes | <hnrs> | 9 |
35 | osm | class | type | name | geometry |
36 | W10 | highway | path | Multistr | 1,2,3 |
38 When sending search query "2 Multistr"
42 When sending search query "4 Multistr"
46 When sending search query "12 Multistr"
58 Scenario: A name mapped as a housenumber is found
60 | osm | class | type | housenr | geometry |
61 | N1 | building | yes | Warring | 9 |
63 | osm | class | type | name | geometry |
64 | W10 | highway | path | Chester St | 1,2,3 |
66 When sending search query "Chester St Warring"
72 Scenario: Interpolations are found according to their type
78 | osm | class | type | name | geometry |
79 | W100 | highway | residential | Ringstr | 100, 101 |
81 | osm | class | type | addr+interpolation | geometry |
82 | W10 | place | houses | even | 10, 11 |
83 | W20 | place | houses | odd | 20, 21 |
85 | osm | class | type | housenr | geometry |
86 | N10 | place | house | 10 | 10 |
87 | N11 | place | house | 20 | 11 |
88 | N20 | place | house | 11 | 20 |
89 | N21 | place | house | 21 | 21 |
95 When sending search query "Ringstr 12"
99 When sending search query "Ringstr 13"