2 Feature: Search queries
3 Generic search result correctness
5 Scenario: House number search for non-street address
6 When sending json search query "2 Steinwald, Austria" with address
9 Then address of result 0 is
12 | hamlet | Steinwald |
17 Scenario: House number interpolation even
18 When sending json search query "Schellingstr 86, Hamburg" with address
21 Then address of result 0 is
24 | road | Schellingstraße |
27 | city_district | Wandsbek |
29 | country | Deutschland |
32 Scenario: House number interpolation odd
33 When sending json search query "Schellingstr 73, Hamburg" with address
36 Then address of result 0 is
39 | road | Schellingstraße |
42 | city_district | Wandsbek |
44 | country | Deutschland |
48 Scenario: TIGER house number
49 When sending json search query "323 22nd Street Southwest, Huron"
54 Scenario: Search with class-type feature
55 When sending jsonv2 search query "Hotel in California"
60 Scenario: Search with specific amenity
61 When sending json search query "[restaurant] Vaduz" with address
62 Then result addresses contain
67 | amenity | restaurant |
69 Scenario: Search with key-value amenity
70 When sending json search query "[shop=hifi] hamburg"
75 Scenario: With multiple amenity search only the first is used
76 When sending json search query "[shop=hifi] [church] hamburg"
81 Scenario: With multiple amenity search only the first is used
82 When sending json search query "[church] [restaurant] hamburg"
85 | amenity | place_of_worship |
87 Scenario: POI search near given coordinate
88 When sending json search query "restaurant near 47.16712,9.51100"
91 | amenity | restaurant |
93 Scenario: Arbitrary key/value search near given coordinate
94 When sending json search query "[man_made=mast] 47.15739,9.61264"
99 # https://trac.openstreetmap.org/ticket/5094
100 Scenario: housenumbers are ordered by complete match first
101 When sending json search query "6395 geminis, montevideo" with address
102 Then result addresses contain
103 | ID | house_number |