2 Feature: Parameters for Reverse API
 
   3     Testing different parameter options for reverse API.
 
   5     Scenario Outline: Reverse-geocoding without address
 
   6         When sending <format> reverse coordinates 47.13,9.56
 
   9         Then exactly 1 result is returned
 
  10         And result has not attributes address
 
  19     Scenario Outline: Coordinates must be floating-point numbers
 
  20         When sending reverse coordinates <coords>
 
  21         Then a HTTP 400 is returned
 
  28     Scenario Outline: Zoom levels between 4 and 18 are allowed
 
  29         When sending reverse coordinates 47.14122383,9.52169581334
 
  32         Then exactly 1 result is returned
 
  33         And result addresses contain
 
  55     Scenario: Non-numerical zoom levels return an error
 
  56         When sending reverse coordinates 47.14122383,9.52169581334
 
  59         Then a HTTP 400 is returned
 
  61     Scenario Outline: Reverse Geocoding with extratags
 
  62         When sending <format> reverse coordinates 47.1395013150811,9.522098077031046
 
  65         Then result 0 has attributes extratags
 
  74     Scenario Outline: Reverse Geocoding with namedetails
 
  75         When sending <format> reverse coordinates 47.1395013150811,9.522098077031046
 
  78         Then result 0 has attributes namedetails
 
  87     Scenario Outline: Reverse Geocoding contains TEXT geometry
 
  88         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
  91         Then result 0 has attributes <response_attribute>
 
  94         | format   | response_attribute |
 
  99     Scenario Outline: Reverse Geocoding contains SVG geometry
 
 100         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
 103         Then result 0 has attributes <response_attribute>
 
 106         | format   | response_attribute |
 
 111     Scenario Outline: Reverse Geocoding contains KML geometry
 
 112         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
 115         Then result 0 has attributes <response_attribute>
 
 118         | format   | response_attribute |
 
 123     Scenario Outline: Reverse Geocoding contains GEOJSON geometry
 
 124         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
 127         Then result 0 has attributes <response_attribute>
 
 130         | format   | response_attribute |
 
 134         | geojson  | geojson |
 
 136     Scenario Outline: Reverse Geocoding in geojson format contains no non-geojson geometry
 
 137         When sending geojson reverse coordinates 47.165989816710066,9.515774846076965
 
 138           | polygon_text | polygon_svg | polygon_geokml |
 
 140         Then result 0 has not attributes <response_attribute>
 
 143         | response_attribute |