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"
31 Scenario Outline: Numeral housenumbers in any script are found
33 | osm | class | type | housenr | geometry |
34 | N1 | building | yes | <number> | 9 |
36 | osm | class | type | name | geometry |
37 | W10 | highway | path | North Road | 1,2,3 |
39 And sending search query "45, North Road"
43 When sending search query "North Road ④⑤"
47 When sending search query "North Road 𑁪𑁫"
59 Scenario Outline: Each housenumber in a list is found
61 | osm | class | type | housenr | geometry |
62 | N1 | building | yes | <hnrs> | 9 |
64 | osm | class | type | name | geometry |
65 | W10 | highway | path | Multistr | 1,2,3 |
67 When sending search query "2 Multistr"
71 When sending search query "4 Multistr"
75 When sending search query "12 Multistr"
88 Scenario Outline: Housenumber - letter combinations are found
90 | osm | class | type | housenr | geometry |
91 | N1 | building | yes | <hnr> | 9 |
93 | osm | class | type | name | geometry |
94 | W10 | highway | path | Multistr | 1,2,3 |
96 When sending search query "2A Multistr"
100 When sending search query "2 a Multistr"
104 When sending search query "2-A Multistr"
108 When sending search query "Multistr 2 A"
121 Scenario Outline: Number - Number combinations as a housenumber are found
123 | osm | class | type | housenr | geometry |
124 | N1 | building | yes | <hnr> | 9 |
126 | osm | class | type | name | geometry |
127 | W10 | highway | path | Chester St | 1,2,3 |
129 When sending search query "34-10 Chester St"
133 When sending search query "34/10 Chester St"
137 When sending search query "34 10 Chester St"
141 When sending search query "3410 Chester St"
154 Scenario Outline: a bis housenumber is found
156 | osm | class | type | housenr | geometry |
157 | N1 | building | yes | <hnr> | 9 |
159 | osm | class | type | name | geometry |
160 | W10 | highway | path | Rue Paris | 1,2,3 |
162 When sending search query "Rue Paris 45bis"
166 When sending search query "Rue Paris 45 BIS"
170 When sending search query "Rue Paris 45BIS"
174 When sending search query "Rue Paris 45 bis"
188 Scenario Outline: a ter housenumber is found
190 | osm | class | type | housenr | geometry |
191 | N1 | building | yes | <hnr> | 9 |
193 | osm | class | type | name | geometry |
194 | W10 | highway | path | Rue du Berger | 1,2,3 |
196 When sending search query "Rue du Berger 45ter"
200 When sending search query "Rue du Berger 45 TER"
204 When sending search query "Rue du Berger 45TER"
208 When sending search query "Rue du Berger 45 ter"
222 Scenario Outline: a number - letter - number combination housenumber is found
224 | osm | class | type | housenr | geometry |
225 | N1 | building | yes | <hnr> | 9 |
227 | osm | class | type | name | geometry |
228 | W10 | highway | path | Herengracht | 1,2,3 |
230 When sending search query "501-H 1 Herengracht"
234 When sending search query "501H-1 Herengracht"
238 When sending search query "501H1 Herengracht"
242 When sending search query "501-H1 Herengracht"
256 Scenario Outline: Russian housenumbers are found
258 | osm | class | type | housenr | geometry |
259 | N1 | building | yes | <hnr> | 9 |
261 | osm | class | type | name | geometry |
262 | W10 | highway | path | Голубинская улица | 1,2,3 |
264 When sending search query "Голубинская улица 55к3"
268 When sending search query "Голубинская улица 55 k3"
272 When sending search query "Голубинская улица 55 к-3"
283 Scenario: A name mapped as a housenumber is found
285 | osm | class | type | housenr | geometry |
286 | N1 | building | yes | Warring | 9 |
288 | osm | class | type | name | geometry |
289 | W10 | highway | path | Chester St | 1,2,3 |
291 When sending search query "Chester St Warring"
297 Scenario: Interpolations are found according to their type
303 | osm | class | type | name | geometry |
304 | W100 | highway | residential | Ringstr | 100, 101 |
306 | osm | class | type | addr+interpolation | geometry |
307 | W10 | place | houses | even | 10, 11 |
308 | W20 | place | houses | odd | 20, 21 |
310 | osm | class | type | housenr | geometry |
311 | N10 | place | house | 10 | 10 |
312 | N11 | place | house | 20 | 11 |
313 | N20 | place | house | 11 | 20 |
314 | N21 | place | house | 21 | 21 |
320 When sending search query "Ringstr 12"
324 When sending search query "Ringstr 13"