3 Feature: Reverse geocoding
 
   4     Testing the reverse function
 
   6     Scenario Outline: Simple reverse-geocoding with no results
 
   7         When sending v1/reverse at <lat>,<lon>
 
   8         Then exactly 0 results are returned
 
  23     Scenario: TIGER house number
 
  24         When sending v1/reverse at 32.4752389363,-86.4810198619
 
  28         And result addresses contain
 
  29           | house_number | road                | postcode | country_code |
 
  30           | 707          | Upper Kingston Road | 36067    | us |
 
  33     Scenario: No TIGER house number for zoom < 18
 
  34         When sending v1/reverse at 32.4752389363,-86.4810198619
 
  38           | osm_type | category |
 
  40         And result addresses contain
 
  41           | road                | postcode | country_code |
 
  42           | Upper Kingston Road | 30607    | us |
 
  44     Scenario: Interpolated house number
 
  45         When sending v1/reverse at 47.118533,9.57056562
 
  47           | osm_type | category | type |
 
  48           | way      | place    | house |
 
  49         And result addresses contain
 
  50           | house_number | road |
 
  53     Scenario: Address with non-numerical house number
 
  54         When sending v1/reverse at 47.107465,9.52838521614
 
  55         Then result addresses contain
 
  56           | house_number | road |
 
  57           | 39A/B        | Dorfstrasse |
 
  60     Scenario: Address with numerical house number
 
  61         When sending v1/reverse at 47.168440329479594,9.511551699184338
 
  62         Then result addresses contain
 
  63           | house_number | road |
 
  66     Scenario Outline: Zoom levels below 5 result in country
 
  67         When sending v1/reverse at 47.16,9.51
 
  82     Scenario: When on a street, the closest interpolation is shown
 
  83         When sending v1/reverse at 47.118457166193245,9.570678289621355
 
  88          | 1021, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
 
  91     Scenario: Interpolations do not override house numbers when they are closer
 
  92         When sending v1/reverse at 47.11778,9.57255
 
  97          | 5, Grosssteg, Steg, Triesenberg, Oberland, 9497, Liechtenstein |
 
  99     Scenario: Interpolations do not override house numbers when they are closer (2)
 
 100         When sending v1/reverse at 47.11834,9.57167
 
 105          | 3, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
 
 107     Scenario: When on a street with zoom 18, the closest housenumber is returned
 
 108         When sending v1/reverse at 47.11755503977281,9.572722250405036
 
 111         Then result addresses contain