2 Feature: Reverse geocoding
 
   3     Testing the reverse function
 
   5     Scenario Outline: Simple reverse-geocoding with no results
 
   6         When sending v1/reverse at <lat>,<lon>
 
   7         Then exactly 0 results are returned
 
  22     Scenario: TIGER house number
 
  23         When sending v1/reverse at 32.4752389363,-86.4810198619
 
  27         And result addresses contain
 
  28           | house_number | road                | postcode | country_code |
 
  29           | 707          | Upper Kingston Road | 36067    | us |
 
  32     Scenario: No TIGER house number for zoom < 18
 
  33         When sending v1/reverse at 32.4752389363,-86.4810198619
 
  37           | osm_type | category |
 
  39         And result addresses contain
 
  40           | road                | postcode | country_code |
 
  41           | Upper Kingston Road | 30607    | us |
 
  43     Scenario: Interpolated house number
 
  44         When sending v1/reverse at 47.118533,9.57056562
 
  46           | osm_type | category | type |
 
  47           | way      | place    | house |
 
  48         And result addresses contain
 
  49           | house_number | road |
 
  52     Scenario: Address with non-numerical house number
 
  53         When sending v1/reverse at 47.107465,9.52838521614
 
  54         Then result addresses contain
 
  55           | house_number | road |
 
  56           | 39A/B        | Dorfstrasse |
 
  59     Scenario: Address with numerical house number
 
  60         When sending v1/reverse at 47.168440329479594,9.511551699184338
 
  61         Then result addresses contain
 
  62           | house_number | road |
 
  65     Scenario Outline: Zoom levels below 5 result in country
 
  66         When sending v1/reverse at 47.16,9.51
 
  81     Scenario: When on a street, the closest interpolation is shown
 
  82         When sending v1/reverse at 47.118457166193245,9.570678289621355
 
  87          | 1021, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
 
  90     Scenario: Interpolations do not override house numbers when they are closer
 
  91         When sending v1/reverse at 47.11778,9.57255
 
  96          | 5, Grosssteg, Steg, Triesenberg, Oberland, 9497, Liechtenstein |
 
  98     Scenario: Interpolations do not override house numbers when they are closer (2)
 
  99         When sending v1/reverse at 47.11834,9.57167
 
 104          | 3, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
 
 106     Scenario: When on a street with zoom 18, the closest housenumber is returned
 
 107         When sending v1/reverse at 47.11755503977281,9.572722250405036
 
 110         Then result addresses contain