1 Feature: Searches in the UK
2 Test addressing particularities in the UK.
4 Scenario: A terrace address tagged with addr:place with a parent street is found
5 Given the grid with origin GB
11 | osm | class | type | name | geometry |
12 | W1 | highway | residential | Garden Way | 1,2 |
13 | W10 | place | suburb | Lille | (10,11,12,13,10) |
15 | osm | class | type | housenr | street | geometry |
16 | N8 | place | house | 5 | Garden Way | 8 |
18 | osm | class | type | housenr | addr+place | addr+parentstreet | geometry |
19 | N9 | place | house | 5 | Bow Terrace | Garden Way | 9 |
22 | object | parent_place_id |
25 When geocoding "5 Garden Way, Lille"
26 Then all results contain
27 | object | display_name!fm |
28 | N8 | 5, Garden Way, Lille,.* |
29 When geocoding "5 Bow Terrace, Garden Way"
30 Then all results contain
31 | object | display_name!fm |
32 | N9 | 5, Bow Terrace, Garden Way, Lille,.* |
34 Scenario: A landuse address tagged with addr:place with a parent street is found
35 Given the grid with origin GB
41 | osm | class | type | name | geometry |
42 | W1 | highway | residential | Garden Way | 1,2 |
43 | W9 | landuse | industrial | IArea | (10,11,12,13,10) |
44 | W10 | place | suburb | Lille | (10,11,12,13,10) |
46 | osm | class | type | housenr | street | geometry |
47 | N8 | place | house | 5 | Garden Way | 8 |
49 | osm | class | type | housenr | addr+place | addr+parentstreet | geometry |
50 | N9 | place | house | 5 | IArea | Garden Way | 9 |
53 | object | parent_place_id |
56 When geocoding "5 Garden Way, Lille"
57 Then all results contain
58 | object | display_name!fm |
59 | N8 | 5, Garden Way, IArea, Lille,.* |
60 When geocoding "5 IArea, Garden Way"
61 Then all results contain
62 | object | display_name!fm |
63 | N9 | 5, IArea, Garden Way, Lille,.* |
65 Scenario: A dependent street address is found
66 Given the grid with origin GB
74 | osm | class | type | name | geometry |
75 | W1 | highway | residential | Garden Way | 1,4,2 |
76 | W2 | highway | residential | Short Road | 4,5 |
77 | W10 | place | suburb | Lille | (10,11,12,13,10) |
79 | osm | class | type | housenr | street | geometry |
80 | N8 | place | house | 5 | Garden Way | 8 |
82 | osm | class | type | housenr | addr+street | addr+parentstreet | geometry |
83 | N9 | place | house | 5 | Short Road | Garden Way | 9 |
86 | object | parent_place_id |
89 When geocoding "5 Garden Way, Lille"
90 Then all results contain
91 | object | display_name!fm |
92 | N8 | 5, Garden Way, Lille,.* |
93 When geocoding "5 Short Road, Garden Way"
94 Then all results contain
95 | object | display_name!fm |
96 | N9 | 5, Short Road, Garden Way, Lille,.* |