Reverse geocode include geometry - added bounding box tests

This commit is contained in:
Marc Tobias Metten
2016-03-09 19:43:03 +01:00
parent 991bd0004a
commit 71b3aa9cca
6 changed files with 23 additions and 10 deletions

View File

@@ -11,6 +11,15 @@ Feature: Reverse geocoding
| ID | country
| 0 | Deutschland
Scenario: Boundingbox is returned
Given the request parameters
| format | zoom
| xml | 4
When looking up coordinates 53.9788769,13.0830313
And results contain valid boundingboxes
@Tiger
Scenario: TIGER house number
Given the request parameters

View File

@@ -8,6 +8,7 @@ Feature: Search queries
And result 0 has attributes lat,lon,display_name
And result 0 has attributes class,type,importance,icon
And result 0 has not attributes address
And results contain valid boundingboxes
Scenario: Simple JSON search
When sending json search query "Vaduz"
@@ -15,6 +16,7 @@ Feature: Search queries
And result 0 has attributes osm_type,osm_id,boundingbox
And result 0 has attributes lat,lon,display_name,importance
And result 0 has not attributes address
And results contain valid boundingboxes
Scenario: JSON search with addressdetails
When sending json search query "Montevideo" with address