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 53.603,10.041
 
   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: Reverse Geocoding with extratags
 
  29         When sending <format> reverse coordinates 10.776234290950017,106.70425325632095
 
  32         Then result 0 has attributes extratags
 
  41     Scenario Outline: Reverse Geocoding with namedetails
 
  42         When sending <format> reverse coordinates 10.776455623137625,106.70175343751907
 
  45         Then result 0 has attributes namedetails
 
  54     Scenario Outline: Reverse Geocoding contains TEXT geometry
 
  55         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
  58         Then result 0 has attributes <response_attribute>
 
  61         | format   | response_attribute |
 
  66     Scenario Outline: Reverse Geocoding contains polygon-as-points geometry
 
  67         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
  70         Then result 0 has not attributes <response_attribute>
 
  73         | format   | response_attribute |
 
  74         | xml      | polygonpoints |
 
  75         | json     | polygonpoints |
 
  76         | jsonv2   | polygonpoints |
 
  78     Scenario Outline: Reverse Geocoding contains SVG geometry
 
  79         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
  82         Then result 0 has attributes <response_attribute>
 
  85         | format   | response_attribute |
 
  90     Scenario Outline: Reverse Geocoding contains KML geometry
 
  91         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
  94         Then result 0 has attributes <response_attribute>
 
  97         | format   | response_attribute |
 
 102     Scenario Outline: Reverse Geocoding contains GEOJSON geometry
 
 103         When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
 
 106         Then result 0 has attributes <response_attribute>
 
 109         | format   | response_attribute |
 
 113         | geojson  | geojson |
 
 115     Scenario Outline: Reverse Geocoding in geojson format contains no non-geojson geometry
 
 116         When sending geojson reverse coordinates 47.165989816710066,9.515774846076965
 
 117           | polygon_text | polygon | polygon_svg | polygon_geokml |
 
 119         Then result 0 has not attributes <response_attribute>
 
 122         | response_attribute |