2 Feature: Searching of house numbers
3 Test for specialised treeatment of housenumbers
12 Scenario: A simple ascii digit 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: Numeral housenumbers in any script are found
32 | osm | class | type | housenr | geometry |
33 | N1 | building | yes | <number> | 9 |
35 | osm | class | type | name | geometry |
36 | W10 | highway | path | North Road | 1,2,3 |
38 And sending search query "45, North Road"
42 When sending search query "North Road ④⑤"
46 When sending search query "North Road 𑁪𑁫"
58 Scenario Outline: Each housenumber in a list is found
60 | osm | class | type | housenr | geometry |
61 | N1 | building | yes | <hnrs> | 9 |
63 | osm | class | type | name | geometry |
64 | W10 | highway | path | Multistr | 1,2,3 |
66 When sending search query "2 Multistr"
70 When sending search query "4 Multistr"
74 When sending search query "12 Multistr"
86 Scenario Outline: Housenumber - letter combinations are found
88 | osm | class | type | housenr | geometry |
89 | N1 | building | yes | <hnr> | 9 |
91 | osm | class | type | name | geometry |
92 | W10 | highway | path | Multistr | 1,2,3 |
94 When sending search query "2A Multistr"
98 When sending search query "2 a Multistr"
102 When sending search query "2-A Multistr"
106 When sending search query "Multistr 2 A"
119 Scenario Outline: Number - Number combinations as a housenumber are found
121 | osm | class | type | housenr | geometry |
122 | N1 | building | yes | <hnr> | 9 |
124 | osm | class | type | name | geometry |
125 | W10 | highway | path | Chester St | 1,2,3 |
127 When sending search query "34-10 Chester St"
131 When sending search query "34/10 Chester St"
135 When sending search query "34 10 Chester St"
139 When sending search query "3410 Chester St"
151 Scenario Outline: a bis housenumber is found
153 | osm | class | type | housenr | geometry |
154 | N1 | building | yes | <hnr> | 9 |
156 | osm | class | type | name | geometry |
157 | W10 | highway | path | Rue Paris | 1,2,3 |
159 When sending search query "Rue Paris 45bis"
163 When sending search query "Rue Paris 45 BIS"
167 When sending search query "Rue Paris 45BIS"
171 When sending search query "Rue Paris 45 bis"
184 Scenario Outline: a ter housenumber is found
186 | osm | class | type | housenr | geometry |
187 | N1 | building | yes | <hnr> | 9 |
189 | osm | class | type | name | geometry |
190 | W10 | highway | path | Rue du Berger | 1,2,3 |
192 When sending search query "Rue du Berger 45ter"
196 When sending search query "Rue du Berger 45 TER"
200 When sending search query "Rue du Berger 45TER"
204 When sending search query "Rue du Berger 45 ter"
217 Scenario Outline: a number - letter - number combination housenumber is found
219 | osm | class | type | housenr | geometry |
220 | N1 | building | yes | <hnr> | 9 |
222 | osm | class | type | name | geometry |
223 | W10 | highway | path | Herengracht | 1,2,3 |
225 When sending search query "501-H 1 Herengracht"
229 When sending search query "501H-1 Herengracht"
233 When sending search query "501H1 Herengracht"
237 When sending search query "501-H1 Herengracht"
250 Scenario Outline: Russian housenumbers are found
252 | osm | class | type | housenr | geometry |
253 | N1 | building | yes | <hnr> | 9 |
255 | osm | class | type | name | geometry |
256 | W10 | highway | path | Голубинская улица | 1,2,3 |
258 When sending search query "Голубинская улица 55к3"
262 When sending search query "Голубинская улица 55 k3"
266 When sending search query "Голубинская улица 55 к-3"
277 Scenario: A name mapped as a housenumber is found
279 | osm | class | type | housenr | geometry |
280 | N1 | building | yes | Warring | 9 |
282 | osm | class | type | name | geometry |
283 | W10 | highway | path | Chester St | 1,2,3 |
285 When sending search query "Chester St Warring"
291 Scenario: Interpolations are found according to their type
297 | osm | class | type | name | geometry |
298 | W100 | highway | residential | Ringstr | 100, 101 |
300 | osm | class | type | addr+interpolation | geometry |
301 | W10 | place | houses | even | 10, 11 |
302 | W20 | place | houses | odd | 20, 21 |
304 | osm | class | type | housenr | geometry |
305 | N10 | place | house | 10 | 10 |
306 | N11 | place | house | 20 | 11 |
307 | N20 | place | house | 11 | 20 |
308 | N21 | place | house | 21 | 21 |
314 When sending search query "Ringstr 12"
318 When sending search query "Ringstr 13"