Testing different parameter options for reverse API.
Scenario Outline: Reverse-geocoding without address
- When sending <format> reverse coordinates 53.603,10.041
+ When sending <format> reverse coordinates 47.13,9.56
| addressdetails |
| 0 |
Then exactly 1 result is returned
| gkjd,50 |
Scenario Outline: Reverse Geocoding with extratags
- When sending <format> reverse coordinates 10.776234290950017,106.70425325632095
+ When sending <format> reverse coordinates 47.1395013150811,9.522098077031046
| extratags |
| 1 |
Then result 0 has attributes extratags
| geojson |
Scenario Outline: Reverse Geocoding with namedetails
- When sending <format> reverse coordinates 10.776455623137625,106.70175343751907
+ When sending <format> reverse coordinates 47.1395013150811,9.522098077031046
| namedetails |
| 1 |
Then result 0 has attributes namedetails
| json | geotext |
| jsonv2 | geotext |
- Scenario Outline: Reverse Geocoding contains polygon-as-points geometry
- When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
- | polygon |
- | 1 |
- Then result 0 has not attributes <response_attribute>
-
- Examples:
- | format | response_attribute |
- | xml | polygonpoints |
- | json | polygonpoints |
- | jsonv2 | polygonpoints |
-
Scenario Outline: Reverse Geocoding contains SVG geometry
When sending <format> reverse coordinates 47.165989816710066,9.515774846076965
| polygon_svg |
Scenario Outline: Reverse Geocoding in geojson format contains no non-geojson geometry
When sending geojson reverse coordinates 47.165989816710066,9.515774846076965
- | polygon_text | polygon | polygon_svg | polygon_geokml |
- | 1 | 1 | 1 | 1 |
+ | polygon_text | polygon_svg | polygon_geokml |
+ | 1 | 1 | 1 |
Then result 0 has not attributes <response_attribute>
Examples:
| polygonpoints |
| svg |
| geokml |
-