Reverse geocode include geometry

This commit is contained in:
Marc Tobias Metten
2016-03-04 20:29:09 +01:00
parent d3ff9600b5
commit 991bd0004a
16 changed files with 699 additions and 160 deletions

View File

@@ -61,3 +61,75 @@ Feature: Reverse geocoding
| xml
| json
| jsonv2
Scenario Outline: Reverse Geocoding contains TEXT geometry
Given the request parameters
| polygon_text
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes <response_attribute>
Examples:
| format | response_attribute
| xml | geotext
| json | geotext
| jsonv2 | geotext
Scenario Outline: Reverse Geocoding contains polygon-as-points geometry
Given the request parameters
| polygon
| 1
When looking up <format> coordinates 48.86093,2.2978
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
Given the request parameters
| polygon_svg
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes <response_attribute>
Examples:
| format | response_attribute
| xml | geosvg
| json | svg
| jsonv2 | svg
Scenario Outline: Reverse Geocoding contains KML geometry
Given the request parameters
| polygon_kml
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes <response_attribute>
Examples:
| format | response_attribute
| xml | geokml
| json | geokml
| jsonv2 | geokml
Scenario Outline: Reverse Geocoding contains GEOJSON geometry
Given the request parameters
| polygon_geojson
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes <response_attribute>
Examples:
| format | response_attribute
| xml | geojson
| json | geojson
| jsonv2 | geojson