Then the result is valid json
When sending jsonv2 reverse coordinates <lat>,<lon>
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
| param | value |
| <parameter> | <value> |
Then the result is valid json
+ When sending geojson reverse coordinates 53.603,10.041
+ | param | value |
+ | <parameter> | <value> |
+ Then the result is valid geojson
+ When sending geocodejson reverse coordinates 53.603,10.041
+ | param | value |
+ | <parameter> | <value> |
+ Then the result is valid geocodejson
Examples:
| parameter | value |
When sending <format> reverse coordinates 67.3245,0.456
| json_callback |
| foo |
- Then the result is valid json
+ Then the result is valid <outformat>
Examples:
- | format |
- | json |
- | jsonv2 |
+ | format | outformat |
+ | json | json |
+ | jsonv2 | json |
+ | geojson | geojson |
- Scenario Outline: Reverse-geocoding without address
- When sending <format> reverse coordinates 53.603,10.041
- | addressdetails |
- | 0 |
- Then exactly 1 result is returned
+ Scenario Outline: Boundingbox is returned
+ When sending <format> reverse coordinates 14.62,108.1
+ | zoom |
+ | 8 |
+ Then result has bounding box in 9,20,102,113
Examples:
| format |
| json |
| jsonv2 |
- | html |
+ | geojson |
| xml |
Scenario Outline: Reverse-geocoding with zoom
| format |
| json |
| jsonv2 |
+ | geojson |
| html |
| xml |