1 Feature: Tiger geocoding
2 Testing the forward and reverse Geocoding functions with tiger lines
6 Scenario: TIGER house number in Bismarck ND
7 Given the request parameters
10 When looking up coordinates 46.806715,-100.765655
11 And exactly 1 result is returned
12 And result addresses contain
13 | ID | house_number | road | postcode | country_code
14 | 0 | 1746 | East Broadway Avenue | 58501 | us
15 And result 0 has not attributes osm_id,osm_type
18 Scenario: No TIGER house number for zoom < 18
19 Given the request parameters
20 | addressdetails | zoom
22 When looking up coordinates 46.806715,-100.765655
23 And exactly 1 result is returned
24 And result addresses contain
25 | ID | road | postcode | country_code
26 | 0 | East Broadway Avenue | 58501 | us
27 And result 0 has attributes osm_id,osm_type
30 Scenario: TIGER house number
31 When sending json search query "2501 Harding Avenue, Bismarck"
32 Then result 0 has not attributes osm_id,osm_type
35 Scenario: TIGER house number (road fallback)
36 When sending json search query "1 Harding Avenue, Bismarck"
37 Then result 0 has attributes osm_id,osm_type
40 Scenario: TIGER accepted-language
41 Given the request parameters
42 | addressdetails | accept-language
44 When looking up coordinates 46.806715,-100.765655
45 And exactly 1 result is returned
46 And result addresses contain
47 | ID | house_number | road | postcode | country |country_code
48 | 0 | 1746 | East Broadway Avenue | 58501 | Vereinigte Staaten von Amerika | us
49 And result 0 has not attributes osm_id,osm_type