Then the result is valid json
When sending geojson reverse coordinates <lat>,<lon>
Then the result is valid geojson
- When sending html reverse coordinates <lat>,<lon>
- Then the result is valid html
Examples:
| lat | lon |
| param | value |
| <parameter> | <value> |
Then the result is valid xml
- When sending html reverse coordinates 53.603,10.041
- | param | value |
- | <parameter> | <value> |
- Then the result is valid html
When sending xml reverse coordinates 53.603,10.041
| param | value |
| <parameter> | <value> |
Examples:
| parameter | value |
- | polygon | 1 |
- | polygon | 0 |
| polygon_text | 1 |
| polygon_text | 0 |
| polygon_kml | 1 |
| geojson | geojson |
Scenario Outline: Boundingbox is returned
- When sending <format> reverse coordinates 14.62,108.1
+ When sending <format> reverse coordinates 47.11,9.57
| zoom |
| 8 |
- Then result has bounding box in 9,20,102,113
+ Then result has bounding box in 47,48,9,10
Examples:
| format |
| xml |
Scenario Outline: Reverse-geocoding with zoom
- When sending <format> reverse coordinates 53.603,10.041
+ When sending <format> reverse coordinates 47.11,9.57
| zoom |
| 10 |
Then exactly 1 result is returned
| json |
| jsonv2 |
| geojson |
- | html |
| xml |
Scenario: Missing lon parameter
| 48.966 | 8.448.2 |
| Nan | 8.448 |
| 48.966 | Nan |
+
+ Scenario: Reverse Debug output returns no errors
+ When sending debug reverse coordinates 47.11,9.57
+ Then a HTTP 200 is returned